[Openstack] Cannot Attach Volumes Via Horizon
Ludwig Tirazona
ljtirazona at codebridge.com.ph
Wed Sep 9 10:24:31 UTC 2015
Hello Everyone,
I devstacked a deployment, just for PoC purposes. I have a problem
wherein I can't attach volumes to instances via Horizon, but can do so
via the nova CLI tool, so it seems that Cinder and Nova are set up
properly. Right after attempting to attach a volume, Horizon gives me
this error: "Error: Unable to attach volume."
I took a look at the nova API logs, and I see this log:
2015-09-09 18:01:00.704 DEBUG nova.api.openstack.wsgi
[req-8bde1423-b8cf-4a7f-a743-92c2a5a26ae4 admin admin] Returning 400 to
user: Invalid input for field/attribute device. Value: . u'' does not
match '(^/dev/x{0,1}[a-z]{0,1}d{0,1})([a-z]+)[0-9]*$' from (pid=25349)
__call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1175
It looks like nova-api is looking for a "/dev/something" value for u,
but Horizon only passes a blank value.
The following link has the logs for Horizon.
http://pastebin.com/DiwzW0tD
What can I do to fix this? Inelegant solutions are very much welcome, I
just want this to get working as soon as possible.
Help would be greatly appreciated. Thanks!
More information about the Openstack
mailing list