Bug 1152414

Summary: Failed to start virt-who service in rhevh 6.6 for rhev 3.5 build
Product: Red Hat Enterprise Virtualization Manager Reporter: Ying Cui <ycui>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.5.0CC: aberezin, cshao, ecohen, fdeutsch, gklein, gxing, hadong, huiwa, iheim, ldai, leiwang, liliu, lsurette, rbarry, rnovacek, security-response-team, shihliu, yaniwang, ycui
Target Milestone: ---Keywords: Security, TestBlocker
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 21:04:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ying Cui 2014-10-14 06:21:34 UTC
Description:
# /etc/init.d/virt-who start
Starting virt-who: /usr/bin/python: can't open file '/usr/share/virt-who/virtwho.py': [Errno 2] No such file or directory
                                                           [FAILED]

Test Steps:
1. installed RHEV-H 6.6 for 3.5 successful.
2. Check virt-who status, virt-who service is stop.
3. run cmd manually to start virt-who service, failed.

# /etc/init.d/virt-who status
virt-who is stopped
# /etc/init.d/virt-who start
Starting virt-who: /usr/bin/python: can't open file '/usr/share/virt-who/virtwho.py': [Errno 2] No such file or directory
                                                           [FAILED]
# rpm -qa|grep virt-who
virt-who-0.10-8.el6.noarch

Test version
virt-who-0.10-8.el6.noarch
rhev-hypervisor6-6.6-20141008.0.iso
ovirt-node-3.1.0-0.22.20141010git96b7ca3.el6

Actual result:
virt-who service is stop after rhevh installation.

expected result:
virt-who service should run as default after rhevh installation.

Note: this bug is testblocker as it block entitlement QE testing.

Comment 2 Ying Cui 2014-10-29 13:58:18 UTC
this bug occur on rhevh 6.6 for 3.4.z too, to get fresh info for such issue on rhevh 6.6 for 3.4.z, I open new rhevh 6.6 for 3.4.z bug 1158497

Comment 3 Ying Cui 2014-11-10 08:28:51 UTC
Patch 34413 merged yet, but still encounter this bug on rhevh build, so assgined it.
rhev-hypervisor6-6.6-20141107.0.iso
ovirt-node-3.1.0-0.25.20141107gitf6dc7b9.el6
ovirt-node-recipe-3.1.0-0.25.20141107gitf6dc7b9.el6.noarch.rpm

# /etc/init.d/virt-who start
Starting virt-who: /usr/bin/python: can't open file '/usr/share/virt-who/virtwho.py': [Errno 2] No such file or directory
                                                           [FAILED]

Comment 4 Fabian Deutsch 2014-11-11 09:56:55 UTC
Added another patch which is also needed.

Comment 5 Ying Cui 2014-11-24 10:03:45 UTC
# /etc/init.d/virt-who status
virt-who (pid  16241) is running...
# rpm -qa|grep ovirt-node
ovirt-node-3.1.0-0.27.20141119git24e087e.el6.noarch
# rpm -qa|grep virt-who
virt-who-0.10-8.el6.noarch
# cat /etc/system-release
Red Hat Enterprise Virtualization Hypervisor release 6.6 (20141119.0.el6ev)


virt-who service is running as default after rhevh installation.

So this bug is fixed.

After this bug change to ON_QA, I will make it as 'VERIFIED' status.

Comment 6 Ying Cui 2014-12-15 09:11:19 UTC
according to comment 5, change it to VERIFIED.

Comment 9 errata-xmlrpc 2015-02-11 21:04:08 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.

https://rhn.redhat.com/errata/RHEA-2015-0160.html