-
Notifications
You must be signed in to change notification settings - Fork 95
Support case-insensitive match for datastore names #1712
Comments
To clarify - this issue is to support datastore names like vsanDatastore. if Docker passes us a volume name all lowcase e.g.
|
If we plan to go with top priority fix, i.e. match vsandatastore with vsanDatastore: The fix would be to do a case insensitive match on ESX-side code. The obvious follow-up question is how do we handle two datastores with same name but different cases mounted on ESX:
In such a case should we return an error ? We cannot issue just a warning because we need to make a choice out of the available datastores. |
Here's my suggestion:
Comments? |
It is more harmful than going with no fix + document known issue. how can we just assume it is |
Unfortunately is won't help for names like Datastore1 or MyDS so the bug will stay.
Makes sense. Something like this. right:
|
@shuklanirdesh82 we want to make sure at least the default configuration will work. @msterin Yes, you are right. It won't help for names like Datastore1 or MyDS. Shahzeb and I had some discussion offline. We will sync up with you. |
Docker, by default, turns volume names to lower-case before providing it to the vDVS plugin on Windows. For example, the volume name in
docker volume create --driver=vsphere vol@vsanDatastore
is transformed tovol@vsandatastore
in Docker API requests, causing a failure. Therefore, we should employ a first-match (or any other) mechanism on the VMDKOps Service and still enable volume creation onvsanDatastore
for a better customer experience./cc @msterin
The text was updated successfully, but these errors were encountered: