You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
execute following volume creation command where 'abc' is not a valid datastore name in the inventory
# docker volume create --driver=vmdk --name=MyVol22334@abc -o size=1gb
Error response from daemon: create MyVol22334@abc: VolumeDriver.Create: Server returned an error: TypeError('can only join an iterable',)
Expectation: proper error message should be return to let user know that supplied datastore is not exist
on ESX (vmdk_ops.log):
12/13/16 21:02:37 2663252 [Thread-102] [ERROR ] Unhandled Exception:
Traceback (most recent call last):
File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 1310, in execRequestThread
opts=opts)
File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 693, in executeRequest
% (datastore, ", ".join(get_datastore_names_list), vm_datastore))
TypeError: can only join an iterable
12/13/16 21:02:37 2663252 [Thread-103] [ERROR ] Unhandled Exception:
Traceback (most recent call last):
File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 1310, in execRequestThread
opts=opts)
File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 693, in executeRequest
% (datastore, ", ".join(get_datastore_names_list), vm_datastore))
TypeError: can only join an iterable
The text was updated successfully, but these errors were encountered:
pdhamdhere
changed the title
Meaningful error should be returned while using full volume name for volume creation and datastore is not exist with that name
Return list of allowed datastores if datastore does not exist in volume create command
Feb 15, 2017
Steps to reproduce:
Expectation: proper error message should be return to let user know that supplied datastore is not exist
on ESX (vmdk_ops.log):
The text was updated successfully, but these errors were encountered: