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/509440 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1c88f3f75d8 27610be925f68b0 76253dba76cfcc
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit 1c88f3f75d82761 0be925f68b07625 3dba76cfcc
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