Description of problem: Given a host that is using a different CV/LE than its hostgroup. When editing it, the hostgroups's default CV and LE are loaded. This behaviour is quite confusing as it makes people think that the updating is not successful after clicking on the submit button. Version-Release number of selected component (if applicable): 6.3.1 How reproducible: Easy Steps to Reproduce: 1. Create a hostgroup with a CV and LE 2. Create a host with the hostgroup 3. Edit the host with a different CV and LE 4. Check the editing host page again Actual results: On the editing host page, it shows the hostgroups's default CV and LE. Expected results: It should show the CV and LE that match the db entry.
Andrew, could this be a duplicate of bug 1566825 that you are investigating. I saw Samir's comment on the card: In 6.2 editing host env, cv triggers task Actions::Katello::Host::Update However, in 6.3 this task is not triggered. If that is the case, it may be the same cause.
I don't think it's related because the host record and content facet are properly updated in 1566825, but the Actions::Katello::Host::Update task (which updates backend services) isn't run, which causes `subscription-manager identity` on the host to give the old information.
Note: bug 1584226 may also be another duplicate.
Created redmine issue https://projects.theforeman.org/issues/24131 from this bug
*** This bug has been marked as a duplicate of bug 1564740 ***