[Bug 1931455] Re: open-iscsi fails to create nodes directory
Logan M Anderson
1931455 at bugs.launchpad.net
Fri Jun 11 14:17:59 UTC 2021
I'm having issues recreating the problem (i.e. it's working like it
should), so take this with a grain of salt.
On a fresh Ubuntu 20.04.2 install, fully updated:
> sudo apt update -y && sudo apt full-upgrade -y && sudo apt auto-remove
-y
I would send the discovery command:
> sudo iscsiadm -m discovery -t sendtargets -p 192.168.35.99
And because the open-iscsi service wasn't running, this command would
not discover anything. As soon as I populated the folder and restart
the service:
> sudo mkdir -p /etc/iscsi/nodes/something/
> sudo systemctl restart open-iscsi.service iscsid.service
I would get SOMETHING out of the discovery command:
>sudo iscsiadm -m discovery -t sendtargets -p 192.168.35.99
192.168.35.99:3260,1 iqn.2014-04.com.junos:tlv-13691u-rp:iscsi.initserver.387862
But like I said I am having trouble recreating this and it seems to be working as intended now. I don't know if there was an update between June 4th and June 10th but mostly I'm just happy it's working.
--
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/1931455
Title:
open-iscsi fails to create nodes directory
Status in open-iscsi package in Ubuntu:
Incomplete
Bug description:
open-iscsi will not run without the nodes directory, but the nodes
directory is created and populated by the open-iscsi service.
Chicken/Egg.
Mitigated by creating and populating the nodes with junk directories
to be deleted later:
linuxsudoer at banana01ubu:/etc/iscsi$ sudo systemctl status open-iscsi.service
● open-iscsi.service - Login to default iSCSI targets
Loaded: loaded (/lib/systemd/system/open-iscsi.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Tue 2021-06-08 19:05:21 UTC; 25min ago
----> ├─ ConditionDirectoryNotEmpty=|/etc/iscsi/nodes was not met
└─ ConditionDirectoryNotEmpty=|/sys/class/iscsi_session was not met
Docs: man:iscsiadm(8)
man:iscsid(8)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1931455/+subscriptions
More information about the foundations-bugs
mailing list