VxRail:无法升级磁盘格式版本

Summary: 由于 vSAN 运行状况文件夹和文件的权限不正确,虚拟存储区域网络 (VSAN) 磁盘上格式版本升级失败。升级到版本 8.0.x 后,vCenter 上会发生这种情况,并显示指示 InvalidArgument 和 taskType 问题的错误消息。

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

已看到以下症状:

  • 无法升级 vSAN On-Disk 格式版本。
  • vSAN 群集升级到 8.0.x 后,磁盘上的 vSAN 仍使用较旧版本。
  • 升级失败,并显示通用消息。
  • 观察到有关 Skyline 运行状况的警告。
  • 升级预检查通过且没有任何问题,但从 UI 和 CLI 升级仍然失败。

日志和错误消息包括:
 

2025-04-25 11:14:21 +0000: Running precondition checks ...
2025-04-25 11:14:21 +0000: Passed precondition checks
2025-04-25 11:14:21 +0000: 
2025-04-25 11:14:21 +0000: Target file system version: v20
2025-04-25 11:14:21 +0000: Disk mapping decommission mode specified: evacuateAllData
2025-04-25 11:14:24 +0000: Upgrade tool stopped due to error, please address reported issue and re-run the tool again to finish upgrade.
 
2025-05-14T06:23:52.737Z ERROR vsan-mgmt[1402576] [VsanVcDiskFormatConverterImpl::_Run opID=agw-0115827-5ae9] Disk conversion thread met unexpected error
 
2025-05-14T06:23:52.736Z error vpxd[3650220] [Originator@6876 sub=Default opID=agw-0115827-5ae9-de] [VpxLRO] -- ERROR lro-67767942 -- 52659c5f-95b0-81a2-b8d6-7dee662b049c(528072e2-5dae-18a2-f03c-a3ab99f6905f) -- TaskManager -- vim.TaskManager.createTask: :vmodl.fault.InvalidArgument

 

Cause

这是因为 vCenter 上的 vSAN 运行状况文件夹和文件的权限不正确。 

 vSAN 运行状况服务日志:

2025-05-14T06:23:52.737Z ERROR vsan-mgmt[1402576] [VsanVcDiskFormatConverterImpl::_Run opID=agw-0115827-5ae9] Disk conversion thread met unexpected error
Traceback (most recent call last):
  File "bora/vsan/diskmgmt/vpxd/pyMoVsan/VsanVcDiskFormatConverterImpl.py", line 4201, in _Run
  File "bora/vsan/diskmgmt/vpxd/pyMoVsan/VsanVcDiskFormatConverterImpl.py", line 4956, in ConvertDisks
  File "bora/vsan/diskmgmt/vpxd/pyMoVsan/VsanVcDiskFormatConverterImpl.py", line 4385, in _RemediateBeforeConversion
  File "bora/vsan/clustermgmt/vpxd/VsanClusterPrototypeImpl.py", line 1252, in RemediateVsanCluster
  File "bora/vsan/clustermgmt/vpxd/VsanClusterPrototypeImpl.py", line 1268, in _RemediateVsanCluster
  File "bora/vsan/clustermgmt/vpxd/VsanClusterPrototypeHelper.py", line 28, in __init__
  File "bora/vsan/health/vpxd/pyMoVsan/VsanVcExtension.py", line 623, in CreateTaskWithTag
  File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 618, in 
  File "/usr/lib/vmware/site-packages/pyVmomi/VmomiSupport.py", line 391, in _InvokeMethod
PyCppVmomi.vmodl.fault.InvalidArgument: (vmodl.fault.InvalidArgument) {
  msg = 'Received SOAP response fault from [<, /sdk>]: createTask\nA specified parameter was not correct: taskType',
  invalidProperty = 'taskType'

vpxd.log:

2025-05-14T06:23:52.729Z info vpxd[3650220] [Originator@6876 sub=vpxLro opID=agw-0115827-5ae9-de] [VpxLRO] -- BEGIN lro-67767942 -- TaskManager -- vim.TaskManager.createTask -- 52659c5f-95b0-81a2-b8d6-7dee662b049c(528072e2-5dae-18a2-f03c-a3ab99f6905f)
2025-05-14T06:23:52.736Z info vpxd[3650220] [Originator@6876 sub=vpxLro opID=agw-0115827-5ae9-de] [VpxLRO] -- FINISH lro-67767942
2025-05-14T06:23:52.736Z error vpxd[3650220] [Originator@6876 sub=Default opID=agw-0115827-5ae9-de] [VpxLRO] -- ERROR lro-67767942 -- 52659c5f-95b0-81a2-b8d6-7dee662b049c(528072e2-5dae-18a2-f03c-a3ab99f6905f) -- TaskManager -- vim.TaskManager.createTask: :vmodl.fault.InvalidArgument
--> Result:
--> (vmodl.fault.InvalidArgument) {
-->    faultCause = (vmodl.MethodFault) null,
-->    faultMessage = ,
-->    invalidProperty = "taskType"
-->    msg = ""
--> }
--> Args:
-->
--> Arg obj:
--> 'vim.ClusterComputeResource:domain-c1065634'
--> Arg taskTypeId:
--> "com.vmware.vsan.clustermgmt.tasks.remediatevsancluster"
--> Arg initiatedBy:

 

可能未列出通过 MOB 的 vSAN 扩展任务“'com.vmware.vsan.clustermgmt.tasks.remediatevsancluster”信息。 

这可以通过访问 mob 页面进行验证,此时会打开一个窗口以请求 vCenter 凭据。

https://[VC_IP]/mob/moid=ExtensionManager&doPath=extensionList%5b%22com%2evmware%2evsan%2ehealth%22%5d%2etaskList
 

“'com.vmware.vsan.clustermgmt.tasks.remediatevsancluster” info may not be listed through MOB.  

该问题还与 vSAN 运行状况文件夹和文件的所有权不正确有关。它们归 root 用户而不是用户所有 vsan-health。 

root@hicglxvc01 [ /etc/vmware-vsan-health ]# ls -lth
total 34M
-rwxrwxrwx 1 root root 6.2K Jun  5 05:06 vsanhealthstatuschange.json
-rwxrwxrwx 1 root root  12K Jun  5 04:42 vsan-releases.json
-rwxrwxrwx 1 root root  15M Jun  3 19:42 vsanvcg.db
drwxr--r-x 3 root root 4.0K Nov  7  2024 licenses
-rwxrwxrwx 1 root root 3.0K Nov  7  2024 logger.conf
-rwxr--r-x 1 root root  19M Nov  7  2024 vsanvcg.db.bak
-rwxrwxrwx 1 root root 339K Nov  7  2024 vsanhealthremediation.yaml
-rwxrwxrwx 1 root root 4.7K Nov  7  2024 vsanhosthealthmanifest.json
-rwxrwxrwx 1 root root 2.5K Nov  7  2024 cloudhealthmanifest.json
-rwxrwxrwx 1 root root 8.2K Nov  7  2024 vsanhealthcorrelation.json
-rwxrwxrwx 1 root root 4.3K Nov  7  2024 vsanhealth.properties
drwxr--r-- 3 root root 4.0K Nov  7  2024 cloudHealthResources
-rwxrwxrwx 1 root root  726 Nov  7  2024 config.conf
-rwxr--r-x 1 root root  573 Nov  7  2024 silent.json

 

Resolution

请针对 vSAN 磁盘格式版本执行以下步骤: 

更改 vSAN 运行状况文件夹的所有者,方法是 vsan-health:root 重定向到 vmware-vsan-health

root@hicglxvc01 [ /etc ]# chown -R vsan-health:root vmware-vsan-health
root@hicglxvc01 [ /etc/vmware-vsan-health ]# chown -R vsan-health:users logger.conf
root@hicglxvc01 [ /etc/vmware-vsan-health ]# chown -R vsan-health:users licenses/
root@hicglxvc01 [ /etc/vmware-vsan-health ]# chown -R vsan-health:users vsanhealthstatuschange.json
root@hicglxvc01 [ /etc/vmware-vsan-health ]# chown -R vsan-health:users vsan-releases.json
root@hicglxvc01 [ /etc/vmware-vsan-health ]# chown -R vsan-health:users config.conf
root@hicglxvc01 [ /etc/vmware-vsan-health ]# chown -R vsan-health:users silent.json

vSAN 运行状况文件夹下的文件权限已更改为 vsan-health:users

root@hicglxvc01 [ /etc/vmware-vsan-health ]# ls -lrth
total 34M
-rwxr--r-x 1 vsan-health users  573 Nov  7  2024 silent.json
-rwxrwxrwx 1 vsan-health users  726 Nov  7  2024 config.conf
drwxr--r-- 3 vsan-health root  4.0K Nov  7  2024 cloudHealthResources
-rwxrwxrwx 1 vsan-health root  4.3K Nov  7  2024 vsanhealth.properties
-rwxrwxrwx 1 vsan-health root  8.2K Nov  7  2024 vsanhealthcorrelation.json
-rwxrwxrwx 1 vsan-health root  2.5K Nov  7  2024 cloudhealthmanifest.json
-rwxrwxrwx 1 vsan-health root  4.7K Nov  7  2024 vsanhosthealthmanifest.json
-rwxrwxrwx 1 vsan-health root  339K Nov  7  2024 vsanhealthremediation.yaml
-rwxr--r-x 1 vsan-health root   19M Nov  7  2024 vsanvcg.db.bak
-rwxrwxrwx 1 vsan-health users 3.0K Nov  7  2024 logger.conf
drwxr--r-x 3 vsan-health users 4.0K Nov  7  2024 licenses
-rwxrwxrwx 1 vsan-health root   15M Jun  3 19:42 vsanvcg.db
-rwxrwxrwx 1 vsan-health users  12K Jun  5 04:42 vsan-releases.json
-rwxrwxrwx 1 vsan-health users 6.2K Jun  5 05:06 vsanhealthstatuschange.json

更改权限后,“com.vmware.vsan.clustermgmt.tasks.remediatevsancluster”任务应显示在 vCenter MOB 中,并且将自动注册。 

磁盘管理的图片

 

 

 

Affected Products

VxRail, VMware
Article Properties
Article Number: 000330657
Article Type: Solution
Last Modified: 08 Nov 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.