Unable to add ESXI host to DVS -error "A specified parameter was not correct: HostInfrastructureTrafficResource.Key"
search cancel

Unable to add ESXI host to DVS -error "A specified parameter was not correct: HostInfrastructureTrafficResource.Key"

book

Article ID: 388715

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Unable to add ESXI host to DVS
  • Successfully able to add ESXI host to new DVS in the same vCenter
  • DVS might report "out of sync" for all ESXi hosts

Sample log snippets :

1. vpxd.log - Following log entry is recorded when the task of adding host to DVS fails with same error.

2025-02-12T08:00:03.507Z error vpxd[3096284] [Originator@6876 sub=Default opID=m3XXXd7i-42XXXXX-auto-2iqbh-h5:70713845-12] [VpxLRO] -- ERROR task-751006 -- 5
2XXXXXX-eXXX-XXX0-1XXX-d6c93977XXXX(5XXXXXXX-eaac-XXXX-95ce-XXXXXX476b72) -- dvs-14165 -- vim.DistributedVirtualSwitch.reconfigure: :vim.fault.DvsOperationBu
lkFault
--> Result:
--> (vim.fault.DvsOperationBulkFault) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = <unset>,
-->    hostFault = (vim.fault.DvsOperationBulkFault.FaultOnHost) [
-->       (vim.fault.DvsOperationBulkFault.FaultOnHost) {
-->          host = 'vim.HostSystem:XXXX66bc-XXXX-4XX4-aeXX-3f172XXXXXXX:host-22260',
-->          fault = (vmodl.fault.InvalidArgument) {
-->             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 = "vmodl.fault.InvalidArgument"
-->                      },
-->                      (vmodl.KeyAnyValue) {
-->                         key = "msg",
-->                         value = "Received SOAP response fault from [<<io_obj p:0x00007f635801bb88, h:162, <UNIX ''>, <UNIX '/var/run/envoy-hgw/hgw-pipe'>
>, /hgw/host-22260/vpxa>]: invokeHostTransactionCall
--> Received SOAP response fault from [<<io_obj p:0x0000004d27e886a0, h:24, <TCP '127.0.0.1 : 34562'>, <TCP '127.0.0.1 : 8307'>>, /sdk>]: invokeHostTransacti
onCall
--> A specified parameter was not correct: HostInfrastructureTrafficResource.Key"
-->                      },
-->                      (vmodl.KeyAnyValue) {
-->                         key = "host",
-->                         value = "saesxd1018.hraqa.dtcc.com"
-->                      }
-->                   ],
-->                   message = <unset>
-->                }
-->             ],
-->             invalidProperty = "HostInfrastructureTrafficResource.Key"
-->             msg = "Received SOAP response fault from [<<io_obj p:0x00007f635801bb88, h:162, <UNIX ''>, <UNIX '/var/run/envoy-hgw/hgw-pipe'>>, /hgw/host-2
2260/vpxa>]: invokeHostTransactionCall

2. hostd.log - This log reports the entire DVS config collected while adding ESXI host to DVS and the error when the operation fails.

2025-02-12T08:00:03.425Z In(166) Hostd[2099363]: [Originator@6876 sub=Libs opID=m3XXXd7i-42XXXXX-auto-2iqbh-h5:X07XXX5-12-XX-beXX sid=52ade9a9 user=vpxuser:VSPHERE.LOCAL\Administrator] DVPortImpl: There is no vswitch security property installed on dvport
2025-02-12T08:00:03.426Z In(166) Hostd[2099363]: [Originator@6876 sub=Libs opID=m3XXXd7i-42XXXXX-auto-2iqbh-h5:X07XXX5-12-XX-beXX sid=52ade9a9 user=vpxuser:VSPHERE.LOCAL\Administrator] DVPortImpl: There is no vswitch security property installed on dvport
2025-02-12T08:00:03.430Z Wa(164) Hostd[2099363] [Originator@6876 sub=Default opID=m3XXXd7i-42XXXXX-auto-2iqbh-h5:X07XXX5-12-XX-beXX sid=52ade9a9 user=vpxuser:VSPHERE.LOCAL\Administrator] Duplicate resource pool backupNfc on switch 5X x1 0x XX 0X xx XX dX-9x XX xx XX Xa XX xx XX

3. hostd.log - Reviewing this log entry helps identify the duplicate resource pools.

2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          key = "backupNfc",
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          allocationInfo = (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource.ResourceAllocation) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             limit = -1,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             shares = (vim.SharesInfo) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                shares = 50,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                level = "normal"
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             reservation = 0
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          key = "nvmetcp",
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          allocationInfo = (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource.ResourceAllocation) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             limit = -1,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             shares = (vim.SharesInfo) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                shares = 50,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                level = "normal"
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             reservation = 0
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          key = "backupNfc",
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          description = "vSphere Backup NFC Traffic Type",       --------->>> Original Resource Pool
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          allocationInfo = (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource.ResourceAllocation) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             limit = -1,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             shares = (vim.SharesInfo) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                shares = 50,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                level = "normal"
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             reservation = 0
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          }
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          key = "nvmetcp",
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          description = "vSphere nvmetcp Traffic Type",      ------------>>> Original Resource Pool
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          allocationInfo = (vim.DistributedVirtualSwitch.HostInfrastructureTrafficResource.ResourceAllocation) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             limit = -1,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             shares = (vim.SharesInfo) {
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                shares = 50,
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->                level = "normal"
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             },
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->             reservation = 0
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->          }
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->       }
2025-02-12T08:00:03.449Z Db(167) Hostd[2099345]: -->    ],

 

Environment

ESXi version 8.0.x

vCenter server 8.0.x

Cause

  • Due to duplicate resource pools with the same name on the DVS, the operation of adding ESXi host fails with the error -HostInfrastructureTrafficResource.Key
  • The following can be validated by checking the list of resource pools on impacted DVS :

Navigate in vCenter UI --> DVS >> Configure >> Resource allocation >> System Traffic

  • By default, DVS creates this list of resource pools with a description ( Note: number of resource pools may differ as per DVS version).
     "backupNfc",
     "nvmetcp",
     "vdp",
     "hbr",
     "nfs",
     "virtualMachine",
     "iSCSI",
     "vmotion",
     "vsan",
     "faultTolerance",
     "management"
  • In VCDB, the description of the two duplicate pools is null. This proves that these are not created by code.

Resolution

Contact Broadcom support to validate and remove the duplicate resource pool from VCDB. For more information, see Creating and managing Broadcom support cases.