Closed rikatz closed 2 weeks ago
/ok-to-test
I see we are populating datacenter name in the config secret on supervisor cluster.
datacenters = "datacenter-3"
Can you ensure we do not cause regression in the wcp supervisor due to this change?
I see we are populating datacenter name in the config secret on supervisor cluster.
datacenters = "datacenter-3"
Can you ensure we do not cause regression in the wcp supervisor due to this change?
Are we populating the datacenter this way on supervisor? I don't have an environment right now to check it, may ask some borrowed :)
/hold
I want to wait for https://github.com/vmware/govmomi/pull/3609 to be merged and a new release made, so instead we can bump govmomi here and rely on the new behavior of being able to search by name or moid directly from the library
@rikatz can we have dataceter name in the format for moref? if yes, we need to handle that case as well.
@rikatz can we have dataceter name in the format for moref? if yes, we need to handle that case as well.
yes, new govmomi version on main supports moref now as well. I am waiting them to cut a release to change here, and instead of doing my changes, just a govmomi library bump should be enough
/hold cancel
@divyenpatel I have tested the change here on my environment, passing DC as moid and works fine.
The only required change at this point was to bump govmomi, which I think is safe :)
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: divyenpatel, rikatz
The full list of commands accepted by this bot can be found here.
The pull request process is described here
What this PR does / why we need it: This change allows setting a datacenter MOID instead of inventory path on configuration
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Testing done: With a CAPV cluster, and modified versions of CPI and CSI, testing workflows like:
Special notes for your reviewer:
Release note: