diff options
author | Zuul <zuul@review.opendev.org> | 2020-11-23 18:14:17 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-11-23 18:14:17 +0000 |
commit | e26a805d157a5c233273edd85c502a00d8198b70 (patch) | |
tree | f8f79254b596c100577a4d229a18722bd61904f8 /nova/compute/manager.py | |
parent | 5ce25fea3ce783a5c6986e5e46184268a3b84d5d (diff) | |
parent | 30067be9bd77d5cb84d38931b1a9a128db6230a6 (diff) | |
download | nova-e26a805d157a5c233273edd85c502a00d8198b70.tar.gz |
Merge "virt: Remove 'change_instance_metadata' API"
Diffstat (limited to 'nova/compute/manager.py')
-rw-r--r-- | nova/compute/manager.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 3e27cbc678..ee0429899d 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -4220,13 +4220,11 @@ class ComputeManager(manager.Manager): self.host, action=fields.NotificationAction.UNRESCUE, phase=fields.NotificationPhase.END) + # TODO(stephenfin): Remove this once we bump the compute API to v6.0 @wrap_exception() @wrap_instance_fault def change_instance_metadata(self, context, diff, instance): - """Update the metadata published to the instance.""" - LOG.debug("Changing instance metadata according to %r", - diff, instance=instance) - self.driver.change_instance_metadata(context, instance, diff) + raise NotImplementedError() @wrap_exception() @wrap_instance_event(prefix='compute') |