diff --git a/cinder/keymgr/conf_key_mgr.py b/cinder/keymgr/conf_key_mgr.py index b0c2898dae2..0a37baf71df 100644 --- a/cinder/keymgr/conf_key_mgr.py +++ b/cinder/keymgr/conf_key_mgr.py @@ -146,6 +146,16 @@ class ConfKeyManager(key_manager.KeyManager): LOG.warning("Not deleting key %s", managed_object_id) + def add_consumer(self, context, managed_object_id, consumer_data): + raise NotImplementedError( + 'ConfKeyManager does not implement adding consumers' + ) + + def remove_consumer(self, context, managed_object_id, consumer_data): + raise NotImplementedError( + 'ConfKeyManager does not implement removing consumers' + ) + def list(self, context, object_type=None, metadata_only=False): """Retrieves a list of managed objects that match the criteria.