Driver failed to attach volume

asked 2015-09-11 01:15:53 -0600

Moorthy gravatar image

updated 2015-09-11 01:21:07 -0600

I setup Juno with Ceph and created a volume thru Horizon. I can see the volume created in Ceph but failing when try to attach to CirrOS instance. Following errors noticed in nova-compute.log in the compute node.

2015-09-11 11:35:29.690 5050 ERROR nova.virt.libvirt.driver [req-92952039-9cf7-49e0-a962-6fa72c77df86 None] [instance: 47763b7c-c10d-42e0-a769-9f70d7d0b05e] Failed to attach volume at mountpoint: /dev/vdc
2015-09-11 11:35:29.722 5050 ERROR nova.virt.block_device [req-92952039-9cf7-49e0-a962-6fa72c77df86 None] [instance: 47763b7c-c10d-42e0-a769-9f70d7d0b05e] Driver failed to attach volume b544cd1c-a18c-43a6-b2e3-8f54db8c2daa at /dev/vdc
2015-09-11 11:35:29.809 5050 ERROR nova.compute.manager [req-92952039-9cf7-49e0-a962-6fa72c77df86 None] [instance: 47763b7c-c10d-42e0-a769-9f70d7d0b05e] Failed to attach b544cd1c-a18c-43a6-b2e3-8f54db8c2daa at /dev/vdc
2015-09-11 11:35:29.945 5050 ERROR oslo.messaging.rpc.dispatcher [req-92952039-9cf7-49e0-a962-6fa72c77df86 ] Exception during message handling: Argument must be bytes or unicode, got 'NoneType'

Any suggestions?

edit retag flag offensive close merge delete

Comments

Check if virsh secret is defined in all compute host. Also, paste nova conf and cinder conf.

Regards

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-09-11 03:03:07 -0600 )edit

I can mount a volume made of LVM to the same instance. Having issue only when mounting volume made of Ceph storage.

Will include the nova.conf and cinder.con contents soon...

Moorthy gravatar imageMoorthy ( 2015-09-11 04:50:09 -0600 )edit

Any update about the issue?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-09-23 04:00:32 -0600 )edit

The compute node is SUSE based QEMU which doesn't support rbd device. 'qemu-img -h' showed the supported devices and it doens't include rbd.

Moorthy gravatar imageMoorthy ( 2015-09-29 01:34:20 -0600 )edit