Bug #30427
closedHost errata status not refresh after CV publish/promote
Description
Clone from https://bugzilla.redhat.com/show_bug.cgi?id=1858145
Description of problem:
Bug 1699786 fixed the host errata count after publishing/promoting a CV but the hosts' errata status are not recalculated.
Steps to Reproduce:
1. Go to Web UI -> Administer -> Settings -> Content -> Installable errata from Content View -> Yes
2. To simulate a host has updated errata, you can make use of CV filtering to exclude all the ET from the CV
3. Register a host to the CV and enable repos.
4. Ensure the host has green status flag. Hosts -> hostname page -> Errata status shows "All errata applied"
5. Remove the exclude filter from the CV and then publish a new version.
6. Revisit the host page.
Actual results:
Errata status still showing "All Errata applied" even the host has some installable errata
Expected results:
Update Errata status