Bug #19334
closedvirt-who daemon not reporting status back to Satellite at regular intervals
Description
I used the virt-who plugin to configure a libvirt host. The initial check-in worked and the UI Dashboard showed that the report arrived. Its been 2 hours since (the daemon is configured to report every 2 hours) and the next report didnt come in yet. The UI reports in RED as expected but the virt-who deamon is running and not sure why the new report hasnt come in yet.
plugin version: tfm-rubygem-foreman_virt_who_configure-0.0.2-1.fm1_15.git.693.e44cfd3.el7.noarch
Updated by Marek Hulán about 7 years ago
I checked your instance. I see there were regular runs until certain point in time. Then not more "Hypervisors" tasks were created so it's very likely that the virt-who does not run. Looking at the virt-who log, I see
dub 20 18:11:43 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending dub 20 20:11:44 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending dub 20 22:11:45 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending dub 21 00:11:45 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending dub 21 02:11:46 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending dub 21 04:11:47 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending dub 21 06:11:47 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending dub 21 08:11:48 fqdn /usr/bin/virt-who[7370]: [INFO] @executor.py:255 - Report for config "virt-who-config-2" hasn't changed, not sending
so it seems virt-who does not contact Satellite if there was no change on hypervisor. In such case we consider this as out of date :-(
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman_virt_who_configure/pull/50 added
Updated by The Foreman Bot almost 7 years ago
- Pull request https://github.com/theforeman/foreman_virt_who_configure/pull/51 added
Updated by Marek Hulán almost 7 years ago
- Status changed from New to Ready For Testing
Updated by Marek Hulán almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_virt_who_configure|4895ad72c6e66984f8175c55237b2c04d9dddfb0.