Hide Forgot
Currently the rake katello:clean_backend_objects does not remove the host if its uuid is nil on subscription-facet
Created from redmine issue http://projects.theforeman.org/issues/18972
Upstream bug assigned to jsherril
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18972 has been resolved.
Verified in Satellite 6.2.10 Snap 1. In the foreman-rake console run the following commands 1. sub = Host.find(ID).subscription_facet 2. sub.uuid = nil 3. sub.save Then run the rake command -bash-4.2# foreman-rake katello:clean_backend_objects COMMIT=true /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-0.1.43/app/models/concerns/satellite_packages.rb:4: warning: already initialized constant Katello::Ping::PACKAGES /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.134/app/models/katello/ping.rb:7: warning: previous definition of PACKAGES was here Host 2 docker2 is partially missing. Un-registering Host 3 docker3 is partially missing. Un-registering Host 5 docker4 is partially missing. Un-registering Host 108 docker108 is partially missing. Un-registering 1 orphaned consumer id(s) found. When visiting the content host page for that host, you see the following message: "This Host is not currently registered with subscription-manager. Click here for registration information."
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1553