Comment 13 for bug 1324041

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

Reviewed: https://review.openstack.org/160527
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b904b0b294211a0875ee2714137772f5ad4012c0
Submitter: Jenkins
Branch: stable/juno

commit b904b0b294211a0875ee2714137772f5ad4012c0
Author: Wangpan <email address hidden>
Date: Thu Nov 13 06:10:40 2014 +0000

    Compute: Catch binding failed exception while init host

    While compute starts it will init all instances,
    if an exception is raised from one instance
    (e.g NovaException during plug_vifs), then the
    compute process exits unexpectedly because of
    this unhandled exception.
    This commit changes the NovaException to more
    appropriate VirtualInterfacePlugException and
    catches it during init host, as well as the
    instance is set to error state, with this change
    the compute process can be started normally even
    if this VirtualInterfacePlugException is raised.

    Closes-bug: #1324041

    Conflicts:
     nova/tests/unit/compute/test_compute_mgr.py

    Change-Id: Ia584dba66affb86787e3069df19bd17b89cb5c49
    (cherry picked from commit 16ac50b1e760b7d20b840763b271a497b66ad5a5)