iscsi_auto flag should use --fwparam_network in addition to -b
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Debian) |
Fix Released
|
Unknown
|
|||
open-iscsi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Right now, the following logic is used if you pass iscsi_auto as a kernel option:
modprobe iscsi_ibft
iscsistart -b
However, in a PXE boot environment, the interface initialized will be something like the "primary" interface of the system, probably not where your iscsi traffic is running.
The '-N' flag of iscsistart should also be used to configure the networking before attempting to create a session to the target.
so:
modprobe iscsi_ibft
iscsistart -N
iscsistart -b
This change should go into the scripts/
The only consideration is if the IBFT does not have correct networking information in it, which should be a configuration error.
summary: |
- iscsi_auto flag should use iscsistart -N in addition to -b + iscsi_auto flag should use --fwparam_network in addition to -b |
Changed in open-iscsi (Debian): | |
status: | Unknown → Confirmed |
Changed in open-iscsi (Debian): | |
status: | Confirmed → Fix Committed |
Changed in open-iscsi (Debian): | |
status: | Fix Committed → Fix Released |
Patch for /usr/share/ initramfs- tools/scripts/ local-top/ iscsi