Provide a workaround to allow CHAP settings to persist through a host reboot.
Issue Description : iSCSI volumes disappeared after VMware ESXi host is rebooted with CHAP enabled and configured with Dynamic Discovery on ESXi 7.0.1 and higher hosts.
This issue may be observed under these conditions.
The issue is not observed in ESXi versions prior to 7.0.1
Remove Dynamic Discovery and Configure iSCSI Storage Port With Only Static Discovery
This will have to be performed on each host in the cluster.
Place host into maintenance mode.
Navigate to the Host > Configure Tab > Storage Adapters > Highlight the iSCSI software adapter.
Navigate to the Dynamic Discovery Tab
Highlight the iSCSI Server(s) to be removed.
Navigate to the Static Discovery Tab
CHAP may have to be reconfigured each time a ESXi 7.0.1 or higher host is rebooted.