]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Check volume_id consistent when creating backup
authorlisali <xiaoyan.li@intel.com>
Wed, 16 Mar 2016 07:27:05 +0000 (07:27 +0000)
committerlisali <xiaoyan.li@intel.com>
Wed, 16 Mar 2016 07:27:05 +0000 (07:27 +0000)
commitcaf1d7515c37c829603748d9e5d45fa22594f87e
treef5dc7c581f830d2d3c218e5757e3c61f9b0a5df4
parente9cf76ab0fca59c32f73d72ea50435b4879ad1e2
Check volume_id consistent when creating backup

When creating backup from snapshot, users specify both volume id
and snapshot id, this patch is to make sure volume id is consistent
with snapshot.volume_id.

Change-Id: I1bdaf00299ac6f9f45128b754b79be6700f44304
Closes-bug: #1557922
cinder/backup/api.py
cinder/tests/unit/api/contrib/test_backups.py