VxRail:無法升級 vCenter Server,出現錯誤:無法執行子工作:EnableVCVMSSHSubTask,請參閱日誌以取得詳細錯誤資訊

Summary: VxRail 升級失敗並顯示錯誤:無法升級 vCenter Server:無法執行子工作:EnableVCVMSSHSubTask,請參閱日誌以取得詳細錯誤資訊。

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

VxRail 升級失敗並顯示錯誤:
VxRail Update ran into a problem....
Failed to upgrade vCenter Server: Failed to perform sub task: EnableVCVMSSHSubTask, see logs for detail errors..
Upgrade failed. Unexpected failure during upgrade, check lcm-web.log or lcm.log



錯誤發生在部署 vCenter .ova 之前。 

升級失敗錯誤的螢幕截圖。 

lcm-web.log:

2022-04-11 14:41:25,167 ERROR [LCM] [lcm-vc-0] c.v.l.t.SimpleUpgradeTaskExecutor [SimpleUpgradeTaskExecutor.java:82] Failed to execute task VCLCMUpgradeTask.
java.util.concurrent.ExecutionException: com.vce.lcm.exception.LCMInternalException: Failed to upgrade vCenter Server: Failed to perform sub task: EnableVCVMSSHSubTask, see logs for detail errors..
	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
	at com.vce.lcm.task.SimpleUpgradeTaskExecutor.execute(SimpleUpgradeTaskExecutor.java:72)
............
	at com.vce.lcm.core.upgrade.vc.AbstractVCUpgrader.performUpgrade(AbstractVCUpgrader.java:107)
	at com.vce.lcm.core.upgrade.ComponentUpgradeService.performComponentUpgrade(ComponentUpgradeService.java:199)
	at com.vce.lcm.core.upgrade.VcUpgradeServiceImpl.performUpgrade(VcUpgradeServiceImpl.java:108)
	at com.emc.mystic.manager.upgrade.service.LcmVcUpgradeServiceImpl$1.run(LcmVcUpgradeServiceImpl.java:86)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.vce.lcm.exception.LCMInternalException: Failed to upgrade vCenter Server: Failed to perform sub task: EnableVCVMSSHSubTask, see logs for detail errors..
	at com.vce.lcm.core.upgrade.vc.task.VCLCMUpgradeTask.WaitForVCLCMUpgradeComplete(VCLCMUpgradeTask.java:330)
	at com.vce.lcm.core.upgrade.vc.task.VCLCMUpgradeTask.perform(VCLCMUpgradeTask.java:118)
	at com.vce.lcm.task.UpgradeTask.execute(UpgradeTask.java:58)
	at com.vce.lcm.task.SimpleUpgradeTaskExecutor.lambda$execute$0(SimpleUpgradeTaskExecutor.java:65)
	...
 

Cause

vSphere 分散式交換器的連結聚合控制通訊協定 (LACP) 支援層級設為基本。 



 

Resolution

檢查 KB VxRail:升級失敗,並顯示錯誤「無法執行子工作:EnableVCVMSSHSubTask」或「無法執行子工作:UnlockCDROMSubTask」, 如果沒幫助,請先套用以下因應措施。
 

  1. 拍攝 VxRail Manager (VxRM) 虛擬機器的快照。
  2. 使用 CLI 瀏覽器連線 VxRM。
  3. 前往目錄 /var/lib/vmware-marvin/
  4. 找到名為的檔案 lcm_advanced_mode.properties
  5. 修改檔案內容,並將以下的值從 true 變更為 false lcmProperties.vclcm.upgrade.enabled 
  6. 將以下的值從 false 變更為 true lcmProperties.upgrade.advanced.mode.on
    cd /var/lib/vmware-marvin
    vi lcm_advanced_mode.properties 
    lcmProperties.skip.witness.upgrade.in.vlcm=false 
    feature.upgrade.on.l3.network=on 
    feature.compliance.daily.check=on 
    lcmProperties.upgrade.advanced.mode.on=true 
    lcmProperties.vclcm.upgrade.enabled=false 
    lcmProperties.upgrade.skip.adc.advanced.mode.on=false 
    lcmProperties.force.legacy.batch.upgrade=false
  7. 儲存變更。
  8. 依下列 VMware KB:https://kb.vmware.com/s/article/2051311 將 vDS LACP 模式變更為「強化模式」此超連結會帶您前往 Dell Technologies 以外的網站。
  9. 重新啟動 VxRM 服務
    systemctl restart vmware-marvin 
    systemctl restart runjars
  10. 重試升級。
  11. 完成升級後,還原檔案中修改的值 /var/lib/vmware-marvin/lcm_advanced_mode.properties
    lcmProperties.upgrade.advanced.mode.on=false
    lcmProperties.vclcm.upgrade.enabled=true​​

Additional Information

Affected Products

VxRail, VxRail Appliance Series, VxRail Software
Article Properties
Article Number: 000198404
Article Type: Solution
Last Modified: 11 Nov 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.