VxRail:使用外部 vCenter 7.0 更新 2 的初始配置失败,并显示错误:未能将主机添加到 VDS VMware HCIA 分布式交换机

Summary: 本文介绍了使用外部 vCenter 7.0 更新 2 时 VxRail 初始配置或首次运行可能会失败的问题。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

尝试使用外部 vCenter 7.0 更新 2 执行 VxRail 版本 4.7.300 - 4.7.411 或 7.0.000 - 7.0.101 的初始配置(或首次运行)时,您可能会遇到以下情况:

  • Dell Technologies VxRail 部署向导 UI 显示消息”VxRail Cluster Configured Failed" 在“主机添加到 VDS”步骤中
  • Dell EMC VxRail 部署向导 UI 中显示以下错误:
    Failed to add host xxx to VDS VMware HCIA Distributed Switch yyy
    VxRail 部署向导
  • 执行“重新配置 vSphere 分布式交换机”任务时,vCenter UI 显示以下错误:
    The operation is not supported on the object. Host xxx is not compatible with the VDS version 7.0.2
    部署错误的屏幕截图 
  • 在 VxRail Manager 中的 /var/log/microservice_log/dayone.log 日志文件中,您可能会看到类似以下内容的错误:
    2021-04-29-11:08:23 microservice.do-network "do_common.exceptions.OperationException: OperationException: {""message"": ""Add host lab-02-169-02.crk-lab.local to vds VMware HCIA Distributed Switch ck-vsan-stretch-13g 8a9642 did not complete successfully: (vmodl.fault.NotSupported) {\n dynamicType = ,\n dynamicProperty = (vmodl.DynamicProperty) [],\n msg = 'The operation is not supported on the object.',\n faultCause = ,\n faultMessage = (vmodl.LocalizableMessage) [\n (vmodl.LocalizableMessage) {\n dynamicType = ,\n dynamicProperty = (vmodl.DynamicProperty) [],\n key = 'com.vmware.vim.vpxd.dvs.notSupportedHostVersion.label',\n arg = (vmodl.KeyAnyValue) [\n (vmodl.KeyAnyValue) {\n dynamicType = ,\n dynamicProperty = (vmodl.DynamicProperty) [],\n key = 'host',\n value = 'xxxxxxx.xxxxx.local'\n },\n (vmodl.KeyAnyValue) {\n dynamicType = ,\n dynamicProperty = (vmodl.DynamicProperty) [],\n key = 'version',\n value = '7.0.2'\n }\n ],\n message = 'Host lab-02-169-02.crk-lab.local is not compatible with the VDS version 7.0.2'\n }\n ]\n}"", ""bundle"": """", ""prefix"": ""do_common.exceptions.OperationException"", ""key"": """", ""field"": """", ""error_code"": ""0"", ""exit_code"": ""-1"", ""params"": []}"

Cause

vCenter 7.0 更新 2 引入了新的 vDS 版本 7.0.2。

随附的 ESXi 内部版本:
  • VxRail 4.7.300 - 4.7.411 随附的 ESXi 内部版本支持的最高 vDS 版本为 6.6.0。
  • VxRail 7.0.000 - 7.0.101 随附的 ESXi 内部版本支持的最高 vDS 版本为 7.0.0。

在初始配置期间,VxRail Manager 中的 VxRail 部署向导:
  • 使用该 vCenter 内部版本提供的最新版本(即 vDS 7.0.2)创建新 vDS
  • 尝试将 VxRail 主机添加或注册到新 vDS
  • 此步骤失败,因为无法将那些 ESXi 内部版本(支持最高 vDS 版本为 6.6.0 或 7.0.0)添加到 vDS 版本 7.0.2

Resolution

此问题已在 VxRail 版本 4.7.510 和 7.0.130 中得到解决。

修复可确保在初始配置中创建的 vDS 版本适合该 VxRail 版本随附的 ESXi 内部版本:
  • 对于 VxRail 4.7.510 及更高版本,vDS 版本将为 6.6.0
  • 对于 VxRail 7.130 及更高版本,vDS 版本将为 7.0.0
 

解决方法

VxRail 工程部门已创建一个脚本并附加到本文,在部署过程中发生错误后,该脚本可用于在 VxRail Manager 上修改 vDS 版本。

要解决此问题,请执行以下操作:
  • 确保您处于部署失败并显示上面的屏幕截图中的错误的位置,并且没有进行其他尝试来纠正此问题。否则,脚本可能会中断该过程。
  • 将附加的 python 脚本上传到 VxRail Manager。
  • 以根用户身份运行脚本:
    python vds_redeploy_7_0_010.py -a "VCENTER-IP-OR-FQDN" -u "VCENTER-ADMIN-USER" -p VCENTER-ADMIN-USER-PASSWORD -n "VDS-SWITCH-NAME-FROM-VCENTER-UI" -v 7.0.0
    
    Where:
    -a = vCenter IP or FQDN
    -u = vCenter administrator user
    -p = Password
    -u = vDS which is currently at version 7.0.2 that we are trying to add the hosts too, name will likely include spaces so enclose in double quotes
    -v = vDS version to set the switch too, in this case we need to change it from a 7.0.2 vDS to a 7.0.0 vDS to allow us to add pre-7.0u2 hosts to it
    
    Example:
    python vds_redeploy_7_0_010.py -a "172.16.10.201" -u "administrator@vsphere.local" -p Password123! -n "VMware HCIA Distributed Switch ck-vsan-stretch-13g 8a9642" -v 7.0.0
    Go back to initial configuration / deployment web UI and click "TRY AGAIN".

Affected Products

VxRail Software

Products

VxRail, VxRail Appliance Family, VxRail Appliance Series
Article Properties
Article Number: 000185996
Article Type: Solution
Last Modified: 03 Jul 2025
Version:  13
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.