适用于 VMware 的 ONTAP 工具( OTV ) 9.8 无法在 vSphere 7.0 中配置 iSCSI 数据存储库
适用场景
- 适用于 VMware 的 ONTAP 工具( OTV )
- VMware vSphere 7.0 及更高版本
问题描述
- OTV 无法在 vSphere 7.0 及更高版本中配置 iSCSI 数据存储库
- vCenter 会报告有关近期任务的以下错误消息:
“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 日志显示以下异常:
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 [EssxHostTaskManager] —输入 hostRescanHBA
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)