Test Program
# cat test.py
#!/usr/bin/python
import libvirt
import sys
conn = libvirt.openReadOnly(None)
if conn == None:
print 'Failed to open connection to the hypervisor'
sys.exit(1)
try:
allinfo = conn.getAllDomainStats()
except:
print 'Failed getAllDomainStats'
print "past conn.getAllDomainStats"
print allinfo
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1731482
Title:
outdated version of libvirt-python 1.3.1 crashes on call to
getAllDomainStats
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs