Configuring dynamic discovery address for iSCSI fails with the error: iScsiLibException: status(80000004): General OS-specific failure; Message=im_addDiscoveryAddress
search cancel

Configuring dynamic discovery address for iSCSI fails with the error: iScsiLibException: status(80000004): General OS-specific failure; Message=im_addDiscoveryAddress

book

Article ID: 311295

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
Configure Dynamic Discovery IP address for iSCSI via vCenter or the Virtual Infrastructure client fails with the error:
Error during the configuration of the host: Add Send target failure on HBA vmhba<number>
Target 10.18.12.62:3260 -- iScsiLibException: status(80000004): General OS-specific failure; Message=im_addDiscoveryAddress


Environment

VMware ESX 4.0.x
VMware ESXi 4.1.x Installable
VMware ESXi 4.0.x Embedded
VMware ESXi 4.0.x Installable
VMware ESX 4.1.x
VMware vSphere ESXi 5.0
VMware ESXi 4.1.x Embedded

Resolution

This has been encountered when the network cable is disconnected, or when the link is down for the HW iSCSI adapter. Fix the issue with the network so that the iSCSI adapter sees the link as being active.

In some cases the dynamic discovery address will be added to the HBA despite the error message, but in other cases it has been observed to not be set.
After the link is up for the iSCSI adapter, retry the configuration of the discovery address. You should not encounter any further errors and configuration will be successful.

Note: If you experience this issue with a software iSCSI adapter the issue can be troubleshooted with Software iSCSI LUNs disappear after rebooting or upgrading the ESX/ESXi host (1038065)


Additional Information

Software iSCSI LUNs disappear after rebooting or upgrading the ESX/ESXi host