Re: device parameter errors out while attaching a volume in openstack

2015-10-01 Thread anu
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

Re: device parameter errors out while attaching a volume in openstack

2015-10-01 Thread Markos Gogoulos
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

device parameter errors out while attaching a volume in openstack

2015-09-30 Thread anu.bhaskar.babu
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