Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 975340 - RHEV-M and HYPER-V mode missed in virt-who default configure file
RHEV-M and HYPER-V mode missed in virt-who default configure file
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-who (Show other bugs)
5.10
Unspecified Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Radek Novacek
Entitlement Bugs
: Rebase
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-18 03:21 EDT by gaoshang
Modified: 2016-11-30 19:31 EST (History)
4 users (show)

See Also:
Fixed In Version: virt-who-0.9-1.el5
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
no docs needed
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-09-15 20:29:14 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1206 normal SHIPPED_LIVE virt-who bug fix and enhancement update 2014-09-16 00:16:42 EDT

  None (edit)
Description gaoshang 2013-06-18 03:21:45 EDT
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:
Comment 1 Radek Novacek 2013-06-18 03:30:32 EDT
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
Comment 3 Radek Novacek 2014-03-13 09:42:00 EDT
virt-who has been rebased to version 0.9 that supports both rhev-m and hyper-v modes.
Comment 5 Liushihui 2014-04-24 04:20:51 EDT
verified it on virt-who-0.9-2.el5
Comment 7 errata-xmlrpc 2014-09-15 20:29:14 EDT
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

Note You need to log in before you can comment on or make changes to this bug.