Comment 2 for bug 1011150

Revision history for this message
LinuxMalaysia (linuxmalaysia) wrote : Re: [nova-volume] Volume stuck in Deleting status forever when deleting a volume and restarting nova-volume service

This bug may related to this bug (packing issue)

https://bugs.launchpad.net/nova/+bug/795428

Refering to

http://docs.openstack.org/diablo/openstack-compute/admin/content/managing-volumes.html

For Ubuntu distros, the nova-volumes component will not properly work (regarding the part which deals with volumes deletion) without a small fix. In dorder to fix that, do the following :

sudo visudo

Then add an entry for the nova user (here is the default sudoers file with our added nova user) :

nova ALL = (root) NOPASSWD: /bin/dd

That will allow the nova user to run the "dd" command (which empties a volume before its deletion).