We are attempting to install the latest version of vmware tools across multiple clusters (12.0.0). Currently it requires a restart of the host if upgrading to 12 via lifecycle man and a baseline. However, if i do it manually via esxcli software vib update or install, it does not require an update. When i try to push this out to one of our test clusters via a cvm and the command: hostssh ‘esxcli software vib update -d /vmfs/volumes/tehdatastore/Tools12/Tools12.zip’, it completes properly but times out and moves to the next host before the output stating it completed successfully etc, giving an error stating it timed out instead (to be clear, it does actually run against all the hosts properly). Is there any way of adding a no timeout switch to the hostssh command (or perhaps just a larger timeout)? Upgrade was verified using hostssh ‘esxcli software vib list | grep tools'. Also within vcenter it now shows updates available to the vm’s etc. So this does work, it just looks bad when you get the error below.
Error:
WARNING:root:Timeout executing /usr/bin/ssh -q -o CheckHostIp=no -o ConnectTimeout=15 -o StrictHostKeyChecking=no -o TCPKeepAlive=yes -o UserKnownHostsFile=/dev/null -o PreferredAuthentications=publickey root@192.199.1.222 'esxcli software vib update -d /vmfs/volumes/tehdatastore/Tools12/Tools12.zip': 30 secs elapsed
ERROR:root:Got Non Zero Return code -1 while executing cmd 'esxcli software vib update -d /vmfs/volumes/tehdatastore/Tools12/Tools12.zip' on host 192.199.1.222
ERROR:root:stderr:
ERROR:root:stdout:
Validation later:
============= 192.199.1.222 ============
tools-light 12.0.0.19345655-19346243 VMware VMwareCertified 2022-05-16