How to liberate volume attached to deleted instance ?

asked 2017-05-17 01:25:28 -0600

mrexojo gravatar image

updated 2017-05-17 01:26:16 -0600



I had a instance with boot volume and second volume attached to a instance. After of "break-powersupply" all physical nodes, It instance was as "active", but was imposible access in. After to fail reboot and stop instance, I trayed to delete instance with volumes attached, but now the volumes are "attached to " <id_instance_deleted>, therefore I can't use these volumes for new instance.

Although I could do:

"cinder reset-state --state available 4536b226-9045-42df-bef9-76b01a60d3ab"

It's not sufficient for liberate these volumes.

Can someone help me?

thank you

edit retag flag offensive close merge delete


Have you also tried cinder reset-state --attach-status detached ? If that doesn't work, I'm afraid you'll have to alter the database manually and change the attach-status.

eblock gravatar imageeblock ( 2017-05-17 04:00:36 -0600 )edit

Thanks, on help this not show it! I have detached but when I create new instance using these volumen report error:

Failed to perform requested operation on instance "name-vm", the instance has an error status: Please try again later [Error: ....block devide mapping invalid

mrexojo gravatar imagemrexojo ( 2017-05-17 04:38:40 -0600 )edit

Have you more detailed logs on that? This is probably just the nova error, what are cinder logs saying?

eblock gravatar imageeblock ( 2017-06-06 03:50:33 -0600 )edit