[virt-tools-list] virt-manager fails to start after upgrade of libvirt

Cole Robinson crobinso at redhat.com
Sun Nov 16 20:22:35 UTC 2014


I just tried with libvirt-python as distributed with fedora:

$ python -c 'import libvirt; print hasattr(libvirt, "VIR_DOMAIN_BLOCKED")'
True
$ rpm -q libvirt-python
libvirt-python-1.2.10-1.fc21.x86_64

virt-manager worked fine as well. So I'm guessing this is a gentoo or local 
config issue, could be a libvirt build problem too that's just tickled by your 
environment, but nothing is fundamentally broke AFAICT

- Cole

On 11/15/2014 01:00 PM, Christoph Spielmann wrote:
> Hi,
>
> Yes libvirt-python was updated as well and as libvirt was updated
> libvirt-glib was recompiled too... Downgrading libvirt to 1.2.9 helped
> (even when i used libvirt-python 1.2.10 in conjunction with it)
>
> Am 15.11.2014 um 18:51 schrieb Cole Robinson:
>> On 11/15/2014 02:26 AM, Christoph Spielmann wrote:
>>> Hi,
>>>
>>> Yesterday i upgraded libvirt to version 1.2.10 and now i get the
>>> following exception when i try to start virt-manager:
>>>
>>> virt-manager --debug
>>> [Sa, 15 Nov 2014 08:17:22 virt-manager 11606] DEBUG (cli:187) Launched
>>> with command line: /usr/share/virt-manager/virt-manager --debug
>>> [Sa, 15 Nov 2014 08:17:22 virt-manager 11606] DEBUG (virt-manager:148)
>>> virt-manager version: 1.1.0
>>> [Sa, 15 Nov 2014 08:17:22 virt-manager 11606] DEBUG (virt-manager:149)
>>> virtManager import: <module 'virtManager' from
>>> '/usr/share/virt-manager/virtManager/__init__.py'>
>>> [Sa, 15 Nov 2014 08:17:22 virt-manager 11606] DEBUG (virt-manager:207)
>>> GTK version: 3.12.2
>>> [Sa, 15 Nov 2014 08:17:22 virt-manager 11606] DEBUG (virt-manager:47)
>>> Error starting virt-manager: 'module' object has no attribute
>>> 'VIR_DOMAIN_BLOCKED'
>>> Traceback (most recent call last):
>>>     File "/usr/share/virt-manager/virt-manager", line 274, in <module>
>>>       main()
>>>     File "/usr/share/virt-manager/virt-manager", line 226, in main
>>>       from virtManager.engine import vmmEngine
>>>     File "/usr/share/virt-manager/virtManager/engine.py", line 36, in
>>> <module>
>>>       from virtManager.clone import vmmCloneVM
>>>     File "/usr/share/virt-manager/virtManager/clone.py", line 30, in
>>> <module>
>>>       from virtManager.storagebrowse import vmmStorageBrowser
>>>     File "/usr/share/virt-manager/virtManager/storagebrowse.py", line 26,
>>> in <module>
>>>       from virtManager import host
>>>     File "/usr/share/virt-manager/virtManager/host.py", line 33, in
>>> <module>
>>>       from virtManager.connection import vmmConnection
>>>     File "/usr/share/virt-manager/virtManager/connection.py", line 38, in
>>> <module>
>>>       from virtManager.domain import vmmDomain
>>>     File "/usr/share/virt-manager/virtManager/domain.py", line 41, in
>>> <module>
>>>       libvirt.VIR_DOMAIN_BLOCKED: "state_running",
>>> AttributeError: 'module' object has no attribute 'VIR_DOMAIN_BLOCKED'
>>> Traceback (most recent call last):
>>>     File "/usr/share/virt-manager/virt-manager", line 274, in <module>
>>>       main()
>>>     File "/usr/share/virt-manager/virt-manager", line 226, in main
>>>       from virtManager.engine import vmmEngine
>>>     File "/usr/share/virt-manager/virtManager/engine.py", line 36, in
>>> <module>
>>>       from virtManager.clone import vmmCloneVM
>>>     File "/usr/share/virt-manager/virtManager/clone.py", line 30, in
>>> <module>
>>>       from virtManager.storagebrowse import vmmStorageBrowser
>>>     File "/usr/share/virt-manager/virtManager/storagebrowse.py", line 26,
>>> in <module>
>>>       from virtManager import host
>>>     File "/usr/share/virt-manager/virtManager/host.py", line 33, in
>>> <module>
>>>       from virtManager.connection import vmmConnection
>>>     File "/usr/share/virt-manager/virtManager/connection.py", line 38, in
>>> <module>
>>>       from virtManager.domain import vmmDomain
>>>     File "/usr/share/virt-manager/virtManager/domain.py", line 41, in
>>> <module>
>>>       libvirt.VIR_DOMAIN_BLOCKED: "state_running",
>>> AttributeError: 'module' object has no attribute 'VIR_DOMAIN_BLOCKED'
>>>
>>> A reinstall of virt-manager (version 1.1.0) does not help, already tried
>>> that... The  dist i am using is Gentoo. Any idea what could be wrong
>>> here?
>>>
>>
>> Is libvirt-python updated as well?
>>
>> - Cole
>>
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
>




More information about the virt-tools-list mailing list