commit 79a90d37027b7ca131218e16eaee70d6d5152206
Author: Stephen Finucane <email address hidden>
Date: Wed Dec 19 16:03:22 2018 +0000
Handle unbound vif plug errors on compute restart
As with change Ia963a093a1b26d90b4de2e8fc623031cf175aece, we can
sometimes cache failed port binding information which we'll see on
startup. Long term, the fix for both issues is to figure out how this is
being cached and stop that happening but for now we simply need to allow
the service to start up.
To this end, we copy the approach in the aforementioned change and
implement a translation function in os_vif_util for unbound which
will make the plug_vifs code raise VirtualInterfacePlugException which
is what the _init_instance code in ComputeManager is already handling.
This has the same caveats as that change, namely that there may be
smarter ways to do this that we should explore. However, that change
also included a note which goes someway to explaining this.
Change-Id: Iaec1f6fd12dba8b11991b7a7595593d5c8b1db50
Signed-off-by: Stephen Finucane <email address hidden>
Related-bug: #1784579
Closes-bug: #1809136
(cherry picked from commit 1def76a1c49032d93ab6c7ee61dbbfe8e29cafca)
(cherry picked from commit bc0a5d0355311641daa87b46e311ae101f1817ad)
Reviewed: https:/ /review. openstack. org/626550 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=79a90d37027 b7ca131218e16ea ee70d6d5152206
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 79a90d37027b7ca 131218e16eaee70 d6d5152206
Author: Stephen Finucane <email address hidden>
Date: Wed Dec 19 16:03:22 2018 +0000
Handle unbound vif plug errors on compute restart
As with change Ia963a093a1b26d 90b4de2e8fc6230 31cf175aece, we can
sometimes cache failed port binding information which we'll see on
startup. Long term, the fix for both issues is to figure out how this is
being cached and stop that happening but for now we simply need to allow
the service to start up.
To this end, we copy the approach in the aforementioned change and ePlugException which
implement a translation function in os_vif_util for unbound which
will make the plug_vifs code raise VirtualInterfac
is what the _init_instance code in ComputeManager is already handling.
This has the same caveats as that change, namely that there may be
smarter ways to do this that we should explore. However, that change
also included a note which goes someway to explaining this.
Change-Id: Iaec1f6fd12dba8 b11991b7a759559 3d5c8b1db50 93ab6c7ee61dbbf e8e29cafca) 1daa87b46e311ae 101f1817ad)
Signed-off-by: Stephen Finucane <email address hidden>
Related-bug: #1784579
Closes-bug: #1809136
(cherry picked from commit 1def76a1c49032d
(cherry picked from commit bc0a5d035531164