VxRail:ESXi 主机未能输入名称命名空间维护模式

Summary: 无法通过 vSphere Web Client 进入或退出维护模式。在将内部或外部 vCenter 升级或修补到 7.0 系列中的某个版本后,就会发生这种情况。

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 进入或退出维护模式。
在将内部或外部 vCenter 升级或修补到 7.0 系列中的某个版本后,就会发生这种情况。

通过 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

在 vCenter 版本 7.0 系列中,WCP-Service 处理维护操作。升级或修补 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:
service-control --start wcp

如果上述作无法解决问题,请查看 Broadcom 文章This hyperlink is taking you to a website outside of 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.