Physical Disk Health – Physical Disk Health Retrieval Issues
In Virtual SAN cluster, there is one more common issue is the Virtual SAN health test failing to retrieve the Physical Disk Health on an ESXi host.It is informing the administrator that it cannot get physical disk-related information from the ESXi host in question in order to perform a check on the health of the physical disks.
If the Virtual SAN management service vsanmgmtd on the ESXi host is nonresponsive then you will encounter this issue, in the vsanmgmt.log you will see the following snippets,
++++++++++++++++++++++++++++++++++++++++++++
[root@esxihost-1:/var/log] cat vsanmgmt.log
2017-11-15T03:08:46Z VSANMGMTSVC: INFO vsanperfsvc[Thread-1] [VsanLsomHealth::getHealthStats] Get issued comps = {}
2017-11-15T03:08:46Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-1] [VsanHealthUtil::InvokeMethod] Invoke: mo=ServiceInstance, info=RetrieveContent
2017-11-15T03:08:46Z VSANMGMTSVC: ERROR vsanperfsvc[Thread-1] [VsanHealthDaemon::doVsanHealthCheck] Get exception in invoking QueryPhysicalDiskHealthSummary : Failed to alloc memory for text
2017-11-15T03:08:49Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
2017-11-15T03:08:54Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
2017-11-15T03:08:59Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
+++++++++++++++++++++++++++++++++++++++++++++
The vsanmgmtd was failed to failed to allocated memory so the service was in hung state. The vSAN health service for this host is not working properly, and no physical disk information for the host is available.
For ESXi 6.0 Update 2 or later, use SSH to log into the host and check the status with the following command:
/etc/init.d/vsanmgmtd status
You also can manually restart the vSAN health service with the following command:
/etc/init.d/vsanmgmtd restart
+++++++++++++++++++++++++++++++++++++++++++++
017-11-15T03:10:33Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-1] [VsanHealthSystemImpl::_QueryPhysicalDiskHealthSummary] entry = {'healthFlags': 0, 'timestamp': 913825975943L}
2017-11-15T03:10:33Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-1] [VsanHealthUtil::log] impl._QueryPhysicalDiskHealthSummary: 0.17s
2017-11-15T03:10:33Z VSANMGMTSVC: INFO vsanperfsvc[Thread-1] [VsanHealthDaemon::doVsanHealthCheck] Health check QueryPhysicalDiskHealthSummary has updated the generated id to 3
2017-11-15T03:10:33Z VSANMGMTSVC: INFO vsanperfsvc[Thread-1] [VsanHealthDaemon::doVsanHealthCheck] Health check QueryVersion has updated the generated id to 4
+++++++++++++++++++++++++++++++++++++++++
Post restart the vsanmgmtd service is responding and able to retrive the health of the disk on the host.
Note :For ESXi version 6.0.0 or 6.0 Update 1,
vSAN health service is integrated into the host daemon. Check the host daemon status with the following command: /etc/init.d/hostd status
If the ESXi host fails to connect from vCenter Server or is not responsive, first resolve the problems with the host, and then check the health status.
Read: https://kb.vmware.com/s/article/2149291
https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/products/vsan/vmw-gdl-vsan-health-check.pdf
++++++++++++++++++++++++++++++++++++++++++++
[root@esxihost-1:/var/log] cat vsanmgmt.log
2017-11-15T03:08:46Z VSANMGMTSVC: INFO vsanperfsvc[Thread-1] [VsanLsomHealth::getHealthStats] Get issued comps = {}
2017-11-15T03:08:46Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-1] [VsanHealthUtil::InvokeMethod] Invoke: mo=ServiceInstance, info=RetrieveContent
2017-11-15T03:08:46Z VSANMGMTSVC: ERROR vsanperfsvc[Thread-1] [VsanHealthDaemon::doVsanHealthCheck] Get exception in invoking QueryPhysicalDiskHealthSummary : Failed to alloc memory for text
2017-11-15T03:08:49Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
2017-11-15T03:08:54Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
2017-11-15T03:08:59Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
+++++++++++++++++++++++++++++++++++++++++++++
The vsanmgmtd was failed to failed to allocated memory so the service was in hung state. The vSAN health service for this host is not working properly, and no physical disk information for the host is available.
For ESXi 6.0 Update 2 or later, use SSH to log into the host and check the status with the following command:
/etc/init.d/vsanmgmtd status
You also can manually restart the vSAN health service with the following command:
/etc/init.d/vsanmgmtd restart
+++++++++++++++++++++++++++++++++++++++++++++
017-11-15T03:10:33Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-1] [VsanHealthSystemImpl::_QueryPhysicalDiskHealthSummary] entry = {'healthFlags': 0, 'timestamp': 913825975943L}
2017-11-15T03:10:33Z VSANMGMTSVC: WARNING vsanperfsvc[Thread-1] [VsanHealthUtil::log] impl._QueryPhysicalDiskHealthSummary: 0.17s
2017-11-15T03:10:33Z VSANMGMTSVC: INFO vsanperfsvc[Thread-1] [VsanHealthDaemon::doVsanHealthCheck] Health check QueryPhysicalDiskHealthSummary has updated the generated id to 3
2017-11-15T03:10:33Z VSANMGMTSVC: INFO vsanperfsvc[Thread-1] [VsanHealthDaemon::doVsanHealthCheck] Health check QueryVersion has updated the generated id to 4
+++++++++++++++++++++++++++++++++++++++++
Post restart the vsanmgmtd service is responding and able to retrive the health of the disk on the host.
Note :For ESXi version 6.0.0 or 6.0 Update 1,
vSAN health service is integrated into the host daemon. Check the host daemon status with the following command: /etc/init.d/hostd status
If the ESXi host fails to connect from vCenter Server or is not responsive, first resolve the problems with the host, and then check the health status.
Read: https://kb.vmware.com/s/article/2149291
https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/products/vsan/vmw-gdl-vsan-health-check.pdf
ReplyDeleteHi,
Read your article.I must say nice theme,like it very much.Everyone have concern about their physical helth.Health is most important thing in our life,everyone maintain their daily routine,for tips about your physical health you can visit physical health
Thank you