Test volume is not available after reboot

Bug #1581092 reported by Brent Eagles
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-cinder
Confirmed
Low
Unassigned
tripleo
Fix Released
Low
Alan Bishop

Bug Description

Configuration of the test volume with losetup is not durable through reboots. This will affect developers who have need to reboot the test environment running the cinder-volume service.

Revision history for this message
Emilien Macchi (emilienm) wrote :

it's a known-limitation, I find there is another BZ or LP somewhere about it already.
the test volume class is really not for production, but for test (hence the class name)... so we don't expect to support reboots.

Changed in puppet-cinder:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Matt Fischer (mfisch) wrote :
Changed in puppet-cinder:
importance: Medium → Low
status: Confirmed → Triaged
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/465731

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

Reviewed: https://review.openstack.org/465731
Committed: https://git.openstack.org/cgit/openstack/puppet-cinder/commit/?id=b8f15088b5c3b70ae2c12ecd8185064a0159a6e1
Submitter: Jenkins
Branch: master

commit b8f15088b5c3b70ae2c12ecd8185064a0159a6e1
Author: Alan Bishop <email address hidden>
Date: Wed May 17 15:53:49 2017 -0400

    Restore iscsi loopback LVM volume group on startup

    This change restores the loopback device and LVM volume group used
    by the iscsi driver each time the system restarts. This essentially
    allows the volume group to survive a reboot.

    Closes-Bug: #1581092
    Change-Id: Ifcd74b41d9d14b1c2a176fe9994a3927ae2a552a

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

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

Changed in puppet-cinder:
status: Fix Released → Confirmed
Revision history for this message
Alex Schultz (alex-schultz) wrote :

It's been reported that the fix didn't completely fix the issue, so reopening this bug

Changed in puppet-cinder:
assignee: Alan Bishop (alan-bishop) → nobody
Changed in tripleo:
assignee: nobody → Alan Bishop (alan-bishop)
importance: Undecided → Low
status: New → Confirmed
milestone: none → stein-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/597202
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=2040d4f284b1507abb8fb4013ea5a162a9cf96e2
Submitter: Zuul
Branch: master

commit 2040d4f284b1507abb8fb4013ea5a162a9cf96e2
Author: Alan Bishop <email address hidden>
Date: Tue Aug 28 14:27:57 2018 -0400

    Recreate cinder LVM loopback device on startup

    Add a systemd service that creates the loopback device required by
    cinder's iSCSI backend on system startup.

    This patch also consolidates the host_prep_tasks for the HA and non-HA
    versions of the cinder-volume service. The list of tasks is identical,
    and rather than repeating it in each template, the tasks are defined
    once in cinder-common.yaml.

    Closes-Bug: #1581092
    Change-Id: Icc04003a9e90b66720d968c6c8f1c687156b677e

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/612185

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/612185
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=5ef1ade75347da10ec09005d7b74a23474acc861
Submitter: Zuul
Branch: stable/rocky

commit 5ef1ade75347da10ec09005d7b74a23474acc861
Author: Alan Bishop <email address hidden>
Date: Tue Aug 28 14:27:57 2018 -0400

    Recreate cinder LVM loopback device on startup

    Add a systemd service that creates the loopback device required by
    cinder's iSCSI backend on system startup.

    This patch also consolidates the host_prep_tasks for the HA and non-HA
    versions of the cinder-volume service. The list of tasks is identical,
    and rather than repeating it in each template, the tasks are defined
    once in cinder-common.yaml.

    NOTE: This backport does not set the 'setype' when creating cinder's
    persistent directories. Setting the 'setype' is required only in later
    releases.

    Closes-Bug: #1581092
    Change-Id: Icc04003a9e90b66720d968c6c8f1c687156b677e
    (cherry picked from commit 2040d4f284b1507abb8fb4013ea5a162a9cf96e2)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

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

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

Reviewed: https://review.openstack.org/613646
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=769d2145357215eb4e3d6b5f730e096a4431fdcc
Submitter: Zuul
Branch: stable/queens

commit 769d2145357215eb4e3d6b5f730e096a4431fdcc
Author: Alan Bishop <email address hidden>
Date: Tue Aug 28 14:27:57 2018 -0400

    Recreate cinder LVM loopback device on startup

    Add a systemd service that creates the loopback device required by
    cinder's iSCSI backend on system startup.

    This patch also consolidates the host_prep_tasks for the HA and non-HA
    versions of the cinder-volume service. The list of tasks is identical,
    and rather than repeating it in each template, the tasks are defined
    once in cinder-common.yaml.

    NOTE: This backport does not set the 'setype' when creating cinder's
    persistent directories. Setting the 'setype' is required only in later
    releases.

    Closes-Bug: #1581092
    Change-Id: Icc04003a9e90b66720d968c6c8f1c687156b677e
    (cherry picked from commit 2040d4f284b1507abb8fb4013ea5a162a9cf96e2)
    (cherry picked from commit 5ef1ade75347da10ec09005d7b74a23474acc861)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.1.0

This issue was fixed in the openstack/tripleo-heat-templates 10.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.1.0

This issue was fixed in the openstack/tripleo-heat-templates 8.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.1.0

This issue was fixed in the openstack/tripleo-heat-templates 9.1.0 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.