ESXi Host profiles fail to apply when using a FCoE Adapter - Error: Unexpected error updating task config spec: 'vmnic'
search cancel

ESXi Host profiles fail to apply when using a FCoE Adapter - Error: Unexpected error updating task config spec: 'vmnic'

book

Article ID: 342315

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • In vCenter Server, applying a host profile fails with the following errors:

    All "HostProfileManager.GenerateConfigTaskList" for object "HostProfileManager" on vCenter Server "#########" failed.
    Unexpected error updating task config spec: 'vmnic2'

  • Running the esxcli network nic list command displays other NICs correctly but not the FCoE adapters
  • Running the esxcfg-fcoe -l command shows the adapters correctly
  • ESXi: In the /var/log/syslog.log file

    <YYYY-MM-DD>T<time> Host Profiles[921876]: WARNING: Exception while updating task config spec. Backtrace:
    File "/build/mts/release/bora-1918656/bora/build/esx/release/python-2.6-lib-zip-stage/1918656/visor/pylib/python2.6/site-packages/hostprofiles/pyEngine/hostprofilemanager.py", line 711, in UpdateTaskConfigSpec
    File "/build/mts/release/bora-1918656/bora/build/esx/release/python-2.6-lib-zip-stage/1918656/visor/pylib/python2.6/site-packages/hostprofiles/pyEngine/hostprofile.py", line 141, in UpdateTaskConfigSpec
    File "/build/mts/release/bora-1918656/bora/build/esx/release/python-2.6-lib-zi
    p-stage/1918656/visor/pylib/python2.6/site-packages/hostprofiles/pyEngine/profile.py", line 390, in UpdateGenericSubprofileConfigSpec
    File "/build/mts/release/bora-1918656/bora/build/esx/release/python-2.6-lib-zip-stage/1918656/visor/pylib/python2.6/site-packages/hostprofiles/pyEngine/genericProfileBridge.py", line 975, in UpdateTaskConfigSpec
    File "/build/mts/release/bora-1918656/bora/build/esx/release/python-2.6-lib-zip-stage/1918656/visor/pylib/python2.6/site-packages/hostprofiles/pyEngine/genericProfileBridge.py", line 903, in _RecurseGenerateTaskList
    File "/build/mts/release/bora-1918656/bora/build/esx/release/python-2.6-lib-zip-stage/1918656/visor/pylib/python2.6/site-packages/hostprofiles/pyEngine/genericProfileBridge.py", line 903, in _RecurseGenerateTaskList
    File "/build/mts/release/bora-1918656/bora/build/esx/release/python-2.6-lib-zip-stage/1918656/visor/pylib/python2.6/site-packages/hostprofiles/pyEngine/genericProfileBridge.py", line 849, in _RecurseGenerateTaskList
    File "/usr/lib/hostprofiles/plugins/fcoe/fcoeProfiles.py", line 224, in GenerateTaskList
    driverMap)
    File "/usr/lib/hostprofiles/plugins/fcoe/fcoeProfiles.py", line 174, in _GetActivationTask
    'Driver' : driverMap[adapter['FCOE NIC Name']],^@
    </time><YYYY-MM-DD>T<time></time> Host Profiles[921876]: WARNING: excObj is unknown type

 

Environment

VMware vCenter Server 7.x
 

Cause

This issue occurs when applying the host profile to a host with FCoE adapters. The host executes the command esxcli network nic list to confirm the NICs are present. If this fails to report the NICs present, the host profile fails to apply.

As the FCoE adapters do not appear in the output of esxcli network nic list, applying the host profile fails.

Resolution

Currently, there is no resolution.

Workaround

Disable the software FCoE configuration within the host profile to allow the host profile to be apply correctly.