Project

General

Profile

Actions

Feature #33673

closed

Migrate host to new proxy

Added by Leos Stejskal about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Fixed in Releases:
Found in Releases:

Description

New API endpoint that generates bash code for host migration to new proxy.

In future this should be replacement for Foreman Bootstrap script new capsule [1].

User workflow
  • SSH to host
  • Run `curl --user admin:changeme "https://foreman.example.com/katello/api/hosts/change_proxy?smart_proxy_id=3&activation_keys=key1" | bash`
Script workflow
  • Clean the existing tools (katelo agent and so on ...)
  • Unregister & clean subscription data
  • Install / upgrade `subscription-manager`
  • Register host to new content source
  • Update host (host group, location, openscap proxy id)
Links

Related issues 1 (0 open1 closed)

Related to Katello - Feature #34211: Hosts - Change content sourceClosedLeos StejskalActions
Actions

Also available in: Atom PDF