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 磁碟上的格式版本。
  • 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

這是因為 vSAN 執行狀況資料夾和 vCenter 上的檔案權限不正確。 

 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
 

可能不會列出透過 MOB 的「com.vmware.vsan.clustermgmt.tasks.remediatevsancluster」資訊。  

此問題也與 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.