Bug 1152947 - Virt-who daemon didn't running as default after RHEV-H 7.0 is installed.
Summary: Virt-who daemon didn't running as default after RHEV-H 7.0 is installed.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 3.5.0
Assignee: Anatoly Litovsky
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks: rhevh-7.0
TreeView+ depends on / blocked
 
Reported: 2014-10-15 09:07 UTC by cshao
Modified: 2016-02-10 20:08 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-11 21:04:28 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:0160 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2015-02-12 01:34:52 UTC
oVirt gerrit 34705 0 master MERGED Fixing the virt who deamon starting Never
oVirt gerrit 35022 0 master ABANDONED removing some extra spaces that were breaking systemd and virt-who Never
oVirt gerrit 35037 0 master MERGED removing the if on virt-who pyc use and triming the /usr/bin/virt-who Never

Internal Links: 1162049

Description cshao 2014-10-15 09:07:07 UTC
Description of problem:
Virt-who daemon didn't running as default after RHEV-H 7.0 is installed.

# systemctl status virt-who
virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager
   Loaded: loaded (/usr/lib/systemd/system/virt-who.service; disabled)
   Active: inactive (dead)

[root@dhcp-8-231 admin]# systemctl restart virt-who
[root@dhcp-8-231 admin]# systemctl status virt-who
virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager
   Loaded: loaded (/usr/lib/systemd/system/virt-who.service; disabled)
   Active: active (running) since Wed 2014-10-15 06:53:33 UTC; 3s ago
  Process: 4790 ExecStart=/usr/bin/virt-who -b (code=exited, status=0/SUCCESS)
 Main PID: 4796 (python)
   CGroup: /system.slice/virt-who.service
           └─4796 /usr/bin/python /usr/share/virt-who/virt-who.pyc -b


Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141006.0.el7ev
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch.rpm
virt-who-0.8-12.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHEVH 7.0 and configure network.
2. Check Virt-who daemon.
3.

Actual results:
Virt-who daemon didn't running as default after RHEV-H 7.0 is installed.

Expected results:
Virt-who daemon is running as default after RHEV-H 7.0 is installed.

Additional info:

Comment 1 Fabian Deutsch 2014-10-30 21:49:59 UTC
Tolik, could you please check if this is maybe a dupe of bug 1152414 ?

Comment 2 Anatoly Litovsky 2014-10-31 06:16:47 UTC
This bug is mostly systemd mess . 
The 1152414 is sometings else since 6.6 dont go systemd ways.

Comment 4 Liushihui 2014-11-12 07:11:57 UTC
In the rhev-hypervisor7-7.0-20141107.0.el7ev, After install rhevh successfully, then add it to rhevm3.5, Virt-who daemon not only can't running as default but also failed to start by manual..

Version-Release number of selected component (if applicable):
vdsm-4.16.7.3-1.el7ev.x86_64
ovirt-node-3.1.0-0.25.20141107gitf6dc7b9.el7.noarch
virt-who-0.8-12.el7.noarch

[root@hp-z220-03 ~]# systemctl start virt-who
Job for virt-who.service failed. See 'systemctl status virt-who.service' and 'journalctl -xn' for details.
[root@hp-z220-03 ~]# service virt-who status
Redirecting to /bin/systemctl status  virt-who.service
virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager
   Loaded: loaded (/usr/lib/systemd/system/virt-who.service; disabled)
   Active: failed (Result: exit-code) since Wed 2014-11-12 06:22:44 UTC; 6s ago
  Process: 4516 ExecStart=/usr/bin/virt-who -b (code=exited, status=2)

Nov 12 06:22:44 hp-z220-03.qe.lab.eng.nay.redhat.com virt-who[4516]: /usr/bin/python: can't open file '/usr/share/virt-who/virt-who....ctory
Nov 12 06:22:44 hp-z220-03.qe.lab.eng.nay.redhat.com systemd[1]: virt-who.service: control process exited, code=exited status=2
Nov 12 06:22:44 hp-z220-03.qe.lab.eng.nay.redhat.com systemd[1]: Failed to start Daemon for reporting virtual guest IDs to subscript...ager.
Nov 12 06:22:44 hp-z220-03.qe.lab.eng.nay.redhat.com systemd[1]: Unit virt-who.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

Comment 8 cshao 2014-12-18 06:55:35 UTC
Test version:
rhev-hypervisor7-7.0-20141212.0.iso
ovirt-node-3.1.0-0.34.20141210git0c9c493.el7.noarch

Test steps:
1. Install RHEVH 7.0 and configure network.
2. Check Virt-who daemon.

Test result:
Virt-who daemon is running as default after RHEV-H 7.0 is installed.

#  systemctl status virt-who
virt-who.service - Daemon for reporting virtual guest IDs to subscription-manager
   Loaded: loaded (/usr/lib/systemd/system/virt-who.service; enabled)
   Active: active (running) since Thu 2014-12-18 06:34:13 UTC; 19min ago
  Process: 1574 ExecStart=/usr/bin/virt-who -b (code=exited, status=0/SUCCESS)
 Main PID: 1622 (python)
   CGroup: /system.slice/virt-who.service
           └─1622 /usr/bin/python /usr/share/virt-who/virt-who.pyc -b

So the bug is fixed with above build now, change bug status to VERIFIED.

Comment 10 errata-xmlrpc 2015-02-11 21:04:28 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


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