unable to attach volume to an instance

asked 2014-05-07 08:03:38 -0500

anonymous user


2 node openstack havana with ubuntu. Cinder volume running on compute & cinder api, schedular running on controller.

Iv attached 10TB volume from netapp to the compute node using nfs.

i am trying to launch redhat instance with iso image of rhel6.5. flavor m1.small

volume gets attached when i launch instance using command line root@heos-ctrls:~# nova boot --flavor 2 --image 367d962b-6cb5-44d0-b014-9f01a8603dfd --key-name mykey --nic net-id=bfdd989c-bf99-4996-8699-6a3bd01ad618 --block-device-mapping /dev/vdc=7ba9159c-ca8c-4de2-b43a-f5eebaae05b5 vm1

here instance gets created & volume is detected during iso boot and i can go ahead and install rhel on this volume without any issues.

but from horizon volume doesnt get attached. it says attaching & goes off and volume stays in unattached state. bcoz of this when i boot the instance i get error no disk found during disk partitioning.

edit retag flag offensive close merge delete


i am able to attach volume to cirros qcow2 image, but not iso image.

sudarshan gravatar imagesudarshan ( 2014-05-07 08:04:28 -0500 )edit

So , if you work via CLI, nova at bootup does failover to bootable ISO image and start install from ISO to cinder volume. It works via CLI - am I correct ?

dbaxps gravatar imagedbaxps ( 2014-05-07 08:15:04 -0500 )edit

yes you are right

sudarshan gravatar imagesudarshan ( 2014-05-07 08:33:20 -0500 )edit

with cli, nova will launch the instance then boot it from image. then i can continue with installation of rhel i can see the volume attached to it and i can partition the volume and install the rhel on that volume. installation gets successful after reboot i can boot directly from the volume. but doesn't work from horizon dashboarf

sudarshan gravatar imagesudarshan ( 2014-05-07 08:48:55 -0500 )edit

That's interesting. It's official bug in RDO Havana. I mean failure to failover to bootable ISO image and start install. Is it Havana-8 ?

dbaxps gravatar imagedbaxps ( 2014-05-07 08:51:10 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-16 04:22:39 -0500

SGPJ gravatar image

I tried attaching volume to instance (Ubuntu ISO) and it is working. Not sure why you get error.

edit flag offensive delete link more


could you please let me know how to make cinder volume as boot or primary volume for the launched instance

sudarshan gravatar imagesudarshan ( 2014-05-28 05:40:07 -0500 )edit

You can choose option Boot from volume while launching instance.

SGPJ gravatar imageSGPJ ( 2014-05-28 10:46:10 -0500 )edit

if i choose boot from volume, i will have to provide the bootable volume with an image on it. but i want to use qcow2 images and want cinder to create the volume /dev/vda.

sudarshan gravatar imagesudarshan ( 2014-05-28 13:23:26 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-07 08:03:38 -0500

Seen: 1,551 times

Last updated: May 16 '14