ONTAP Tools for VMware(OTV) 9.8 fails to provision iSCSI datastore in vSphere 7.0
Applies to
- ONTAP Tools for VMware(OTV)
- VMware vSphere 7.0 and later
Issue
- OTV fails to provision iSCSI datastore in vSphere 7.0 and later
- vCenter report below error messages on recent task:
“Unable to create or mount the iSCSI datastore. Verify that the LUN configuration is correct or add the network of the VMkernel interface(s) you want to use to mount to the default.allow.iscsi.mount.networks property in the kaminoprefs.xml preferences file.”
- OTV log shows below exception:
2021-03-24 05:13:34,253Z (host-1038) DEBUG [EsxHostTaskManager] - handleCommands: CommandRequest:
getCommand: SCAN_ISCSI
getTimeOfRequest: 1616562814246
2021-03-24 05:13:34,253Z (host-1038) DEBUG [EsxHostTaskManager] - Enter hostRescanHBAs
2021-03-24 05:13:34,253Z (host-1038) DEBUG [EsxHostTaskManager] - Enter getScsiLuns scanFirst = true
2021-03-24 05:13:34,282Z (host-1038) TRACE [EsxHostTaskManager] - HostHostBusAdapter was not FCP or ISCSI : vmw_ahci
2021-03-24 05:13:34,282Z (host-1038) TRACE [EsxHostTaskManager] - HostHostBusAdapter was not FCP or ISCSI : vmw_ahci
2021-03-24 05:13:34,282Z (host-1038) FATAL [EsxHostTaskManager] - host-1038 caught null handleCommands encountered an exception - null.
java.lang.NullPointerException
at com.netapp.kamino.server.duplicator.EsxHostTaskManager.hostScanHBAs(EsxHostTaskManager.java:2243)
at com.netapp.kamino.server.duplicator.EsxHostTaskManager.getScsiLuns(EsxHostTaskManager.java:2193)
at com.netapp.kamino.server.duplicator.EsxHostTaskManager.hostRescanHBAs(EsxHostTaskManager.java:2161)
at com.netapp.kamino.server.duplicator.EsxHostTaskManager.handleCommands(EsxHostTaskManager.java:456)
at com.netapp.kamino.server.duplicator.EsxHostTaskManager.justCommands(EsxHostTaskManager.java:299)
at com.netapp.kamino.server.duplicator.EsxHostTaskManager.run(EsxHostTaskManager.java:279)