Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-21285

Re-registering a host with --force does not change content source

XMLWordPrintable

    • 0
    • False
    • Moderate
    • Sprint 125, Sprint 126, Sprint 127, Sprint 128
    • sat-proton
    • None
    • None
    • None
    • None

      If you create a host that uses an external smart proxy as a content source, for example, and then register the host again using no content source (aka pulp primary), the content source won't actually be changed. This can cause errors during registration, like:

      Validation failed: Host centos9-stream.example.com: Cannot add content view environment to content facet. The host's content source 'centos8-proxy-devel.example.com' does not sync lifecycle environment 'Library'. (HTTP error code 422: Unprocessable Entity)

      My smart proxy didn't sync library, but the new activation key I was using was set to use library. This should work, so we need to make sure the content source is changed during re-registration.

              rhn-engineering-jlenz Jeremy Lenz
              jira-bugzilla-migration RH Bugzilla Integration
              Cole Higgins Cole Higgins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: