Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

使用 VxRail 7.0.x 插件物理视图解决显示为不适用的磁盘和电源设备的指南

Summary: 确认 VxRail Manager 7.0 中显示为不适用的磁盘和/或电源设备的说明是本地数据存储区文件名所致。 通过将 ESXi 主机的本地数据存储区重命名为以 service-datastore1 结尾来解决此问题。

This article applies to   This article does not apply to 

Symptoms

对于通过 VxRail Manager 7.0.x 插件物理视图显示磁盘和电源装置不适用的 VxRail 系统,如下图 1 所示。

示例 VxRail 7.0.x 插件物理视图前视图和后视图
图 1:示例 VxRail 7.0.x 插件物理视图前视图和后视图


VxRail Manager /var/log/microservice_log/short.term.log 在请求 API /rest/ps/private/v1/misc/nodeconfig时显示错误 500。

2021-06-29-21:45:50 microservice.do-host "2021-06-29 21:45:50,483 /home/app/do_host_app/connector/linzhi/linzhi_dataloader.py fetch_async 63: do_host_app [ERROR] Query data failed, url: https://esxi-host-fqdn:9090/rest/ps/private/v1/misc/nodeconfig, status_code: 500, msg: {""StatusCode"": 500, ""Details"": ""The server failed to complete the request due to internal error. Please try again later."", ""Message"": ""Internal Server Error""}"
ESXi 主机 /var/run/log/vxps_main.log 显示“Could not get the vmfs data store directory”:
2021-06-29 21:45:51,723 vxhttpsd.httpsd Thread-10 INFO     10.30.4.60:33028 - "GET /rest/ps/private/v1/misc/nodeconfig HTTP/1.1" - -
2021-06-29 21:45:51,778 vxhttpsd     Thread-10 ERROR    Failed to get node config information with Could not get the vmfs data store directory
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR      Traceback (most recent call last):
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR        File "/opt/vxrail/bin/platforms/dell/restful/vxapp_dell.py", line 924, in handle_get
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR          nodecfg = VxNodeConfig(enable_diskgroup_support=True)
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR        File "/opt/vxrail/bin/platforms/dell/common/vxnode_config.py", line 160, in __init__
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR          lds_file="vxnode_config/vxnode.config")
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR        File "/opt/vxrail/bin/vxlibs/utilities.py", line 410, in prepare_local_data_store_file
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR          raise Exception("Could not get the vmfs data store directory")
2021-06-29 21:45:51,779 vxhttpsd     Thread-10 ERROR      Exception: Could not get the vmfs data store directory
2021-06-29 21:45:51,779 vxhttpsd.httpsd Thread-10 INFO     10.30.4.60:33028 - "GET /rest/ps/private/v1/misc/nodeconfig HTTP/1.1" 500 -

Cause

ESXi 主机的本地数据存储区已重命名。名称不采用默认格式,例如 DExxxxx-01-01-service-datastore1

Resolution

将 ESXi 主机的本地数据存储区名称重命名为默认格式。名称必须以 service-datastore1结尾。

Additional Information

Affected Products

VxRail