Cinder does not start after volume node reboot

Bug #1044312 reported by Unmesh Gurjar
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

Branch: master (commit ID: cabb54c5806022e696697e7c1fa6c81b482d2b20)

Scenario:
1. On a running devstack installation (having Cinder Volume service), stop the services using "unstack.sh" script.
2. Reboot the node.
3. After the node comes up, start all the services (including Cinder).

Actual Result:
Cinder volume service fails to start with the error volume group "stack-volumes" does not exist.
The volume group "stack-volumes" gets deleted ('vgdisplay' does not list it). Hence, all the volumes were lost.

Expected Result:
Cinder Volume should start up successfully (and the volume group should remain intact).

Stack Trace: http://paste.openstack.org/show/20598/

Tags: ntt
Revision history for this message
John Griffith (john-griffith) wrote :

Turns out this is actually not related to unstack or cinder per-say. The volume group is removed on the reboot operation, running unstack.sh it will remove the targets that have been created, however you can do a vgdisplay and see that stack-volumes is still there.

Rebooting however the system will come back up and stack-volumes will be removed.

Changed in cinder:
status: New → Triaged
Revision history for this message
John Griffith (john-griffith) wrote :

The loopback device used in devstack is NOT intended to be persistent and in fact is lost after reboot as expected behavior.

In a *real* environment a user wouldn't use loopback the way we do in devstack. Also to be honest part of the point of devstack IMO is to be able to ./unstack.sh and start over and you should expect to have to run stack.sh again.

Changed in cinder:
status: Triaged → Invalid
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.