Skip to main content
NetApp Knowledge Base

ONTAP Tools for VMware(OTV) 9.8 fails to provision iSCSI datastore in vSphere 7.0

Views:
271
Visibility:
Public
Votes:
0
Category:
ontap-system-manager
Specialty:
virt
Last Updated:

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)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.