[Bug 394398] [NEW] Logic to determine expected number of running session wrong (regression in hardy's open-iscsi 2.0.865-1ubuntu3.1)
Evan Broder
broder at mit.edu
Wed Jul 1 18:38:28 BST 2009
Public bug reported:
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}
** Affects: open-iscsi (Ubuntu)
Importance: Undecided
Status: New
--
Logic to determine expected number of running session wrong (regression in hardy's open-iscsi 2.0.865-1ubuntu3.1)
https://bugs.launchpad.net/bugs/394398
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.
More information about the Ubuntu-server-bugs
mailing list