Holodeck Toolkit via VCF Lab Constructor

 View Only

 Encountered error: Failed to write to log file: Cannot bind argument to parameter 'Path' because it is an empty string.

Sebastien Meloche's profile image
Sebastien Meloche posted Oct 01, 2025 10:21 AM

Loaded my config with Get-HolodeckConfig

Then tried a straightforward VCF single site deploy, and got this error

PS /holodeck-runtime/logs> New-HoloDeckInstance -Version "9.0" -WorkloadDomainType "SharedSSO" -NsxEdgeClusterMgmtDomain -NsxEdgeClusterWkldDomain -DeployVcfAutomation -DeploySupervisor -DepotType "Offline"
01-10-2025 14:12:04  PreChecks[412016]: [ERROR] Failed to complete Pre-Checks. Encountered error:
Failed to write to log file: Cannot bind argument to parameter 'Path' because it is an empty string.
Exception: Exiting
PS /root> $error
Exception: Exiting

Add-Content: Cannot bind argument to parameter 'Path' because it is an empty string.

Get-Content: Cannot bind argument to parameter 'Path' because it is null.

Not using dhcp, two dns servers, space seperated in ova config, dunno what else to check.

Dhruv Tyagi's profile image
Broadcom Employee Dhruv Tyagi

Did you run New-HoloDeckConfig command before running the New-HoloDeckInstance command? This will create and load the config in your current powershell session

https://vmware.github.io/Holodeck/#run-holodeck-deployment

You can run $config in your powershell session to check if the config is actually loaded. If you see nothing and you already created the config, you need to run:

Get-HoloDeckConfig - get the config ID, then

Import-HoloDeckConfig -ConfigID <ID from above>