aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-11-08 14:17:40 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-11-08 14:17:40 +0800
commite0eebbd97be96720c5d921085b885b3823865672 (patch)
treeff656574d973f4e07ab82928e87896f877eb0b94
parentf0cfbec4469e30292f0e7fee0075b0e1e04cdf07 (diff)
Modify nova patch
JIRA: - Change-Id: I0d887e2f54435d7fff9d51083ea9aaa52b1e289c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rw-r--r--deploy/adapters/ansible/roles/post-openstack/files/manager.py.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/post-openstack/files/manager.py.patch b/deploy/adapters/ansible/roles/post-openstack/files/manager.py.patch
index 2adaa4f0..198ff5be 100644
--- a/deploy/adapters/ansible/roles/post-openstack/files/manager.py.patch
+++ b/deploy/adapters/ansible/roles/post-openstack/files/manager.py.patch
@@ -6,7 +6,7 @@
# here, but this is what we use for our default error case
- raise exception.NovaException('In shutdown, no new events '
- 'can be scheduled')
-+ pass
++ self._events = {}
@utils.synchronized(self._lock_name(instance))
def _create_or_get_event():