Cannot detach cinder volume when attached as a cdrom

Solution In Progress - Updated -

Issue

  • Launched an instance with the following command and received an error:
[root@aio ~(admin)]# nova boot --flavor m1.small --image CentOS-6.6-gen  --nic net-id=cd65ac88-f60a-4af9-8b17-62e18bb9127f --block-device id=3ab8f80f-d71d-4c23-bc69-8d2c5d04ce3b,source=volume,dest=volume,bus=ide,size=1,device=/dev/vdb,type=cdrom,bootindex=1 VM-cdrom
libvirtError: Operation not supported: disk device type 'cdrom' cannot be detached`
  • The problem is that a volume attached as type=cdrom can not be detached neither via horizon nor via command line .
  • Volume attached as cd-rom at boot can not be detached.

Environment

Red Hat OpenStack 6.0 / 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In