]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
LVM migration: Check if name is equal to dest_vg
authorFlavio Percoco <flaper87@gmail.com>
Thu, 5 Dec 2013 16:05:33 +0000 (17:05 +0100)
committerFlavio Percoco <flaper87@gmail.com>
Thu, 5 Dec 2013 22:28:37 +0000 (23:28 +0100)
commit17912f4c4fba270a15cab47bb68d9e30c34a69b0
treeb3c7952562dafeb3c4dbbe4940365c8a8d753d07
parent1dff30492f0ce1df3ef01ccc21353248a7207709
LVM migration: Check if name is equal to dest_vg

The existence check of the destination volume group is wrong. It
currently checks if there's a VG with a name equal to the source's vg
name instead of checking if it's equal to the dest_vg.

Closes-bug: #1258203
Change-Id: Ia5d4acb24b94c6aa832107c7eb4b6996985af97f
cinder/tests/test_volume.py
cinder/volume/drivers/lvm.py