hello,
Even if virt-who package has been modified by centos, it still depends on rhsm, which is not in the repository (but is in upstream).
The service can't start without this lib :
[root@pc-usb ~]# service virt-who start
Démarrage de virt-who : Traceback (most recent call last):
File "/usr/share/virt-who/virt-who.py", line 33, in
from subscriptionmanager import SubscriptionManager, SubscriptionManagerError
File "/usr/share/virt-who/subscriptionmanager.py", line 24, in
import rhsm.connection as rhsm_connection
ImportError: No module named rhsm.connection
[FAILED]
What is the best practice to deal with this issue ? Is it a bug ? Do I have to get python-rhsm manually ?
Thanks
centos 6.4 service virt-who won't start without python-rhsm
centos 6.4 service virt-who won't start without python-rhsm
Please go ahead and file a bug report at http://bugs.centos.org .
Re: centos 6.4 service virt-who won't start without python-rhsm
I have been doing upgrades to each Centos 6 version from 6.0 to 6.4, but never got this message. Today I did a direct install of 6.4 and got this message at boot. I see it is still an active bug; do I basically just wait until it gets fixed?
Re: centos 6.4 service virt-who won't start without python-rhsm
Starting virt-who: Traceback (most recent call last):
File "/usr/share/virt-who/virt-who.py", line 33, in
from subscriptionmanager import SubscriptionManager, SubscriptionManagerError
File "/usr/share/virt-who/subscriptionmanager.py", line 24, in
import rhsm.connection as rhsm_connection
ImportError: No module named rhsm.connection
[FAILED]
Starting libvirtd daemon: [ OK ]
Same behavior in kernel 2.6.32-358.18.1.el6.x86_64 with all updates applied.
File "/usr/share/virt-who/virt-who.py", line 33, in
from subscriptionmanager import SubscriptionManager, SubscriptionManagerError
File "/usr/share/virt-who/subscriptionmanager.py", line 24, in
import rhsm.connection as rhsm_connection
ImportError: No module named rhsm.connection
[FAILED]
Starting libvirtd daemon: [ OK ]
Same behavior in kernel 2.6.32-358.18.1.el6.x86_64 with all updates applied.
Re: centos 6.4 service virt-who won't start without python-rhsm
The real problem is that the virt-who package is useless on CentOS since it
[quote]
Description : Agent that collects information about virtual guests present in the system and
: report them to the subscription manager.
[/quote]
and there is no "subscription manager" on CentOS, that's a RHN licensing thing. So the real answer is `yum remove virt-who`
[quote]
Description : Agent that collects information about virtual guests present in the system and
: report them to the subscription manager.
[/quote]
and there is no "subscription manager" on CentOS, that's a RHN licensing thing. So the real answer is `yum remove virt-who`
Re: centos 6.4 service virt-who won't start without python-rhsm
[quote]
There is no "subscription manager" on CentOS, that's a RHN licensing thing. So the real answer is `yum remove virt-who`[/quote]
Thanks for that explanation and fix.
There is no "subscription manager" on CentOS, that's a RHN licensing thing. So the real answer is `yum remove virt-who`[/quote]
Thanks for that explanation and fix.