Bug 975340 - RHEV-M and HYPER-V mode missed in virt-who default configure file
Summary: RHEV-M and HYPER-V mode missed in virt-who default configure file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-who
Version: 5.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Radek Novacek
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-18 07:21 UTC by gaoshang
Modified: 2016-12-01 00:31 UTC (History)
4 users (show)

Fixed In Version: virt-who-0.9-1.el5
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
no docs needed
Clone Of:
Environment:
Last Closed: 2014-09-16 00:29:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1206 0 normal SHIPPED_LIVE virt-who bug fix and enhancement update 2014-09-16 04:16:42 UTC

Description gaoshang 2013-06-18 07:21:45 UTC
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 07:30:32 UTC
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 13:42:00 UTC
virt-who has been rebased to version 0.9 that supports both rhev-m and hyper-v modes.

Comment 5 Liushihui 2014-04-24 08:20:51 UTC
verified it on virt-who-0.9-2.el5

Comment 7 errata-xmlrpc 2014-09-16 00:29:14 UTC
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.