Hi everyone,<div><br></div><div>I setup a ceph cluster and I use the RBD driver for nova-volume.</div><div>I can create volumes and snapshots but currently I can't attach them to an instance.</div><div>Apparently the volume is detected as busy but it's not, no matter which name I choose.</div>

<div>I tried from horizon and the command line, same issue.</div><div><br></div><div><div>$ nova --debug volume-attach de3743be-69be-4ec3-8de3-fc7df6903a97 12 /dev/vdc  </div><div>connect: (localhost, 5000)</div><div>send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: localhost:5000\r\nContent-Length: 100\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin"}}}'</div>

<div>reply: 'HTTP/1.1 200 OK\r\n'</div><div>header: Content-Type: application/json</div><div>header: Vary: X-Auth-Token</div><div>header: Date: Fri, 25 May 2012 08:29:46 GMT</div><div>header: Transfer-Encoding: chunked</div>

<div>connect: (172.17.1.6, 8774)</div><div>send: u'GET /v2/d1f5d27ccf594cdbb034c8a4123494e9/servers/de3743be-69be-4ec3-8de3-fc7df6903a97 HTTP/1.1\r\nHost: <a href="http://172.17.1.6:8774">172.17.1.6:8774</a>\r\nx-auth-project-id: admin\r\nx-auth-token: 37ff6354b9114178889128175494c666\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'</div>

<div>reply: 'HTTP/1.1 200 OK\r\n'</div><div>header: X-Compute-Request-Id: req-fc7686dd-7dff-4ea2-b2dd-be584dadb7c1</div><div>header: Content-Type: application/json</div><div>header: Content-Length: 1371</div><div>

header: Date: Fri, 25 May 2012 08:29:46 GMT</div><div>send: u'POST /v2/d1f5d27ccf594cdbb034c8a4123494e9/servers/de3743be-69be-4ec3-8de3-fc7df6903a97/os-volume_attachments HTTP/1.1\r\nHost: <a href="http://172.17.1.6:8774">172.17.1.6:8774</a>\r\nContent-Length: 60\r\nx-auth-project-id: admin\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nx-auth-token: 37ff6354b9114178889128175494c666\r\nuser-agent: python-novaclient\r\ncontent-type: application/json\r\n\r\n{"volumeAttachment": {"device": "/dev/vdc", "volumeId": 12}}'</div>

<div>reply: 'HTTP/1.1 200 OK\r\n'</div><div>header: X-Compute-Request-Id: req-4a22f603-4aad-4ae9-99a2-6a7bcacf974f</div><div>header: Content-Type: application/json</div><div>header: Content-Length: 48</div><div>header: Date: Fri, 25 May 2012 08:29:46 GMT</div>

<div>                                                                                                                                                    </div><div>$ echo $?    </div></div><div>0</div><div><br></div><div>

<div>See the logs here:</div><div><a href="http://paste.openstack.org/show/18163/">http://paste.openstack.org/show/18163/</a></div><div><br></div><div>If you need more information let me know :)</div><div>Thank you in advance.</div>

<br>
</div><div>Cheers.</div><div><br></div><div>~Seb</div>