VxRail:ESXi 主機無法進入名稱命名空間維護模式

Summary: 無法透過 vSphere Web Client 進入或退出維護模式。這會在 7.0 系列版本的內部或外部 vCenter 升級或安裝修補程式後發生。

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

無法透過 vSphere Web Client 進入或退出維護模式。
這會在 7.0 系列版本的內部或外部 vCenter 升級或安裝修補程式後發生。

透過 SSH 或 telnet 連接至 vCenter 並檢查服務時,會傳回:

service-control --status --all
STOPPED: wcp

vCenter vpxd.log

WCP enterMaintenanceMode vAPI returns error: Error:
--> com.vmware.vapi.std.errors.unauthenticated
--> Messages:
--> vapi.security.authentication.invalid<Unable to authenticate user>

Failed to delete vAPI session. Error:
--> Error:
--> com.vmware.vapi.std.errors.unauthenticated
--> Messages:
--> vapi.security.authentication.invalid<Unable to authenticate user>

Cause

在版本 7.0 家族的 vCenter 中,會由 WCP 服務來處理維護作業。vCenter 升級或安裝修補程式後,該服務的組態檔案可能會缺少連接埠資訊。

Resolution

要解決此問題: 

  1. 建立 vCenter 的快照,然後以 root 身分 ssh 至 vCenter。
  2. 建立備份 /etc/vmware/wcp/wcpsvc.yaml 透過命令:
cp /etc/vmware/wcp/wcpsvc.yaml /etc/vmware/wcp/wcpsvc.yaml.bak
  1. 變更此行 rhttpproxy_port: {rhttpproxy.ext.port2} 在上述 YAML 檔案中,rhttpproxy_port:443   
  2. 使用命令啟動 WCP 服務:
service-control --start wcp

如果上述動作無法解決問題,請檢查 Broadcom 文章此超連結會帶您前往 Dell Technologies 以外的網站。

Affected Products

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