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 #1

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9713 added
Actions #2

Updated by Andrew Dewar about 3 years ago

  • Target version set to Katello 4.3.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/Katello/katello/pull/9756 added
Actions #4

Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/Katello/katello/pull/9780 added
Actions #5

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases Katello 4.4.0 added
Actions #6

Updated by Anonymous almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Leos Stejskal almost 3 years ago

Actions

Also available in: Atom PDF