NSX Edge vxlan trunk configuration fails
search cancel

NSX Edge vxlan trunk configuration fails

book

Article ID: 318759

calendar_today

Updated On:

Products

VMware NSX Networking

Issue/Introduction

Symptoms:
  • Unable to add the trunk sub-interface (logical switch) with multicast IP address (multicast or hybrid control plane mode) where the last 3 octets are over 99 (For example: 27.227.120.107) to the NSX Edge.
  • You see the error:

    Job running for "NSX Edge Vnic" module failed due to some error,
    Please refresh the current UI.


    Note: For additional symptoms and log entries, see the Additional Information section.


Environment

VMware NSX for vSphere 6.2.x
VMware NSX for vSphere 6.0.x
VMware NSX for vSphere 6.1.x

Cause

This issue occurs due to a parsing error.

Resolution

This issue is resolved in:
To work around this issue if you do not want to upgrade, do not use multicast IP range for logical switches in hybrid or multicast control plane mode where last 3 octets are above the value of 99.

Additional Information

You experience these additional symptoms:
  • Inspecting the Job(s) failed, on the Details field, you see the error:

    Operation failed on VC. For more details, refer to the rootCauseString or the VC logs Root Cause: The task failed on VC. For more details, refer to the rootCauseString or the VC logs
  • In the C:\ProgramData\VMware\VMware VirtualCenter\Logs\vpxd.log file, you see entries similar to:

    2017-01-26T09:55:38.687-08:00 info vpxd[07184] [Originator@6876 sub=Default opID=5f567201] [VpxLRO] -- ERROR task-129241 -- DVSManager -- vim.dvs.DistributedVirtualSwitchManager.updateOpaqueDataEx: vim.fault.DvsOperationBulkFault:
    --> Result:
    --> (vim.fault.DvsOperationBulkFault) {
    --> faultCause = (vmodl.MethodFault) null,
    --> faultMessage = (vmodl.LocalizableMessage) [
    --> (vmodl.LocalizableMessage) {
    --> key = "com.vmware.vim.vpxd.dvs.dvsBulkHostFault.label",
    --> arg = (vmodl.KeyAnyValue) [
    --> (vmodl.KeyAnyValue) {
    --> key = "fault",
    --> value = "vim.fault.DvsApplyOperationFault"
    --> },
    --> (vmodl.KeyAnyValue) {
    --> key = "msg",
    --> value = "Received SOAP response fault from [<cs p:000000000aaade30, TCP:esxi6-03.virtual.hci:443>]: invokeHostTransactionCall
    --> Received SOAP response fault from [<cs p:1f3cabb8, TCP:localhost:8307>]: invokeHostTransactionCall
    --> fault.DvsApplyOperationFault.summary"
    --> },
    --> (vmodl.KeyAnyValue) {
    --> key = "host",
    --> value = "esxi6-03.virtual.hci"
    --> }
    --> value = "com.vmware.net.vxlan.trunkcfg"
    --> },
    --> (vmodl.KeyAnyValue) {
    --> key = "3",
    --> value = "131"
    --> },
    --> (vmodl.KeyAnyValue) {
    --> key = "4",
    --> value = "195887111"
    --> }
    --> ],
    --> message = "A problem occured while setting dvPort 128 and data com.vmware.net.vxlan.trunkcfg. The data length is 131 and the error number is 0x195887111."
    --> }
    --> ],
    --> text = ""
    --> msg = "An error occurred during host configuration."
    --> }
    --> }
    --> ],
  • In the /var/log/vmkernel.log file of the affected ESXi host, you see entries similar to:

    2017-01-26T09:55:38.682Z cpu1:37607 opID=5cf8b6d3)WARNING: vxlan: VDL2ParseTrunkCfgMember:276: Failed to parse property 'trunkMem_0_McastIp=227.227.120.107': extra data after value.
    2017-01-26T09:55:38.682Z cpu1:37607 opID=5cf8b6d3)WARNING: vxlan: VDL2PortTrunkCfgParse:370: Invalid trunkcfg, parsing failed
    2017-01-26T09:55:38.682Z cpu1:37607 opID=5cf8b6d3)WARNING: vxlan: VDL2PortPropSet:795: Failed to set trunkcfg property for port[0x400001e] on VDS[DvsPortset-0] : Bad parameter
  • Running the show log manager command on the NSX Manager, you see entries similar to:

    Caused by: com.vmware.vshield.vsm.inventory.vcoperations.VcTaskFailureException: core-services:1501:The task failed on VC. For more details, refer to the rootCauseString or the VC logs:Cannot complete a vSphere Distributed Switch operation for one or more host members.
    inherited from com.vmware.vim.binding.vim.fault.DvsOperationBulkFault: Cannot complete a vSphere Distributed Switch operation for one or more host members.


    Notes:
    • This does not happen if multicast IP address for the last 3 octets is 99 or below (For example: 227.99.99.99).
    • The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box.

简体中文:NSX Edge vxlan 中继配置失败