500 response received when trying to create volume attachment when volume is in-use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Matt Riedemann | ||
Bug Description
Using latest nova/cinder/
I create a multiattach=False volume and two server instances. I attach the volume to the first instance, it's OK. I tried attaching the same volume to the second instance and it fails. I expected it to fail, but it fails with a 500 error from the Cinder API, which nova doesn't expect so I get a 500 error from Nova's API.
nova-api logs: http://
This is the stacktrace from the cinder-api logs:
hments [req-173ee27b-
hments Traceback (most recent call last):
hments File "/opt/stack/
hments connector=
hments File "/opt/stack/
hments instance_uuid)
hments File "/opt/stack/
hments raise exception.
hments InvalidVolume: Invalid volume: Volume 373c2a29-
hments
.wsgi [req-173ee27b-
I would have expected the ResourceExcepti
Changed in cinder: | |
importance: | Undecided → Medium |
This tempest test also shows the 500 response https:/ /review. openstack. org/#/c/ 459623/.