From cce20d1a92cc08af46d87bc8b7b80c5656440491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Antal?= Date: Fri, 16 Dec 2016 14:32:38 +0100 Subject: [PATCH] Added instance.reboot.error to the legacy notifications reboot.error is being transformed to use versioned notifications [1]. But in the tests, we are getting an error, as compute.instance.reboot.error is not added to the allowed legacy notifications. However, this legacy notification exists [2] for a long time, it was updated in 2013. [3] [1]: https://review.openstack.org/#/c/411791 [2]: https://github.com/openstack/nova/blob/master/nova/compute/manager.py#L3024 [3]: https://github.com/openstack/nova/commit/f35c63df24d8f47927d055729e9ca08c7bc3fe8c Change-Id: I1ce3deff1894bddb4cde5c3362b1d92816d7b2ca --- nova/rpc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nova/rpc.py b/nova/rpc.py index 9e170a2a60da..b0d915adc4a8 100644 --- a/nova/rpc.py +++ b/nova/rpc.py @@ -292,6 +292,7 @@ class LegacyValidatingNotifier(object): 'compute.instance.power_on.end', 'compute.instance.power_on.start', 'compute.instance.reboot.end', + 'compute.instance.reboot.error', 'compute.instance.reboot.start', 'compute.instance.rebuild.end', 'compute.instance.rebuild.error',