Red Hat Bugzilla – Bug 1168122
virt-who incorrectly says that VM is from 'None' hypervisor
Last modified: 2016-11-30 19:33:44 EST
Copied from bug 1158859#c6: But we have another problem introduced with this update: ** In the previous version of virt-who (virt-who-0.8-15.el7_0.noarch), the hypervisors were named according to their type - e.g. "esx hypervisor ABCDE..." and "rhevm hypervisor FGHIJ...". Please see the name below - "esx hypervisor 30303...." and the attachment "virt-who-0.8-15.el7.png" for their naming convention in Satellite 5 GUI. ----8<---------- DEBUG: Sending plan: [[0, 'exists', 'system', {'uuid': '0000000000000000', 'identity': 'host'}], [0, 'crawl_began', 'system', {}], [0, 'exists', 'domain', {'state': 'running', 'memory_size': 0, 'name': u'VM from esx hypervisor 30303734-3536-5a43-3233-303130364c34' ... ----8<---------- ** When using this new version (virt-who-0.11-4.el7.noarch.rpm) both esx and rhevm hypervisors are named as "None hypervisor". Again, please see name below - "None hypervisor 30303...." and the attachment "virt-who-0.11-4.el7.png" for their naming convention in Satellite 5 GUI. ----8<---------- DEBUG: Sending plan: [[0, 'exists', 'system', {'uuid': '0000000000000000', 'identity': 'host'}], [0, 'crawl_began', 'system', {}], [0, 'exists', 'domain', {'state': 'running', 'memory_size': 0, 'name': u'VM from None hypervisor 30303734-3536-5a43-3233-303130364c34' ----8<----------
Fix for this issue has been applied upstream: https://git.fedorahosted.org/cgit/virt-who.git/commit/?id=2a44c5e74487f454ee3140231edcab9c946522d2
Hi, I've tested the git version, both issues seems fixed - thanks...
Fixed in virt-who-0.11-5.el7.
Verify it on virt-who-0.11-5.el7. Version-Release number of selected component (if applicable): [root@hp-z220-04 virt-who]# rpm -q virt-who virt-who-0.11-5.el7.noarch Verify process: 1.Register to satellite5.6/Satellite6.10 2.Configure virt-who run at esx mode: # cat /etc/sysconfig/virt-who VIRTWHO_DEBUG=1 VIRTWHO_BACKGROUND=1 VIRTWHO_INTERVAL=10 VIRTWHO_SATELLITE=1 VIRTWHO_ESX=1 VIRTWHO_ESX_OWNER=ACME_Corporation VIRTWHO_ESX_ENV=Library VIRTWHO_ESX_SERVER=10.66.78.75 VIRTWHO_ESX_USERNAME=Administrator@vsphere.local VIRTWHO_ESX_PASSWORD=qwer1234P! VIRTWHO_SATELLITE_SERVER=http://10.66.128.29/XMLRPC VIRTWHO_SATELLITE_USERNAME=admin VIRTWHO_SATELLITE_PASSWORD=admin # service virt-who restart 3. Open satellite web UI, it can show esx hypervisor type under system-->Physical Systems/Virtual Systems "esx hypervisor aee4ff00-8c33-11e2-994a-6c3be51d959a"
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0430.html