The ESXi host boot process hangs after displaying the message "swapobj loaded successfully", leading to boot times that take up to 30 minutes or greater for the ESXi host.
Once the boot process completes, the following can be found within the relevant logs.
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)swapobj loaded successfully.
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)Jumpstart plugin tag-boot-bank activated.
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)Jumpstart plugin vsan activated.
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)Activating Jumpstart plugin vmkapps.
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)Activating Jumpstart plugin mount-disk-fs.
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)NFS: ###: NFS mount ###.###.###.###:/ESXi_Logs failed: Unable to connect to NFS server.
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)NFS: ###: Command: (remount) Server: (###.###.###.###) IP: (###.###.###.###) Path: (/Dir1/Dir2/Dir3) Label: (PROD) Options: (None)
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)StorageApdHandler: ###: APD Handle XXXXXXXX-XXXXXXXX Created with lock[StorageApd-0x############]
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)SunRPC: ####: Synchronous RPC cancel for client 0x############ IP XXX.XXX.XXX.XXX proc 3 xid 0x######## attempt 1 of 3
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)SunRPC: ####: Synchronous RPC cancel for client 0x############ IP XXX.XXX.XXX.XXX proc 3 xid 0x######## attempt 1 of 3
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)SunRPC: ####: Synchronous RPC cancel for client 0x############ IP XXX.XXX.XXX.XXX proc 3 xid 0x######## attempt 2 of 3
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)SunRPC: ####: Synchronous RPC cancel for client 0x############ IP XXX.XXX.XXX.XXX proc 3 xid 0x######## attempt 2 of 3
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)SunRPC: ####: Synchronous RPC cancel for client 0x############ IP XXX.XXX.XXX.XXX proc 3 xid 0x######## attempt 3 of 3
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)SunRPC: ####: Synchronous RPC cancel for client 0x############ IP XXX.XXX.XXX.XXX proc 3 xid 0x######## attempt 3 of 3
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)SunRPC: ####: Destroying world 0x######
YYYY-MM-DDTHH:MM:SS.###Z cpu#:#######)SunRPC: ####: Destroying world 0x######
YYYY-MM-DDTHH:MM:SS.###Z cpu##:#######)Jumpstart plugin restore-nfs-volumes activation failed: restore-nfs-volumes->start() failed: error while executing the cli
YYYY-MM-DDTHH:MM:SS.###Z executing start plugin: mount-disk-fs
YYYY-MM-DDTHH:MM:SS.###Z executing start plugin: restore-nfs-volumes YYYY-MM-DDTHH:MM:SS.###Z Executor failed executing esxcli command: boot storage restore --nfs-volumes
YYYY-MM-DDTHH:MM:SS.###Z Method invocation failed: restore-nfs-volumes->start() failed: error while executing the cli
YYYY-MM-DDTHH:MM:SS.###Z StorageInfoImpl: getaddrinfo(xssxhostFQDNxxxx) failed: Temporary failure in name resolution
YYYY-MM-DDTHH:MM:SS.###Z StorageInfoImpl: getaddrinfo(xssxhostFQDNxxxxl) failed: Temporary failure in name resolution
YYYY-MM-DDTHH:MM:SS.###Z StorageInfoImpl: getaddrinfo(xssxhostFQDNxxxx) failed: Temporary failure in name resolution
ESXi 6.X, 7.x and 8.x
This error appears when there is failed connectivity to the backend NFS storage during the boot process.
Investigate the network connectivity , DNS resolution (if the NFS is mounted via FQDN) between the ESXi host and the NFS server.