Hi Markos,
Setting device parameter to None resolved the error. Openstack is now
automatically assigning a device.
driver.attach_volume(instances[0], volumes[0], device = None)
However omitting device parameter resulted in same error.
--
Greetings
Anu Bhaskar
On Thu, 01 Oct
Hi,
I haven't used these functions, but I see on
http://developer.openstack.org/api-ref-compute-v2-ext.html the device
parameter should be provided as
"Name of the device such as, /dev/vdb. Omit or set this parameter to null
for auto-assignment, if supported. If you specify this parameter, the
de
Hi,
While attaching a volume to an instance in Openstack, if I omit the device name
or if I specify the device name as auto, attach_volume call errors out.
Traceback (most recent call last):
File "attach_volume_v1.py", line 44, in
success = driver.attach_volume(instances[0], volumes[0], d