Symptoms:
#less /var/log/esxupdate.log
Unexpected error while upgrading upgrade unit: Install of offline bundle failed on host 36c9daa1-6a34-423b-a85c-c3ddf3f6eec8 with error : [LiveInstallationError] ([], "Error in running rm /tardisks/nsx_esx_.v00:\nReturn code: 1\nOutput: rm: can't remove '/tardisks/nsx_esx_.v00': Device or resource busy\n\nIt is not safe to continue. Please reboot the host immediately to discard the unfinished update.") Please refer to the log file for more details..
2019-05-15T02:20:17.513Z cpu2:136770)VisorFSTar: 838: inode 5572 (libsnmppluginvs.so) is busy
#esxcli system snmp get
Example of output when SNMP is enabled:
Authentication:
Communities:
Enable: true <<----
Engineid:
Hwsrc: indications
Largestorage: true
Loglevel: info
Notraps:
Port: 161
(...) output omitted
VMware NSX-T Data Center 2.x
VMware NSX-T Data Center 3.x
To resolve the issue, follow the below workaround.
Workaround:
To workaround the issue, disable SNMP before the upgrade and re-enable it after the upgrade is completed using the following commands:
#esxcli system snmp set -e false
#esxcli system snmp set -e true
To verify the SNMP status, the following command can be used:
#/etc/init.d/snmpd status
Expected output when SNMP is running:
snmpd is running
Expected output when SNMP is not running:
snmpd is not running
Alternatively, you can disable SNMP using the vSphere Client:
Login to vCenter and Select the ESXi host > click the "Configure" tab > select Services > find the SNMP Server service and stop it as shown in the below screenshot: