Attempt at restoring test volume's LVM loopback device causing new failure

Bug #1768833 reported by Alan Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-cinder
Fix Released
Medium
Alan Bishop

Bug Description

Patch [1] was an attempt to restore the LVM test volume's loopback device when the node reboots. However, the fix was not reliable and the original LP bug [2] was reopened.

[1] https://review.openstack.org/465731
[2] https://launchpad.net/bugs/1581092

However, there are now reports that the code is triggering new fails when executed during TripleO's Fast Forward Upgrade (FFU) procedure. Here is an example of the failure as seen in the logs:

"Error: losetup -f /var/lib/cinder/cinder-volumes && udevadm settle && vgchange -a y cinder-volumes returned 5 instead of one of [0]",
"Error: /Stage[main]/Cinder::Setup_test_volume/Exec[losetup -f /var/lib/cinder/cinder-volumes && udevadm settle && vgchange -a y cinder-volumes]/returns: change from notrun to 0 failed: losetup -f /var/lib/cinder/cinder-volumes && udevadm settle && vgchange -a y cinder-volumes returned 5 instead of one of [0]",
"Warning: /Stage[main]/Cinder::Deps/Anchor[cinder::service::begin]: Skipping because of failed dependencies",
"Warning: /Stage[main]/Cinder::Volume/Service[cinder-volume]: Skipping because of failed dependencies",
"Warning: /Stage[main]/Tripleo::Profile::Base::Cinder::Volume::Iscs/Cinder::Backend::Iscsi[tripleo_iscsi]/Service[target]: Skipping because of failed dependencies",

The patch [1] should be reverted because it doesn't fix the original problem, and is now causing an additional problem.

Changed in puppet-cinder:
assignee: nobody → Alan Bishop (alan-bishop)
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/566056

Changed in puppet-cinder:
status: New → In Progress
Changed in puppet-cinder:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-cinder (master)

Reviewed: https://review.openstack.org/566056
Committed: https://git.openstack.org/cgit/openstack/puppet-cinder/commit/?id=2761f8b1b9e16dfaee5fbaab5a29acfaa039b8b1
Submitter: Zuul
Branch: master

commit 2761f8b1b9e16dfaee5fbaab5a29acfaa039b8b1
Author: Alan Bishop <email address hidden>
Date: Thu May 3 08:58:19 2018 -0400

    Revert "Restore iscsi loopback LVM volume group on startup"

    This reverts commit b8f15088b5c3b70ae2c12ecd8185064a0159a6e1.

    The original commit failed to fully address the problem it tried
    to solve, and is causing additional problems.

    Closes-Bug: #1768833
    Change-Id: I9126e5acaf16a39528c65e756eb475dc62e1ab40
    Conflicts:
     manifests/setup_test_volume.pp

Changed in puppet-cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-cinder (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/566349

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-cinder (stable/queens)

Reviewed: https://review.openstack.org/566349
Committed: https://git.openstack.org/cgit/openstack/puppet-cinder/commit/?id=24fd4bd776d47ab956490ff555c7471cb01c0b99
Submitter: Zuul
Branch: stable/queens

commit 24fd4bd776d47ab956490ff555c7471cb01c0b99
Author: Alan Bishop <email address hidden>
Date: Thu May 3 08:58:19 2018 -0400

    Revert "Restore iscsi loopback LVM volume group on startup"

    This reverts commit b8f15088b5c3b70ae2c12ecd8185064a0159a6e1.

    The original commit failed to fully address the problem it tried
    to solve, and is causing additional problems.

    Closes-Bug: #1768833
    Change-Id: I9126e5acaf16a39528c65e756eb475dc62e1ab40
    Conflicts:
     manifests/setup_test_volume.pp
    (cherry picked from commit 2761f8b1b9e16dfaee5fbaab5a29acfaa039b8b1)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-cinder 12.4.1

This issue was fixed in the openstack/puppet-cinder 12.4.1 release.

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.