[Bug]: New-HolodeckInstance fails with -DeveloperMode when Cluster has limited view or resource pool
@dhruv-tyagi-broadcom is already working on this.
Since Aug 7, 2026.
- Dominant language
- HTML
- Stars
- 30
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Holorouter Version
9.1
VCF Version
VCF 9.1
Target Type
vCenter Cluster
Describe the bug
Similar to #140, but when deploying New-HolodeckInstance with all appropriate env vars set, including $env:cluster_name = "MY-CLUSTER" the deployment fails with error:
PreChecks[1101]: [ERROR] Failed to verify target host hardware details.
PreChecks[1101]: [ERROR] Cannot process argument transformation on parameter 'Cluster'. Cannot convert value to type System.String.
PreChecks[1101]: [ERROR] Failed to complete Pre-Checks.
This likely happens when a Cluster has a user with limited permissions on it or a Resource Pool. As the table output with Cluster and ResourcePool objects displays multiple entries for the Cluster with the given name.
Per #140 it looks like a Resource Pool can now be selected, but is this exposed via an env var for -DeveloperMode and documented?
Reproduction steps
- Create a vSphere Cluster in vCenter and a user with limited permissions on it
- Set appropriate env vars for your environment per docs
- Attempt a
New-HolodeckInstancedeployment with-DeveloperMode
Expected behavior
The deployment works using the first named instance of the Cluster found, or fails as expected and an env var is exposed for Resource Pool or Cluster MOID or similar?
Relevant logs
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.