nova/nova
Mohammed Naser ed3e27afb4 Revert "Refine waiting for vif plug events during _hard_reboot"
This reverts commit aaf37a26d6.

This gets us back to Ib0cf5d55750f13d0499a570f14024dca551ed4d4
which was meant to address an issue introduced
by Id188d48609f3d22d14e16c7f6114291d547a8986.

So we essentially had three changes:

1. Hard reboot would blow away volumes and vifs and then wait for the
   vifs to be plugged; this caused a problem for some vif types (
   linuxbridge was reported) because the event never came and we
   timed out.

2. To workaround that, a second change was made to simply not wait for
   vif plugging events.

3. Since #2 was a bit heavy-handed for a problem that didn't impact
   openvswitch, another change was made to only wait for non-bridge vif
   types, so we'd wait for OVS.

But it turns out that opendaylight is an OVS vif type and doesn't send
events for plugging the vif, only for binding the port (and we don't
re-bind the port during reboot). There is also a report of this being a
problem for other types of ports, see
If209f77cff2de00f694b01b2507c633ec3882c82.

So rather than try to special-case every possible vif type that could
be impacted by this, we are simply reverting the change so we no longer
wait for vif plugged events during hard reboot.

Note that if we went back to Id188d48609f3d22d14e16c7f6114291d547a8986
and tweaked that to not unplug/plug the vifs we wouldn't have this
problem either, and that change was really meant to deal with an
encrypted volume issue on reboot. But changing that logic is out of the
scope of this change. Alternatively, we could re-bind the port during
reboot but that could have other implications, or neutron could put
something into the port details telling us which vifs will send events
and which won't, but again that's all outside of the scope of this
patch.

Change-Id: Ib3f10706a7191c58909ec1938042ce338df4d499
Closes-Bug: #1755890
2018-03-14 21:07:17 +00:00
..
CA
api Merge "doc: mark the max microversions for queens" 2018-02-07 03:46:45 +00:00
cells Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
cmd Merge "Remove instance.keypairs migration code" 2018-02-07 02:19:26 +00:00
common
compute Compute RPC client bump to 5.0 2018-02-08 12:10:04 -08:00
conductor Clean up reservations in migrate_task call path 2018-02-08 12:40:37 -08:00
conf Clarify CONF.scheduler.max_attempts 2018-02-05 17:15:44 -05:00
console Fix accumulated nits 2018-01-16 14:54:04 +00:00
consoleauth Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
db Merge "Add index(instance_uuid, updated_at) on instance_actions table" 2018-02-08 15:23:14 +00:00
hacking trivial: Rename 'policy_check' -> 'policy' 2017-10-25 17:56:40 +01:00
image Workaround glanceclient bug when CONF.glance.api_servers not set 2018-02-08 09:06:48 -05:00
ipv6
keymgr Remove deprecated keymgr code 2017-09-11 15:48:30 -04:00
locale Imported Translations from Zanata 2018-01-04 07:20:17 +00:00
network Use neutron port_list when filtering instance by ip 2018-01-23 10:10:53 +08:00
notifications Merge "Transform instance.resize_prep notification" 2018-01-27 01:36:42 +00:00
objects Bump compute RPC API to version 5.0 2018-02-08 10:43:56 -08:00
pci Address nits in I46d483f9de6776db1b025f925890624e5e682ada 2018-01-02 15:57:50 +00:00
policies trivial: Fix few policy doc 2018-02-01 03:04:00 +00:00
privsep Move remaining uses of parted to privsep. 2018-01-24 22:26:36 +00:00
scheduler [placement] Add sending global request ID in put (2) 2018-02-04 23:41:28 +00:00
servicegroup iso8601.is8601.Utc No Longer Exists 2017-08-29 19:26:55 -04:00
tests Revert "Refine waiting for vif plug events during _hard_reboot" 2018-03-14 21:07:17 +00:00
virt Revert "Refine waiting for vif plug events during _hard_reboot" 2018-03-14 21:07:17 +00:00
vnc
volume Merge "Fix bug case by none token context" 2018-02-01 08:58:27 +00:00
__init__.py
availability_zones.py Avoid lazy-load error when getting instance AZ 2017-05-25 15:46:22 -04:00
baserpc.py
block_device.py Add uuid column to BlockDeviceMapping 2017-12-17 14:28:35 +00:00
cache_utils.py remove log translation tags from nova.cells 2017-04-10 14:48:07 +00:00
config.py
context.py Get auth from context for glance endpoint 2017-11-21 10:26:42 -06:00
crypto.py
debugger.py
exception.py Merge "Fix nits in support traits changes" 2018-02-01 21:25:45 +00:00
exception_wrapper.py rename binary to source in versioned notifications 2017-07-25 17:36:04 +02:00
filters.py
hooks.py
i18n.py correct referenced url in comments 2018-01-18 09:16:37 +08:00
loadables.py
manager.py
policy.py Add policy granularity to the Flavors API 2017-07-19 15:56:47 -04:00
profiler.py
quota.py Follow up on removing old-style quotas code 2017-12-08 22:11:24 +00:00
rpc.py Remove dead code of api.fault notification sending 2017-10-09 17:29:40 +02:00
safe_utils.py Allow wrapping of closures 2017-07-20 10:07:52 +01:00
service.py Enhance doc for nova services 2017-08-31 08:30:48 +08:00
service_auth.py Fix NoneType error when [service_user] is misconfigured 2017-11-28 12:22:30 -06:00
test.py Reset the _RC_CACHE between tests 2018-02-02 14:40:44 +00:00
utils.py Merge "Handle TZ change in iso8601 >=0.1.12" 2018-01-31 00:36:50 +00:00
version.py
weights.py
wsgi.py