Comment 3 for bug 1076527

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/15662
Committed: http://github.com/openstack/nova/commit/0406d1f85fa93db4e4d5ab8b37d298951d4c4193
Submitter: Jenkins
Branch: master

commit 0406d1f85fa93db4e4d5ab8b37d298951d4c4193
Author: Christian Berendt <email address hidden>
Date: Thu Nov 8 20:41:07 2012 +0100

    make diagnostics workable for libvirt with Xen

    When using "diagnostics" with libvirt as driver on nova-compute
    and Xen as hypervisor the call to domain.memoryStats() in
    get_diagnostics() doesn't fail with a libvirt.libvirtError,
    but with an AttributeError. This exception should be catched, too.

    The method virDomainMemoryStats is not implemented in libvirt
    for Xen.

    fixes bug 1076527

    Change-Id: I16645654b346e3c40ff3dd63f20600c802cbeb3f