Comment 1 for bug 1476418

Revision history for this message
Corey Bryant (corey.bryant) wrote :

I think we can handle this under the existing 'overwrite' config option, if it is set to true.

vgcreate has a --force option which might work, or maybe vgremove needs to be called before creating the vg.

The code that creates the vg is create_lvm_volume_group() in hooks/cinder_utils.py (which calls vgcreate).