Comment 6 for bug 1360119

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

Reviewed: https://review.openstack.org/122721
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2418a9dce86280fbf269f68f7d7c9b739f662ef1
Submitter: Jenkins
Branch: master

commit 2418a9dce86280fbf269f68f7d7c9b739f662ef1
Author: Daniel P. Berrange <email address hidden>
Date: Fri Sep 19 13:41:54 2014 +0100

    libvirt: avoid changing UUID when redefining nwfilters

    libvirt >= 1.2.7 enforces that when you re-define a network
    filter you can't change the UUID. ie name + uuid must match.
    Since Nova was not including any UUID in the XML it sent, it
    would always get a random UUID generated, which would cause
    failures when re-defining an existing filter. The result
    was that Nova would fail to start up and fail to migrate
    if there was an existing guest running. The fix is to query
    libvirt to see if the nwfilter already exists, and extract
    the UUID from its XML and use that when re-defining it.

    Closes-bug: #1360119
    Change-Id: I9d4b2c6c8f0c9a23ed79ed8e0b5ac0d4418851a4