Test volume race condition between losetup and pvdisplay
Bug #1614467 reported by
Jiří Stránský
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-cinder |
Fix Released
|
High
|
Jiří Stránský |
Bug Description
All seems fine on the first creation of loop device and initializing a physical volume on it, but there seems to be a race when Puppet restores an already existing configuration.
Losetup restores the loop device which already contains an existing LVM physical volume, but it seems that the `pvdisplay` command that prevents the following `pvcreate` from executing runs too early, it doesn't see the existing physical volume yet, and then pvcreate command fails because the physical volume already exists:
Setup_test_
This is the code in question:
Changed in puppet-cinder: | |
importance: | Undecided → High |
milestone: | none → 9.0.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/357082
Review: https:/