Project

General

Profile

Actions

Bug #37162

closed

Update Checkin time for ESXi hypervisors from virt-who report

Added by Chris Roberts 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Fixed in Releases:
Found in Releases:

Description

  1. 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
  1. Considerations taken when implementing this change?
  • N/A
  1. 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 #1

Updated by Chris Roberts 10 months ago

  • Bugzilla link set to 2008252
Actions #2

Updated by The Foreman Bot 10 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10887 added
Actions #3

Updated by Jeremy Lenz 10 months ago

  • Target version changed from Katello 4.12.0 to Katello 4.13.0
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot 10 months ago

  • Fixed in Releases Katello 4.13.0 added
Actions #5

Updated by Chris Roberts 10 months ago

  • Status changed from Ready For Testing to Closed
  • Difficulty set to trivial
Actions #6

Updated by The Foreman Bot 10 months ago

  • Pull request https://github.com/Katello/katello/pull/10896 added
Actions

Also available in: Atom PDF