centos 6.4 service virt-who won't start without python-rhsm
Posted: 2013/03/27 10:37:58
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
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