ESXi 6.x host is disconnected from vCenter Server
search cancel

ESXi 6.x host is disconnected from vCenter Server

book

Article ID: 317632

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

ESXi host showing as Disconnected in vCenter Server is a known issue in ESXi 6.x.

Symptoms:

  • ESXi hosts appear as Not Responding in vCenter Server.
  • Running esxcli commands on the ESXi host fail with the error:

    Error interacting with configuration file /etc/vmware/lunTimestamps.log: Timeout while waiting for lock, /etc/vmware/lunTimestamps.log.LOCK, to be released. Another process has kept this file locked for more than 30 seconds. The process currently holding the lock is smartd(PID). This is likely a temporary condition. Please try your operation again.

    Note: PID is the process ID for the smartd service.

  • In the /var/log/hostd.log file, you see entries similar to:

    Error interacting with configuration file /etc/vmware/lunTimestamps.log: Timeout while waiting for lock, /etc/vmware/lunTimestamps.log.LOCK, to be released. Another process has kept this file locked for more than 30 seconds. The process currently holding the lock is smartd(PID). This is likely a temporary condition. Please try your operation again.

  • In the /var/log/syslog.log file, you see entries similar to:

    <YYYY-MM-DD><time> Unknown: out of memory [PID]</time>

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Environment

VMware vSphere ESXi 6.x

Resolution

This issue is resolved in:

  • For ESXi 6.0: ESXi 6.0 Patch Release ESXi600-201706001, available at Patch Downloads
  • For ESXi 6.5: ESXi 6.5 Patch Release ESXi650-201703001, available at Patch Downloads

To workaround this issue, disable smartd daemon on the host.

To disable smartd daemon:
  1. Connect to the affected ESXi host with an SSH session. For more information, see Using ESXi Shell in ESXi 5.x and 6.0 (2004746).
  2. Run this command to stop the smartd service:

    /etc/init.d/smartd stop

  3. Run this command to stop the smartd service from starting on reboot:

    chkconfig smartd off



Additional Information