Merge "Always allow to create snapshot db record with snapshot-manage"

This commit is contained in:
Jenkins 2016-12-02 03:17:02 +00:00 committed by Gerrit Code Review
commit 8e5912cb51

View File

@ -1616,7 +1616,7 @@ class API(base.Base):
metadata=None):
service = self._get_service_by_host(context, volume.host, 'snapshot')
snapshot_object = self.create_snapshot_in_db(context, volume, name,
description, False,
description, True,
metadata, None,
commit_quota=False)
self.volume_rpcapi.manage_existing_snapshot(context, snapshot_object,