Devstack- Cinder Volume failed to initialize driver

Bug #1595836 reported by maestropandy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Unassigned

Bug Description

In devstack liberty, while ./rejoin-stack.sh, cinder volume throwing error as Failed to initialize driver and not sending heart beat

" ERROR cinder.service [-] Manager for service cinder-volume maestro@lvmdriver-1 is reporting problems, not sending heartbeat. Service will appear "down".
"

Have to initialize lvmdriver backing file every time to get rid of it, by running

sudo losetup -f /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
sudo losetup -f /opt/stack/data/stack-volumes-default-backing-file

Find c-vol logs http://paste.openstack.org/show/521854/

Should be fixed ?

Revision history for this message
Syed Ahsan Shamim Zaidi (ahsanmohsin04) wrote :

I had the same error which I resolved using this simple line of code:

sudo losetup -f --show /opt/stack/data/stack-volumes-lvmdriver-1-backing-file

Kindly let me know if it gets resolved.

Changed in devstack:
assignee: nobody → Syed Ahsan Shamim Zaidi (ahsanmohsin04)
Revision history for this message
maestropandy (maestropandy) wrote :

Syed, Can you update on this bug which you assigned for yourself

Revision history for this message
Michal Dulko (michal-dulko-f) wrote :

rejoin_stack.sh is gone on master and it never was supposed to be used to restart DevStack after reboot. Please use unstack.sh and stack.sh for that purpose. Personally I'm running my DevStack on a VirtualBox VM, which I'm able to suspend and resume after my laptop gets rebooted.

Changed in devstack:
status: New → Invalid
Changed in devstack:
assignee: Syed Ahsan Shamim Zaidi (ahsanmohsin04) → nobody
Revision history for this message
Josh Fuhs (fuhsjr00) wrote :

I am seeing this problem on both Ubuntu 16.04 and 18.04 with every HEAD revision of devstack pulled in the last couple months. Here's the last commit where I saw the failure: 9689083d74dcab67aeb34113096d4d94f749af39

The lvm backing file initialization commands noted in the description correct the problem, but it would be nice if a devstack node could be restarted and resume its functions without intervention.

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.