Cannot attach volume to a particular instance

asked 2014-08-26 08:45:13 -0500

hbayindir gravatar image

I have created a 2TB volume in our OpenStack frontend and wanted to attach the volume to a particular VM. When attach request is made for the particular instance, the request times out with a mount failed result.

I reached out to our openstack administrator and he replied that cinder, nova, qemu & libvirt doesn't log anything. He tried to attach device via command-line and got the response:

nova volume-attach 9bd49b30-4ce7-4c8a-82af-fa4bfe8a31a0 cd3d9bb4-63b1-4b74-8809-278d4f51eee1 auto
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-779d574bdb51-4738-8d55-500c3deb74b3)

Problem is isolated into one VM and probably something strange is going on in the VM's OS. However, the VM doesn't log anything when I try to attach a volume. Funny thing is I can attach the volume to other instances and the problematic instance has already an attached volume.

edit retag flag offensive close merge delete


add --debug to the command so you can get more output, it may have useful information on why it is failing.

mpetason gravatar imagempetason ( 2014-08-26 10:27:42 -0500 )edit