[Bug 394398] Re: Logic to determine expected number of running session wrong (regression in hardy's open-iscsi 2.0.865-1ubuntu3.1)
Rafael David Tinoco
394398 at bugs.launchpad.net
Mon Jun 22 01:49:46 UTC 2020
Thank you for taking the time to report this bug. In an effort to keep an
up-to-date and valid list of bugs to work on, I have reviewed this report
to verify it still requires effort and occurs on an Ubuntu release in
standard support, and it does not:
We have a new documentation in place that might help anyone facing this issue:
https://ubuntu.com/server/docs/service-iscsi
The node.conn[0] is a leftover from the time open-iscsi supported multiple
connections per session, and it does not nowadays but kept compatibility.
Automatic and manual seems fine in latest versions.
It is unfortunate that we were unable to resolve this defect, however
there appears to be no further action possible at this time. I am
therefore moving the bug to 'Fix Released'. If you disagree or have
new information, we would be grateful if you could please add a comment
stating why and then change the status of the bug to 'New'.
** Changed in: open-iscsi (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to open-iscsi in Ubuntu.
https://bugs.launchpad.net/bugs/394398
Title:
Logic to determine expected number of running session wrong
(regression in hardy's open-iscsi 2.0.865-1ubuntu3.1)
Status in open-iscsi package in Ubuntu:
Fix Released
Status in open-iscsi source package in Hardy:
Won't Fix
Bug description:
Binary package hint: open-iscsi
The recent open-iscsi update changed from always running `iscsiadm -m
node --loginall=automatic` to only running it if `cat
/etc/iscsi/nodes/*/*/default 2>/dev/null| grep -c automatic` is not
equal to `iscsiadm -m session 2>/dev/null | grep -c ^`.
On my servers, we use multiple paths from our severs to our iscsi
targets, and as a result, we don't have any files at
/etc/iscsi/nodes/*/*/default - ours are out
/etc/iscsi/nodes/*/*/eth{0,1}. This means that the startup script
concludes that the number of "expected" sessions is equal to the
number of running sessions - i.e. 0 - and doesn't initiate a session.
I'm not entirely sure what the right solution is here - I think it
might be using /etc/iscsi/nodes/*/*/* instead of default, but maybe
not.
For reference, we configured multiple interfaces by creating
/etc/iscsi/ifaces/eth{0,1} files, which seem to have been prompted
creation of /etc/iscsi/nodes/*/*/eth{0,1}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/394398/+subscriptions
More information about the foundations-bugs
mailing list