Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33703 - [virt-manager] Not compatible with latest libvirt version

Attached to Project: Community Packages
Opened by Jonas Heinrich (onny) - Monday, 04 February 2013, 10:31 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 28 February 2013, 15:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
virt-manager is unable to connect to my remote KVM hosts anymore. It asks for a password but won't list the VMs as it usally does.

Additional info:
* package version(s)
libvirt 1.0.2-2
virt-manager 0.9.4-4

* config and/or log files etc.
http://pastebin.com/ddvpbA1e

Steps to reproduce:
- Start virt-manager (--debug)
- Connect to remote host running KVM (in my case a debian stable machine with qemu-kvm
0.12.5+dfsg-5+squeeze10)
- See debug log
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 28 February 2013, 15:09 GMT
Reason for closing:  None
Additional comments about closing:  libvirt bug
Comment by Sergej Pupykin (sergej) - Monday, 04 February 2013, 12:54 GMT
do you use the same libvirt versions on all machines?

I am able to connect remote libvirt host successfully.
Comment by Jonas Heinrich (onny) - Monday, 04 February 2013, 16:19 GMT
The libvirt version of the remote host is 0.8.3-5+squeeze2
Comment by Sergej Pupykin (sergej) - Monday, 04 February 2013, 17:13 GMT
I think it is probably the problem. Is it possible to upgrade libvirt on remote host?
Comment by PT. Ma. (BOYPT) - Tuesday, 05 February 2013, 02:19 GMT
Same problem.

Failed to list guests from my remote Ubuntu-12.04 KVM Host.

But another host running CentOS6 works fine with it. Is it a upstream compatible problem?
Comment by PT. Ma. (BOYPT) - Tuesday, 05 February 2013, 02:26 GMT
libvirt versions:

CentOS6: libvirt-0.9.10-21.el6_3.5.x86_64 [OK]
Ubuntu1204: libvirt0 0.9.8-2ubuntu17.5 [FAIL]

There's no backport for ubuntu1204 yet.

And it amazed me that it in CentOS is actually newer than in a recent UbuntuLTS.
Comment by PT. Ma. (BOYPT) - Tuesday, 05 February 2013, 02:51 GMT
libvirt0 0.9.8-2ubuntu17.7

Neither working
Comment by Oleg (pekmop1024) - Thursday, 07 February 2013, 03:38 GMT
debian squeeze with backports, libvirt0 0.9.12-6~bpo60+1 - fail
Comment by PT. Ma. (BOYPT) - Thursday, 07 February 2013, 05:25 GMT
[2012-08-23 10:29] upgraded virtinst (0.600.2-1 -> 0.600.3-1)
[2012-11-28 11:55] upgraded virt-manager (0.9.4-3 -> 0.9.4-4)
[2013-02-04 09:07] upgraded libvirt (1.0.1-2 -> 1.0.2-2)

virt-manager works fine with Ubuntu previously, the only package changed in this days is libvirt, so it's obvious that the bug is from libvirt.

I downloaded libvirt-1.0.1-4-x86_64.pkg.tar.xz from Arch Rollback Machine (http://arm.konnichi.com/community/os/x86_64/libvirt-1.0.1-4-x86_64.pkg.tar.xz ) and downgraded, now everything works just as good as before.
Comment by Jonas Heinrich (onny) - Monday, 11 February 2013, 16:05 GMT
This bug report might be related https://bugzilla.redhat.com/show_bug.cgi?id=909734

Could we backport these two patches until the next release?
Comment by Christof Musik (christof) - Friday, 15 February 2013, 19:07 GMT
Only one patch was needed, I will attach PKGBUILD and patch here.
Comment by Jonas Heinrich (onny) - Saturday, 16 February 2013, 09:42 GMT
Thank you christof. Alternatively you can also install libvirt-git from the AUR which also fixes this problem.
Comment by PT. Ma. (BOYPT) - Monday, 18 February 2013, 08:15 GMT
With libvirt 1.0.2-3, I still find similar error while connect to a CentOS6 KVM host, this time the error wasn't yielded on listing virtual machines, but on opening a machine windows, same report as "'module' object has no attribute 'VIR_ERR_ERROR'"

Loading...