Host profiles fail to apply when using a FCoE Adapter
search cancel

Host profiles fail to apply when using a FCoE Adapter

book

Article ID: 342315

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • In vCenter Server, applying a host profile fails
  • You see the error:

    All "HostProfileManager.GenerateConfigTaskList" for object "HostProfileManager" on vCenter Server "xxxxxxxxx" 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
  • In the /var/log/syslog.log file, you see entries similar to:

    <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

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.


Environment

VMware vCenter Server 5.1.x
VMware vCenter Server 5.0.x
VMware vCenter Server 6.0.x
VMware vCenter Server 5.5.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

This is a known issue affecting VMware vCenter Server 5.x and 6.0.

Currently, there is no resolution.

To work around this issue, disable the Software FCoE Configuration within the host profile, this allows the host profile to apply correctly.

Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions box..
FCoE アダプタを使用するときにホスト プロファイルの適用に失敗する