Your message dated Sun, 24 Oct 2010 21:47:34 +0000
with message-id <[email protected]>
and subject line Bug#514924: fixed in open-iscsi 2.0.871.3-2squeeze1
has caused the Debian Bug report #514924,
regarding Include support for iBFT automatic iSCSI root configuration
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
514924: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514924
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: open-iscsi
Version: 2.0.870~rc3-0.4
Severity: wishlist
Tags: patch
Hi,
I've attached a patch to allow the initramfs local-top script to take
advantage of the iBFT configuration data which iSCSI accelerators,
iSCSI-boot-capable NICs (like the PCIe Intel e1000 NICs), and iSCSI boot
agents (like gPXE) use to relay information to the host OS.
With this patch applied, simply providing the boot option "iscsi_auto"
or putting the line "ISCSI_AUTO=true" into iscsi.initramfs is sufficient
to mount and boot from whichever iSCSI target your NIC/accelerator/agent
is set to boot from.
I have also included updates to README.Debian to reflect this.
Since this makes things incredibly easy on those who would like to boot
from iSCSI targets, and since the patch is very low impact (iscsistart
already includes all of the necessary functionality), I'd love to see
this incorporated!
-Ed
diff -ur open-iscsi-2.0.870~rc3.old/debian/extra/initramfs.local-top
open-iscsi-2.0.870~rc3/debian/extra/initramfs.local-top
--- open-iscsi-2.0.870~rc3.old/debian/extra/initramfs.local-top 2009-02-05
13:56:50.000000000 -0700
+++ open-iscsi-2.0.870~rc3/debian/extra/initramfs.local-top 2009-02-11
12:54:56.000000000 -0700
@@ -29,23 +29,27 @@
modprobe iscsi_tcp
modprobe crc32c
- if [ -z $ISCSI_INITIATOR ]; then
- . /etc/initiatorname.iscsi
- ISCSI_INITIATOR=$InitiatorName
+ if [ -z $ISCSI_AUTO ]; then
+ if [ -z $ISCSI_INITIATOR ]; then
+ . /etc/initiatorname.iscsi
+ ISCSI_INITIATOR=$InitiatorName
+ fi
+
+ if [ -z $ISCSI_TARGET_PORT ]; then
+ ISCSI_TARGET_PORT=3260
+ fi
+
+ if [ -z $ISCSI_TARGET_GROUP ]; then
+ ISCSI_TARGET_GROUP=1
+ fi
+
+ iscsistart -i $ISCSI_INITIATOR -t $ISCSI_TARGET_NAME \
+ -g $ISCSI_TARGET_GROUP -a $ISCSI_TARGET_IP \
+ -p $ISCSI_TARGET_PORT $ISCSI_USERNAME \
+ $ISCSI_PASSWORD $ISCSI_IN_USERNAME $ISCSI_IN_PASSWORD
+ else
+ iscsistart -b
fi
-
- if [ -z $ISCSI_TARGET_PORT ]; then
- ISCSI_TARGET_PORT=3260
- fi
-
- if [ -z $ISCSI_TARGET_GROUP ]; then
- ISCSI_TARGET_GROUP=1
- fi
-
- iscsistart -i $ISCSI_INITIATOR -t $ISCSI_TARGET_NAME \
- -g $ISCSI_TARGET_GROUP -a $ISCSI_TARGET_IP \
- -p $ISCSI_TARGET_PORT $ISCSI_USERNAME \
- $ISCSI_PASSWORD $ISCSI_IN_USERNAME $ISCSI_IN_PASSWORD
}
parse_iscsi_ops ()
@@ -54,6 +58,9 @@
for x in $(cat /proc/cmdline); do
case ${x} in
+ iscsi_auto)
+ ISCSI_AUTO=true
+ ;;
iscsi_initiator=*)
ISCSI_INITIATOR="${x#iscsi_initiator=}"
;;
@@ -91,7 +98,7 @@
parse_iscsi_ops
-if [ -z $ISCSI_TARGET_NAME ] || [ -z $ISCSI_TARGET_IP ]; then
+if ( [ -z $ISCSI_TARGET_NAME ] || [ -z $ISCSI_TARGET_IP ] ) && [ -z
$ISCSI_AUTO ]; then
exit 0
fi
diff -ur open-iscsi-2.0.870~rc3.old/debian/README.Debian
open-iscsi-2.0.870~rc3/debian/README.Debian
--- open-iscsi-2.0.870~rc3.old/debian/README.Debian 2009-02-05
13:56:50.000000000 -0700
+++ open-iscsi-2.0.870~rc3/debian/README.Debian 2009-02-11 13:08:50.000000000
-0700
@@ -30,7 +30,15 @@
The Debian open-iscsi package now supports root filesystem on iSCSI. Support
for this is controlled by the existence of the /etc/iscsi/iscsi.initramfs file.
-There are two ways to include iSCSI boot support in your initramfs:
+
+If you are booting from an iSCSI accelerator or NIC that supports iSCSI boot
+natively, you can likely have your iSCSI target mounted without any manual
+configuration. Either place the single line "ISCSI_AUTO=true" into
+/etc/iscsi/iscsi.initramfs, or touch /etc/iscsi/iscsi.initramfs and use the
+kernel boot line option "iscsi_auto".
+
+If manual configuration is necessary, there are two ways to include iSCSI boot
+options in your initramfs:
1) Touch /etc/iscsi/iscsi.initramfs and provide options on the command line.
This provides flexibility, but if passwords are used, is not very secure.
--- End Message ---
--- Begin Message ---
Source: open-iscsi
Source-Version: 2.0.871.3-2squeeze1
We believe that the bug you reported is fixed in the latest version of
open-iscsi, which is due to be installed in the Debian FTP archive:
open-iscsi_2.0.871.3-2squeeze1.debian.tar.gz
to main/o/open-iscsi/open-iscsi_2.0.871.3-2squeeze1.debian.tar.gz
open-iscsi_2.0.871.3-2squeeze1.dsc
to main/o/open-iscsi/open-iscsi_2.0.871.3-2squeeze1.dsc
open-iscsi_2.0.871.3-2squeeze1_amd64.deb
to main/o/open-iscsi/open-iscsi_2.0.871.3-2squeeze1_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <[email protected]> (supplier of updated open-iscsi package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 25 Oct 2010 02:57:58 +0530
Source: open-iscsi
Binary: open-iscsi
Architecture: source amd64
Version: 2.0.871.3-2squeeze1
Distribution: unstable
Urgency: low
Maintainer: Debian iSCSI Maintainers
<[email protected]>
Changed-By: Ritesh Raj Sarraf <[email protected]>
Description:
open-iscsi - High performance, transport independent iSCSI implementation
Closes: 514924
Changes:
open-iscsi (2.0.871.3-2squeeze1) unstable; urgency=low
.
* Add patch to support NICs that have native iSCSI support. Thanks to
Bjoern Metzdorf for the patch. (Closes: #514924)
Checksums-Sha1:
f6900f9bce3b3efdbbe68299a2d7a7fa2312fefe 2068
open-iscsi_2.0.871.3-2squeeze1.dsc
10549b6066cd5e2b83507f5913b351e65b36fa58 16829
open-iscsi_2.0.871.3-2squeeze1.debian.tar.gz
1a37c34b2427ce03c66e3643f21319ca16a2f509 332258
open-iscsi_2.0.871.3-2squeeze1_amd64.deb
Checksums-Sha256:
ca81b3c38c801bd8903e9cc4580ef5d0d72800a8046db1799784544bcb287da7 2068
open-iscsi_2.0.871.3-2squeeze1.dsc
ebab420a8386bccbd6da97568c3ea426f67a5983a78741474b8fda4e80ef39e8 16829
open-iscsi_2.0.871.3-2squeeze1.debian.tar.gz
82b2b463a90159a7bfee0a326125d2545396161b22c2f29a96fd3d753ed007af 332258
open-iscsi_2.0.871.3-2squeeze1_amd64.deb
Files:
e73a338a5c5d2c0504ac1a69edcb0d5f 2068 net optional
open-iscsi_2.0.871.3-2squeeze1.dsc
139568435d7d0367f104f7a67ecdefa4 16829 net optional
open-iscsi_2.0.871.3-2squeeze1.debian.tar.gz
a11ca806debd1540ce3bc802cb0bd73c 332258 net optional
open-iscsi_2.0.871.3-2squeeze1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCgAGBQJMxKbPAAoJEKY6WKPy4XVpXY4P/jXxAhHCnoIO+1VP8t6fzz7j
J2Zf02FQ248gvVy7+CxrdzRWx2LIacPpvXcEet3yG8J4gwef6MZqxJ5lPDP4zCHQ
jPHfKw5Ru5Vl6Hp0CSMY1t689NXzOoMrxTOJT2VYM+Lv3e4dA3KBXxGA1fcb3V+s
AfeDbmR+O7AnL++EOxnqOOjA+wOxbo7RLkjmSZYd9uyVHHKEhZB+sr8i/9QzLWiN
TQuo6+EhzIEim9XoO4yHT/s79vncC0m1tSr8hfJN535VGBxrSnlLjUaIBjkJvKvT
jlZVniVhfmxDOBpQTO9ihw2aoARQqE+eQfM/in++1wT8aR4C8hHHEM0iXcUiWLOH
6Iyw46wZHIXademNzr2gCHdSl1MywARkO92+PmMgcgxup6QJxOlKwworfW3XFJ86
BJcLR5WBTeoqFML2yRnQ65AnV91tjYXcmncTls7OXNwUJAS3jUufKgICnE5JCKeN
kTZbWI5aT0E8EbchaJMIM1gP02HI4bzAEACbdwACcAo2TLJ0fcKwun/Uga7TJNgP
hoBPXdn+R8FAJ7KO18QFryxhh6b/EJhEuKmH8uUwuN/jPa+eUV1GNTrMf5DPg1x+
elgZ5Lbsh6ZyhTzHqO7vL0/fUSzK9LaK3mv8enb0XBYctc57HvOk1mbQs/Epizgb
khEv4qNDutWM0z3Nvc6D
=bYcp
-----END PGP SIGNATURE-----
--- End Message ---