vmware / vmware/Holodeck

[Bug]: Can't deploy towards vCenter server with vDS port group

Open
#176 1 comment 0 reactions 1 assignee View on GitHub

@dhruv-tyagi-broadcom is already working on this.

Since Sep 18, 2026.

bug Workaround provided
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

When trying to deploy v9.1 using a vDS, the documentation screenshot states the Promiscuous mode as Reject and MAC learning enabled.
This is the correct setup. However the Precheck checks the Promiscuous mode instead of the maclearning status.

Image
Reproduction steps
  1. Do a new deployment towards a vCenter server with vDS
Expected behavior

To install correctly.

Relevant logs

Additional context

Workaround:
Set-vdSecurityPolicy -AllowPromiscuous:$false before starting deployment.
change to Set-vdSecurityPolicy -AllowPromiscuous:$true after check is complete

Fix:

Precheck.psm1:

1536   $port_group_security_settings = $port_group.ExtensionData.Config.DefaultPortConfig.SecurityPolicy
+1537  $port_group_maclearning_settings = $port_group.ExtensionData.Config.DefaultPortConfig.MacManagementPolicy.MacLearningPolicy

-1539 if($port_group_security_settings.AllowPromiscuous.Value -eq $false){
-1540 Write-Log -Message "Selected trunk port group $($selectedPortGroup.Name) has promiscuous mode security policy set to Reject. This needs to be set to Accept before deploying HoloDeck" -Level "ERROR"

+1539 if ($port_group_maclearning_settings.Enabled -eq $false){
+1540 Write-Log -Message "Selected trunk port group $($selectedPortGroup.Name) has macLearning status set to Disabled. This needs to be set to Enabled before deploying HoloDeck" -Level "ERROR"


1665   $port_group_security_settings = $port_group.ExtensionData.Config.DefaultPortConfig.SecurityPolicy
+1666  $port_group_maclearning_settings = $port_group.ExtensionData.Config.DefaultPortConfig.MacManagementPolicy.MacLearningPolicy

-1667 if($port_group_security_settings.AllowPromiscuous.Value -eq $false){
-1668 Write-Log -Message "Selected trunk port group $($selectedPortGroup.Name) has promiscuous mode security policy set to Reject. This needs to be set to Accept before deploying HoloDeck" -Level "ERROR"

+1667 if ($port_group_maclearning_settings.Enabled -eq $false){
+1668 Write-Log -Message "Selected trunk port group $($selectedPortGroup.Name) has macLearning status set to Disabled. This needs to be set to Enabled before deploying HoloDeck" -Level "ERROR"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.