cannot detach cinder volume

asked 2015-12-06 05:46:23 -0500

vladber gravatar image

updated 2015-12-09 07:35:30 -0500

Hi ,

Have liberty setup on FC23 .I booted an instance with the following command :

 nova boot --flavor m1.small --image CentOS-6-gen   --nic net-id=c5500df3-d924-45c1-bd57-96a95258e973 --block-device id=54f12458-1aff-4bd2-8123-fd84768c9a2,source=volume,dest=volume,bus=ide,size=1,device=/dev/vdb,type=cdrom,bootindex=1 VM-cdrom

The VM is up and running , I see the volume as /dev/sr0 . But I cannot detach this volume neither via dashboard nor command line .

??? /Vlad

edit retag flag offensive close merge delete


Can you provide some more information on this. What compute logs showing?

RHK gravatar imageRHK ( 2015-12-07 02:20:23 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-12-06 22:08:04 -0500

Bipin gravatar image


nova --debug volume-detach <instance-id> <volume-id> See the output. Normally volume-detach command returns no output.


edit flag offensive delete link more


Of course --debug give pretty long output : [root@aiob ~(keystone_admin)]# nova --debug volume-detach 8e2eb008-9491-41ff-9bbd-c8c1561be0d1 54f12458-1aff-4bd2-8123-dfd84768c9a2 /usr/lib/python2.7/site-packages/keyring/backends/ PyGIWarning: GnomeKeyring was imported without specifying a

vladber gravatar imagevladber ( 2015-12-07 02:42:50 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-12-06 05:46:23 -0500

Seen: 1,727 times

Last updated: Dec 09 '15