Description of problem: In virt-who configure file /etc/sysconfig/virt-who, RHEV-M and HYPER-V mode missed. Version-Release number of selected component (if applicable): [root@dhcp12-131 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.10 Beta (Tikanga) [root@dhcp12-131 ~]# rpm -qa | grep virt-who virt-who-0.7-9.el5 How reproducible: always Steps to Reproduce: 1. Install latest RHEL5.10 Server x86_64 2. Check virt-who configure file in /etc/sysconfig/virt-who Actual results: RHEV-M and HYPER-V mode missed: [root@dhcp12-131 ~]# cat /etc/sysconfig/virt-who # Enviromental variables for virt-who service can be specified here. # # These enviromental variables are only used when starting virt-who as service, # otherwise you must specify them manually. # Start virt-who on background, perform doublefork and monitor for virtual guest # events (if possible). It is NOT recommended to turn off this option for # starting virt-who as service. VIRTWHO_BACKGROUND=1 # Enable debugging output. VIRTWHO_DEBUG=0 # Send the list of guest IDs and exit immediately. #VIRTWHO_ONE_SHOT=0 # Acquire and send list of virtual guest each N seconds, 0 means default # configuration. #VIRTWHO_INTERVAL=0 # virt-who mode, enable only one option from following 3: # Use libvirt to list virtual guests [default] #VIRTWHO_LIBVIRT=1 # Use vdsm to list virtual guests #VIRTWHO_VDSM=0 # Register ESX machines using vCenter #VIRTWHO_ESX=0 # Option for ESX mode #VIRTWHO_ESX_OWNER= #VIRTWHO_ESX_ENV= #VIRTWHO_ESX_SERVER= #VIRTWHO_ESX_USERNAME= #VIRTWHO_ESX_PASSWORD= Expected results: [root@hp-z220-06 ~]# cat /etc/sysconfig/virt-who # Enviromental variables for virt-who service can be specified here. # # These enviromental variables are only used when starting virt-who as service, # otherwise you must specify them manually. # Start virt-who on background, perform doublefork and monitor for virtual guest # events (if possible). It is NOT recommended to turn off this option for # starting virt-who as service. VIRTWHO_BACKGROUND=1 # Enable debugging output. VIRTWHO_DEBUG=0 # Send the list of guest IDs and exit immediately. #VIRTWHO_ONE_SHOT=0 # Acquire and send list of virtual guest each N seconds, 0 means default # configuration. #VIRTWHO_INTERVAL=0 # virt-who mode, enable only one option from following 5: # Use libvirt to list virtual guests [default] #VIRTWHO_LIBVIRT=1 # Use vdsm to list virtual guests #VIRTWHO_VDSM=0 # Register ESX machines using vCenter #VIRTWHO_ESX=0 # Register guests using RHEV-M #VIRTWHO_RHEVM=0 # Register guest using Hyper-V #VIRTWHO_HYPERV=0 # Option for ESX mode #VIRTWHO_ESX_OWNER= #VIRTWHO_ESX_ENV= #VIRTWHO_ESX_SERVER= #VIRTWHO_ESX_USERNAME= #VIRTWHO_ESX_PASSWORD= # Options for RHEV-M mode #VIRTWHO_RHEVM_OWNER= #VIRTWHO_RHEVM_ENV= #VIRTWHO_RHEVM_SERVER= #VIRTWHO_RHEVM_USERNAME= #VIRTWHO_RHEVM_PASSWORD= # Options for HYPER-V mode #VIRTWHO_HYPERV_OWNER= #VIRTWHO_HYPERV_ENV= #VIRTWHO_HYPERV_SERVER= #VIRTWHO_HYPERV_USERNAME= #VIRTWHO_HYPERV_PASSWORD= Additional info:
This has been fixed in 0.8 release of virt-who. It also contains a lot of fixes that will be nice to have. I suggest to do a rebase in RHEL-5.11
virt-who has been rebased to version 0.9 that supports both rhev-m and hyper-v modes.
verified it on virt-who-0.9-2.el5
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. http://rhn.redhat.com/errata/RHBA-2014-1206.html