Comment 6 for bug 1414708

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

Reviewed: https://review.openstack.org/150148
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=50861d3221f625a5cc589d903054bb2c440b4026
Submitter: Jenkins
Branch: master

commit 50861d3221f625a5cc589d903054bb2c440b4026
Author: Matt Riedemann <email address hidden>
Date: Mon Jan 26 13:12:52 2015 -0800

    libvirt: update uri_whitelist in fakelibvirt.Connection

    Commit 4b9bec3a1c819e7006af6bfa1de6928bde91b2c7 removed the mocking of
    nova.virt.libvirt.host.Host.get_connection to use fakelibvirt instead,
    but if you don't have libvirt-python in your venv the tests fail, so
    fakelibvirt in it's current form wasn't actually working for all tests.

    This change updates the uri_whitelist in the init method of the
    fakelibvirt Connection class to add some other URIs found in other parts
    of the libvirt code (the LibvirtDriver.uri static method).

    Removes the unnecessary 'xen:///system' whitelisted URI.

    Since libvirt-python is no longer needed to run the libvirt driver
    unit tests, it's removed from test-requirements.txt.

    Closes-Bug: #1414708

    Change-Id: Id7aefe9bf21dc3d0e2db42e668faf28e926aea43