Cannot log into iscsi target
Issue
- When trying to activate my RHV hypervisor, there is a storage related error.
- In the vdsm logs we see:
2019-07-24 14:04:45,648+1000 ERROR (jsonrpc/7) [storage.HSM] Could not connect to storageServer (hsm:2384)
Traceback (most recent call last):
File "/usr/share/vdsm/storage/hsm.py", line 2381, in connectStorageServer
conObj.connect()
File "/usr/share/vdsm/storage/storageServer.py", line 433, in connect
iscsi.addIscsiNode(self._iface, self._target, self._cred)
File "/usr/lib/python2.7/site-packages/vdsm/storage/iscsi.py", line 220, in addIscsiNode
iscsiadm.node_new(iface.name, target.address, target.iqn)
File "/usr/lib/python2.7/site-packages/vdsm/storage/iscsiadm.py", line 282, in node_new
raise IscsiNodeError(rc, out, err)
IscsiNodeError: (6, [], ['iscsiadm: Could not stat /var/lib/iscsi/nodes//,3260,-1/default to delete node: No such file or directory', 'iscsiadm: Error while adding record: encountered iSCSI database failure'])
Environment
- Red Hat Virtualization 4.1
- vdsm-4.19.24-1.el7ev.x86_64
- kernel-3.10.0-693.el7.x86_64
- iscsi-initiator-utils-6.2.0.874-4.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.