Error: Additional vSwitch found during host profile compliance in vSphere 8.0.
search cancel

Error: Additional vSwitch found during host profile compliance in vSphere 8.0.

book

Article ID: 440664

calendar_today

Updated On:

Products

VMware vSphere ESX 8.x VMware vSphere ESXi

Issue/Introduction

When applying host profile to an ESXi host following behavior is observed :

  • When standard switches are selected in the host profile, they will be created if they don't exist on ESXI host.
  • When standard switches are unselected in the host profile, they will be removed if they exist on ESXI host.
  • If the host has an additional standard vswitch, the host profile compliance will pick this up.

"Additional vSwitch(es) vSwitchBMC found" Here remediation task will remove this vswitch.

Environment

VMware vSphere 8.0

Cause

The host profile operates as per the configuration of the reference host's from where the host profile was initially extracted.

In vSphere 8, vSphere Configuration Profiles (VCP) utilize a strict, cluster-level declarative JSON model to manage desired state. To prevent configuration drift, top-level network objects, such as standard virtual switches must be explicitly declared within this desired state profile.

The compliance check will compare configuration between the host-profile and the attached ESXI host ( regardless of select/de-select option).There is no option of "ignore" for any component in vSphere 8.0.

The remediation task , will modify as per the desired state of the host profile.

  • Deselect option , shall remove the component if it exist already on ESXI host and will not perform any action if it does not exist.
  • Select option , will create the component if it does not exist on ESXi host as per below condition on vswitch policy

        Example: 

         Pre-remediation check will report changes that will be implemented post remediation:

Resolution

In order to achieve, the goal of ignoring standard switches ( no modification on current settings of ESXI host) :

  •  Try to uncheck the [ ] against the parent  item "Network Configuration"

[or]

 

If you believe you have encountered this issue, open a support case with Broadcom Support and refer to this KB article.

For more information, see Creating and managing Broadcom support cases.

Additional Information

Reference Articles:

network configuration reverted/removed after applying host profile

How Do You Deactivate a Host Profile Component or Sub-profile?