So, the interesting part here is that govc ls is returning the DC folder, while FindFolder does not find it.
I wonder if this is an issue with "finder" method: https://github.com/juju/juju/blob/b911edb7a026e0d97c66dc0b9f15f53c71a1450d/provider/vsphere/internal/vsphereclient/client.go#L137
Or datacenter.Folders() is not returning the entire path: https://github.com/juju/juju/blob/develop/provider/vsphere/internal/vsphereclient/client.go#L110
Maybe we should be using another method to recover DC's absolute path, such as: https://github.com/vmware/govmomi/blob/master/find/finder.go#L162
So, the interesting part here is that govc ls is returning the DC folder, while FindFolder does not find it.
I wonder if this is an issue with "finder" method: /github. com/juju/ juju/blob/ b911edb7a026e0d 97c66dc0b9f15f5 3c71a1450d/ provider/ vsphere/ internal/ vsphereclient/ client. go#L137
https:/
Or datacenter. Folders( ) is not returning the entire path: /github. com/juju/ juju/blob/ develop/ provider/ vsphere/ internal/ vsphereclient/ client. go#L110
https:/
Maybe we should be using another method to recover DC's absolute path, such as: /github. com/vmware/ govmomi/ blob/master/ find/finder. go#L162
https:/