-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-8.6.0
-
None
-
None
-
rhel-sst-storage-io
-
ssg_filesystems_storage_and_HA
-
3
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
As described in https://github.com/open-iscsi/open-iscsi/issues/228
Probably fixed by https://github.com/open-iscsi/open-iscsi/pull/292
While target being unavailable, restarting iscsid leads to stuck sessions
- iscsiadm -m node
iscsiadm: No records found - iscsiadm -m discoverydb
# - iscsiadm -m node -u
Logging out of session [sid: 25, target: iqn.2017-11.com.redhat:params-test, portal: 127.0.0.1,3260]
iscsiadm: Could not logout of [sid: 25, target: iqn.2017-11.com.redhat:params-test, portal: 127.0.0.1,3260].
iscsiadm: initiator reported error (32 - target likely not connected)
iscsiadm: Could not logout of all requested sessions
journalctl:
iscsid: connect to 127.0.0.1:3260 failed (Connection refused)
...repeated....
Version-Release number of selected component (if applicable):
iscsi-initiator-utils-6.2.1.4-4.git095f59c.el8.x86_64
iscsi-initiator-utils-iscsiuio-6.2.1.4-2.git2a8f9d8.el9.x86_64
How reproducible:
often
Steps to Reproduce:
1. establish iscsi session (not sure if CHAP is needed?)
2. remove volume from target (can be localhost using targetcli)
3. restart iscsid service
4. try to logout from the session
Actual results:
Unable to remove iscsi session from the system without a reboot
Expected results:
No stuck iscsi sessions
- external trackers