Comment 19 for bug 1257644

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

Reviewed: https://review.openstack.org/60563
Committed: http://github.com/openstack/nova/commit/ea091907f1c9168494ec1c0ea875e55c71868996
Submitter: Jenkins
Branch: master

commit ea091907f1c9168494ec1c0ea875e55c71868996
Author: Matt Riedemann <email address hidden>
Date: Fri Dec 6 08:54:14 2013 -0800

    Fix UnboundLocalError in libvirt.driver._close_callback

    If for whatever reason _wrapped_conn is None or not equal to the conn
    parameter passed to the _close_callback method, the local _error
    variable won't be set when calling set_host_enabled and result in an
    UnboundLocalError.

    Partial-Bug: #1257644

    Change-Id: I40855f22d5449f3b3646c90fe2d9a71560eb86c4