/var/log/vmware/vcf/lcm/lcm.logYYYY-MM-DDTHH:MM:SS ERROR [vcf_lcm,0000000000000000,0000,upgradeId=########-####-####-####-############,resourceType=ESX HOST,resourceId=########-####-####-####-############,bundleElementId=########-####-####-####-############ [c.v.e.s.l.c.v. vsphere. VsphereUtils, Upgrade-10] Error during enter MAINTENANCE check. Generic error : Currently connected device 'CD/DVD drive 1' uses backing ' [<datastore_name>] <filename>. iso', which is not accessible.YYYY-MM-DDTHH:MM:SS ERROR [vcf_lcm, 0000000000000000,0000, upgradeId=########-####-####-####-############,resourceType=ESXHOST,resourceId=########-####-####-####-############,bundleElementId=########-####-####-####-############] [c.v.e.s.l.p.i.e. EsxVumUpdateStageRunnerImpl, Upgrade-10] Dry run of Enter MAINTENANCE mode failed for Esx host with list of errors : [Currently connected device 'CD/DVD drive 1' uses backing ' [<datastore_name>] <filename>. iso', which is not accessible
/var/log/vmware/vpxd/vpxd.logYYYY-MM-DDTHH:MM:SS info vpxd [#####] [Originator@#### sub=vpxLro opID=########] [VpxLRO] -- BEGIN lro-1981683 -- host-## -- vim. HostSystem. queryWhatIfEnterMaintenance -- ########-####-####-####-############(########-####-####-####-############)YYYY-MM-DDTHH:MM:SS info vpxd[#####] [Originator@#### sub=VmCheck opID=########] CompatCheck results: (vim.vm. check. Result) [(vim. vm. check. Result) {vm = 'vim. VirtualMachine: ########-####-####-####-############:vm-<vmid>',host = 'vim. HostSystem: ########-####-####-####-############:host-<hostid>',error = (vmodl. MethodFault) [(vim. fault. CannotAccessVmDevice) {device = "CD/DVD drive 1",backing = "[<datastore_name>] <filename>. iso",connected = true,msg = "",
/var/run/log/hostd.log
YYYY-MM-DDTHH:MM:SS In (###) Hostd[#######]: [Originator@#### sub=Vmsvc. vm: /vmfs/volumes/vsan:################################/########-####-####-####-############/<vm_name>.vmx] CacheDatastores: fileBacking [ ] /vmfs/volumes/<datastore>/filename.iso has null datastore referenceDRS fails to put the ESXi host into maintenance mode, as the virtual machine cannot be migrated out of the host due to iso being mounted.
Unmount the ISO from the concerned virtual machine by following the below steps to resolve the issue and then proceed with the Upgrade Precheck: