Account for compute.metrics.update in legacy notification whitelist
The compute.metrics.update legacy unversioned notification was missing
from the whitelist because the only test for it was mocking out the
rpc notifier call, which is what validates the entries in the whitelist.
This adds the entry to the whitelist and fixes the test to actually
use the notifier code.
Change-Id: Ie278ca58c371b8e3bd4861e6c86ebcf30c6778ea
Closes-Bug: #1717943
(cherry picked from commit 963bf956ce93ba02bf9f38f979fe914d090b76d4)
Reviewed: https:/ /review. openstack. org/509441 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1d2cfc4f568 9fa1d88fb9aa13b e14a6b7cc17a89
Committed: https:/
Submitter: Zuul
Branch: stable/newton
commit 1d2cfc4f5689fa1 d88fb9aa13be14a 6b7cc17a89
Author: Matt Riedemann <email address hidden>
Date: Mon Sep 18 15:30:18 2017 -0400
Account for compute. metrics. update in legacy notification whitelist
The compute. metrics. update legacy unversioned notification was missing
from the whitelist because the only test for it was mocking out the
rpc notifier call, which is what validates the entries in the whitelist.
This adds the entry to the whitelist and fixes the test to actually
use the notifier code.
Change-Id: Ie278ca58c371b8 e3bd4861e6c86eb cf30c6778ea 2bf9f38f979fe91 4d090b76d4)
Closes-Bug: #1717943
(cherry picked from commit 963bf956ce93ba0