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.
Reviewed: https:/ /review. openstack. org/129158 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=16ac50b1e76 0b7d20b840763b2 71a497b66ad5a5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 16ac50b1e760b7d 20b840763b271a4 97b66ad5a5
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, ePlugException and ePlugException is raised.
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 VirtualInterfac
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 VirtualInterfac
Closes-bug: #1324041
Change-Id: Ia584dba66affb8 6787e3069df19bd 17b89cb5c49