setup_test_volume failed if loop2 is used

Bug #1619176 reported by Bin Zhou
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
puppet-cinder
Won't Fix
Undecided
Bin Zhou

Bug Description

When /dev/loop2 is used by others, setup_test_volume still create pv with /dev/loop2 and then failed. The loop2 should not be defined in setup_test_volume.pp.
The error log is as follows:
Error: /Stage[main]/Cinder::Setup_test_volume/Exec[pvcreate /dev/loop2]: Failed to call refresh: pvcreate /dev/loop2 returned 5 instead of one of [0]

Bin Zhou (binzhou)
Changed in puppet-cinder:
assignee: nobody → Bin Zhou (binzhou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/364154

Changed in puppet-cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-cinder (master)

Change abandoned by Alex Schultz (<email address hidden>) on branch: master
Review: https://review.openstack.org/364154
Reason: Abandoning per our policy[0]. If you wish to continue this work, please restore this or let us know in #puppet-openstack and we can restore it.

[0] https://docs.openstack.org/developer/puppet-openstack-guide/reviews.html

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

If the device is already used by others then you should update loopback_device properly.
We don't plan to implement a logic to detect existing devices as that is likely to cause idempotency issue.

Changed in puppet-cinder:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.