Actions
Bug #37162
closedUpdate Checkin time for ESXi hypervisors from virt-who report
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Description
- What are the changes introduced in this pull request?
- When the hypervisors checkin from a `virt-who` report we call the method `update_hosts` which calls `update_subscripiton_facet`
- In `update_subscripiton_facet` we were not declaring the checkin time. We only created a fake subscription_facet for an ESXi host on initial checkin and creation
- Since ESXi does not have `rhsmcertd` running, it cannot check in like a RHEL host can and update its own `subscription_facet`
- This makes sure each time we get a report from virt-who we make sure the checkin time in the UI reflects when the report was recieved
- Considerations taken when implementing this change?
- N/A
- What are the testing steps for this pull request?
- Either install virt-who configure plugin either by adding it to forklift in extra plugins, or cloning the repo, adding to bundler.d in the foreman directory and then doing a db:migrate db:seed or spin up a stream box with Beaker
- Check out PR
- Create a config for VMware (Ping me for creds) set it for an hour
- Run the deploy scripts for each one, verify that each report updates in the UI
- Check the UI to make sure the checkin time reflects correctly
- Check on it for a few hours with virt-who running on your box and see if you notice it keeping up with the checkin
Actions