Description of problem: Host registration takes 2 attempt using the same curl command after dmi_uuid of the satellite is changed. Version-Release number of selected component (if applicable): 6.14.0 How reproducible: Always Steps to Reproduce: 1.Create a custom dmi_uuid of the satellite and update it in /etc/rhsm/facts/uuid.facts 2.Register a host with satellite, it should be registered successfully. 3.Run "subscription-manager clean" on Satellite. 4.Create another custom dmi_uuid and and update it in /etc/rhsm/facts/uuid.facts. 5.Again try to register the host. Actual results: The registration fails while trying Step5 but when same curl command runs again, registration is successful. "yum-config-manager --enable <repo>\nHTTP error (422 - Unknown)" is observed when registration fails. Expected results: Registration should be successful in the first attempt only. Additional info:
Hi, I'm not able to reproduce the issue on RHEL 9 My steps: 1) Register host (curl -sS --insecure 'https://sat-stream.example.com/register?activation_keys=rhel9&location_id=2&organization_id=1&update_packages=false') 2) subscription-manager unregister // Here I want to mention that host stays in the Satellite. I thought that it should be also removed from the Satellite 3) echo "A4975AAF-AAAA-4713-AD55-49B23DAED77B" >> /etc/rhsm/facts/uuid.facts 4) Register the host with the same command Host is successfully registered to the Satellite