nova/nova/compute
Stephen Finucane 79a90d3702 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 <sfinucan@redhat.com>
Related-bug: #1784579
Closes-bug: #1809136
(cherry picked from commit 1def76a1c4)
(cherry picked from commit bc0a5d0355)
2018-12-20 11:15:45 +00:00
..
monitors Remove translation of log messages 2017-06-09 09:06:16 +00:00
__init__.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
api.py Merge "Enforce case-sensitive hostnames in aggregate host add" into stable/queens 2018-10-01 21:44:18 +00:00
build_results.py Compute Add build_instance hook in compute manager 2014-12-04 10:12:00 -05:00
cells_api.py Fix missing marker functions 2018-01-25 03:37:48 +00:00
claims.py [Trivial] docstrings, typos, minor refactoring 2017-08-28 08:33:58 -05:00
flavors.py Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
instance_actions.py Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
instance_list.py Split instance_list into instance and multi_cell 2017-12-04 10:59:55 +08:00
manager.py Handle unbound vif plug errors on compute restart 2018-12-20 11:15:45 +00:00
migration_list.py Fix comment in MigrationSortContext 2018-01-10 14:04:23 -05:00
multi_cell_list.py Make nova list and migration-list ignore down cells 2018-06-26 18:44:47 +02:00
power_state.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00
provider_tree.py ProviderTree.get_provider_uuids: Top-down ordering 2018-01-31 08:35:35 -06:00
resource_tracker.py Make ResourceTracker.stats node-specific 2018-08-01 14:57:55 -04:00
rpcapi.py Fix up compute rpcapi version for pike release 2018-10-23 15:03:11 +11:00
stats.py Change consecutive build failure limit to a weigher 2018-06-07 07:17:51 -07:00
task_states.py Have one list of reboot task_states 2017-09-14 20:57:38 +00:00
utils.py Call generate_image_url only for legacy notification 2018-07-23 18:30:33 +02:00
vm_states.py Removed enum duplication from nova.compute 2016-09-02 07:30:44 +00:00