Skip to content

Unable to add VMQ Setting via Powershell, if the Adapter Policy with VXLAN Enabled (Win-HPN) is used #173

Closed
@rfiodv

Description

@rfiodv

Describe the bug
If you try to set VMQ settings via Powershell and you use the adapter policy Win-HPN, you get an error message (see below) “Cannot enable VXLAN and VMQ simultaneously on Virtual Ethernet Interface”
The whole behavior only occurs with the Powershell, if you do the whole thing via the Intersight WebUI, this operation works without problems.
What is the problem for us now is that we need this setting to be set automatically and according to the Cisco instructions it is also intended.
https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/ucs-manager/GUI-User-Guides/Network-Mgmt/4-3/b_UCSM_Network_Mgmt_Guide_4_3/b_UCSM_Network_Mgmt_Guide_chapter_01010.html
Chapter VMMQ Connection Policy

Translated with DeepL.com (free version)

To Reproduce
Steps to reproduce the behavior

  • PowerShell code snippet (when possible)
    `$vmqsetting = Initialize-IntersightVnicVmqSettings -Enabled $true -NumSubVnics 64 -VmmqAdapterPolicy "MQ"

    $vnic = New-IntersightVnicEthIf -Cdn $Cdn -Name "vNIC0" -MacPool $MACPool -EthAdapterPolicy $EthAdapterPolicyRef -EthQosPolicy $EthQoSRef -FabricEthNetworkControlPolicy $EthNetworkControlPolicyRef -FabricEthNetworkGroupPolicy @($EthNetworkGroupPolicyRef) -Placement $vNICPlacement -LanConnectivityPolicy $LanConnectivityRef -PinGroupName $PinGroupName -VmqSettings $vmqsetting

Line |
77 | … $vnic = New-IntersightVnicEthIf -Cdn $Cdn -Name "vNIC0" -M …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Error calling CreateVnicEthIf: {"code":"InvalidRequest","message":"Cannot enable VXLAN and VMQ simultaneously on Virtual Ethernet Interface
| 'vNIC0'.","messageId":"ethif_vxlan_vmq_enabled","messageParams":{"1":"vNIC0"},"traceId":"shortened"}

`
Version used

  • Intersight PowerShell Module version? - 1.0.11.17956
  • Intersight Appliance Version (if using an Intersight Appliance as target) - Intersight EU SaaS

Expected behavior
Able to Set VMQ Settings while Win-HPN Adapter Policy is used.

Screenshots
Screenshot from the Intersight UI with manuelly added VMQ Settings
Bildschirmfoto 2024-11-14 um 08 21 29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions