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
This commit is contained in:
Matt Riedemann
2017-09-18 15:30:18 -04:00
parent 0aeaa2bce8
commit 963bf956ce
2 changed files with 18 additions and 5 deletions

View File

@@ -338,6 +338,7 @@ class LegacyValidatingNotifier(object):
'compute.instance.volume.attach',
'compute.instance.volume.detach',
'compute.libvirt.error',
'compute.metrics.update',
'compute_task.build_instances',
'compute_task.migrate_server',
'compute_task.rebuild_server',