]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix volume_glance_metadata deletion
authorAdalberto Medeiros <adalbas@linux.vnet.ibm.com>
Tue, 13 Aug 2013 18:50:24 +0000 (14:50 -0400)
committerAdalberto Medeiros <adalbas@linux.vnet.ibm.com>
Tue, 20 Aug 2013 20:36:00 +0000 (16:36 -0400)
commit8b35b1d714444a385a200e3e006ce3af84dae3c9
treef0483b2415d707c5111472b1a1be9967fa3b8456
parentfc705de5e4058efcd9b4f268f1428bc8e673193c
Fix volume_glance_metadata deletion

If volume_glance_metadata does not exist for a certain volume,
it returns an exception and does not delete volume from db.
Avoid deleting it if it does not exist.

Bug: 1209367
Change-Id: Ia607ec5ecfc115c1a593f14236ee93158938a8da
cinder/volume/manager.py