| Summary: | esx driver: failed to access datastore (/folder) on virtualcenter with paths | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Juan Carlos Moreno <juancarlos.moreno> | ||||
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | crobinso, eblake, matthias.bolte, xen-maint | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-03-23 13:33:37 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Juan Carlos Moreno
2011-08-23 09:57:41 UTC
Thanks for the bugreport and the patch; I don't see it attached, though? Created attachment 519578 [details]
patch for dcPath
the patch.
You may get faster review if you also send your patch upstream, to libvir-list The common vpx:// URI format is like this vpx://[username@]hostname[:port]/[datacenter[/cluster]/server] The actual problem here is that the driver doesn't handle folders yet. In your case the correct URI should look like this once the driver can handle folders vpx://vcenterIP/OWN/MYDC1/CLUSTER/esx001?no_verify=1 and OWN/MYDC1 is the datacenter part. As you can probably create folders (and even nest them) on all levels of the datacenter/cluster/server path the driver needs to deal with complexer paths. Your patch works around this by adding a query parameter. That's fine for your special case. But the general solution will be to make the URI path handling aware of folders. I'll have a look at that. I posted a patch to the mailing list that allows you to specify folders in the path of the connection URI as suggested: https://www.redhat.com/archives/libvir-list/2011-September/msg00345.html While implementing this I found a bug in the driver and fixed it. This patch is a prerequisite for the first one: https://www.redhat.com/archives/libvir-list/2011-September/msg00344.html Hi Matthias, ok, thank you. I'will try it! Best regards, Juan Carlos Moreno juancarlos.moreno Project Manager That patch was pushed upstream:
commit 23247a1efd9ab41204e434aaf6798b7f807c4c31
Author: Matthias Bolte <matthias.bolte>
Date: Tue Nov 1 17:12:37 2011 +0100
esx: Support folders in the path of vpx:// connection URIs
|