Merge "Always allow to create snapshot db record with snapshot-manage"
This commit is contained in:
commit
8e5912cb51
@ -1616,7 +1616,7 @@ class API(base.Base):
|
|||||||
metadata=None):
|
metadata=None):
|
||||||
service = self._get_service_by_host(context, volume.host, 'snapshot')
|
service = self._get_service_by_host(context, volume.host, 'snapshot')
|
||||||
snapshot_object = self.create_snapshot_in_db(context, volume, name,
|
snapshot_object = self.create_snapshot_in_db(context, volume, name,
|
||||||
description, False,
|
description, True,
|
||||||
metadata, None,
|
metadata, None,
|
||||||
commit_quota=False)
|
commit_quota=False)
|
||||||
self.volume_rpcapi.manage_existing_snapshot(context, snapshot_object,
|
self.volume_rpcapi.manage_existing_snapshot(context, snapshot_object,
|
||||||
|
Loading…
Reference in New Issue
Block a user