yogesh10dec
Contributor
Contributor

esxcli command failed with output Connection failure (VMware ESXi 7.0 Update 1)

Hi,

esxcli command failed with output Connection failure (VMware ESXi 7.0 Update 1)

Observed the same with VMware ESXi 7.0 GA

[root@yo:~] esxcli storage filesystem rescan
Connection failed
[root@yo:~] esxcli software vib list
Connection failed
[root@yo:~]

0 Kudos
3 Replies
jrmunday
Commander
Commander

It's likely your hostd service is not running, see below where I replicate the issue by stopping the service.

Probably worth restarting all your management agents using "services.sh restart".

 

[xx\xxx@xxx:~] /etc/init.d/hostd stop
watchdog-hostd: Terminating watchdog process with PID 67849
hostd stopped.


[xx\xxx@xxx:~] /etc/init.d/hostd status
hostd is not running.


[xx\xxx@xxx:~] esxcli software vib list
Connection failed


[xx\xxx@xxx:~] /etc/init.d/hostd start
hostd started.


[xx\xxx@xxx:~] /etc/init.d/hostd status
hostd is running.


[xx\xxx@xxx:~] esxcli software vib list
Name Version Vendor Acceptance Level Install Date
----------------------------- ------------------------------------ --------------------- ---------------- ------------

.... removed list to make the post short

 

Cheers,

Jon

vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
0 Kudos
yogesh10dec
Contributor
Contributor

Hi ,

Thank you for your reply. we tried restarting all the management agents Services using services.sh restart and its worked.

but if we reboot the ESXi host multiple times then we see the same issue again.

is there any permanent fix for this issue?

0 Kudos
jrmunday
Commander
Commander

I'd have a look through the logs for clues, including running through the document troubleshooting steps in this KB article.

Troubleshooting vmware-hostd service if it fails or stops responding on an ESX/ESXi host (1002849)

 

If you have a support contract in place, upload a bundle to VMware for root cause analysis.

vExpert 2014 - 2022 | VCP6-DCV | http://www.jonmunday.net | @JonMunday77
0 Kudos