[Bug 227848] Re: boot order wrong for iscsi
This bug was fixed in the package open-iscsi - 2.0.865-1ubuntu3.1 --- open-iscsi (2.0.865-1ubuntu3.1) hardy-proposed; urgency=low * Backport changes from jaunty to allow iscsi targets to be activated as network interfaces come on-line: - debian/open-iscsi.init: + Support for being called from ifup/ifdown scripts. + Refactor start functions: - move daemon start to startdaemon function. - don't exit if the daemon is already running during sanitychecks. Instead check in startdaemon if the daemon needs to be started. - only start automatic targets if necessary. LP: #227848. -- Steve Langasek steve.langa...@ubuntu.com Wed, 17 Jun 2009 23:56:00 + ** Changed in: open-iscsi (Ubuntu Hardy) Status: Fix Committed = Fix Released -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Branch linked: lp:ubuntu/karmic/open-iscsi -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Branch linked: lp:ubuntu/hardy-proposed/open-iscsi -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
Quick test lead me to believe that open-iscsi 2.0.865-1ubuntu3.1 from hardy-proposed work as explained by Steve. That is, the block device appear after the bonded Ethernet is brought up. It is too late for the file system on the iSCSI target to be mounted from /etc/fstab, but at least we do not have to restart the open-iscsi service for the iSCSI block device to show up. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Tags added: verification-done ** Tags removed: verification-needed -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 227848] Re: boot order wrong for iscsi
Consider me confused on the basis of my earlier comment showing how to configure Hardy so that iscsi volume mounts works consistently. It ain't broke, why fix it? -- My employers website: http://thehumanjourney.net - opinions in this email are however very much my own and may not reflect that of my current employer, past employers, associates, friends, family, pets etc.. Documents attached to this email may be in ISO 26300 format: http://iso26300.info -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
Accepted open-iscsi into hardy-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: open-iscsi (Ubuntu Hardy) Status: In Progress = Fix Committed ** Tags added: verification-needed -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Changed in: open-iscsi (Ubuntu Intrepid) Status: In Progress = Won't Fix -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
The biggest blocker for getting this fixed in hardy isn't bug #44194, but rather Debian bug #383073 and Debian bug #383123 that were fixed in a post-hardy merge of sysvinit. Without that fix, there's no way to trigger mounting iscsi devices after they've been made available, which is the problem to be solved: the network interfaces are only *guaranteed* to be up after S40networking, and nothing in hardy will trigger mounting of non-network-filesystem devices after that point. Fixing 44194 would let us cover all our bases for things such as iSCSI + wpa_supplicant, but that's not actually an interesting use case to the typical iSCSI user and not the problem being discussed here; fixing this bug without 44194 would not be a regression since /usr on iSCSI doesn't work today for anyone in hardy. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
I've uploaded a backported fix for the open-iscsi part of this to hardy- proposed, waiting now for review. ** Changed in: open-iscsi (Ubuntu Hardy) Status: Confirmed = In Progress -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
I wouldn't recommend including this in Hardy, since it's known to break wpasupplicant (see bug 44194) and we haven't even sorted that out in Jaunty yet. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
Is this going to be fixed in Hardy as well? Thanks in advance. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Changed in: open-iscsi (Ubuntu Hardy) Assignee: Mathias Gug (mathiaz) = (unassigned) -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Changed in: open-iscsi (Ubuntu Hardy) Assignee: (unassigned) = Mathias Gug (mathiaz) -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Changed in: open-iscsi (Ubuntu Hardy) Importance: Undecided = High Status: New = Confirmed Target: None = ubuntu-8.04.3 -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
Thanks, Dustin; I've included this text in the release notes, along with a link to this bug. ** Changed in: ubuntu-release-notes Assignee: (unassigned) = Colin Watson (kamion) Status: New = Fix Released -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
I'm lowering this bug from Critical to High, and un-milestoning it for Intrepid release. We're not going to be able to fix this comprehensively, and in a way that does not introduce regressions in time for Intrepid. Rather, I will prepare some text for the Intrepid release notes, helping awareness of the issue. :-Dustin ** Changed in: open-iscsi (Ubuntu Intrepid) Importance: Critical = High Target: ubuntu-8.10 = None -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
Suggestion of text for the Intrepid release note (from Etienne Goyer): File systems hosted on iSCSI targets may not be mounted automatically at boot time, even if they have an entry in /etc/fstab, if a bridged or bonded Ethernet interface is required to reach the iSCSI target. As a work-around, you would have to restart the open-iscsi service and manually mount the file system in question after system boot, once the required network interface have been brought up. Systems equipped with a plain Ethernet interface are not affected. :-Dustin -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Also affects: ubuntu-release-notes Importance: Undecided Status: New -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
I forgot to mention that the bit of code to add to open-iscsi init script is from the Debian open-iscsi 2.0.869 package in unstable. So, we will get it for jaunty in the next sync anyway. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 227848] Re: boot order wrong for iscsi
That's still too late for local iscsi filesystems. :-Dustin -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
** Changed in: open-iscsi (Ubuntu) Importance: Undecided = Critical Target: None = ubuntu-8.10 -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
The patch sent by Dustin already changes the open-iscsi script from S25 to S47, and (as we saw here) it seems that this is enough to mount any storage volume after the network is up. However, the original open-iscsi script position (S25) is before S45 (waitnfs) and S46 (mountnfs-bootclean), and in a case where one uses ordinary interfaces (as said in two posts above), udev makes everything work and so any NFS filesystems get mounted. But now (with the patch), open-iscsi will load AFTER the NFS scripts. Wouldn't be better to move the open-iscsi script to a value between 40 and 45 (40 open-iscsi 45), BEFORE the NFS scripts, allowing to be mounted over iSCSI volumes ? -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
Patch attached. :-Dustin ** Attachment added: open-iscsi.227848.debdiff http://launchpadlibrarian.net/18342692/open-iscsi.227848.debdiff -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
The above solution is not entirely right, as the open-iscsi init script will be run after /etc/rcS.d/mountall.sh, which mean that filesystem in /etc/fstab that reside on iSCSI will not be available when mountall.sh is ran. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
I did the same as Christian Roessner, above: moved the open-iscsi link from S25 to S42 in rcS.d. This is the preferred method, as - he also pointed out - change the network order it's NOT a good idea. Also, like Etienne Goyer stated, if you are using an ordinary interface (ethX), udev may load things in the right order. I'm using a bridged interface (br0) and so udev doesn't bring it up, making necessary the change above. Maybe that's the case with bonded interfaces as well. But, in my opinion, it doesn't matter if one is using ordinary interfaces or not - open-iscsi MUST be started AFTER networking, since it depends on the network to do its job. It's a matter of logic So, the open-iscsi installation script should be changed to reflect the solutions found here - change its number from S25 to something above S40. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
Having similar major problems utilizing iSCSI effectively with Heron. I have changed the Boot script order in rcS.d so iSCSI is now S44 instead of S25 ( starts iscsi AFTER networking ) and I now have iSCSI drives available to the system. However, it's proving difficult to get the boot order right for initiation and mounting of iSCSI drives to be automatic and effective as part of the boot process. For example, if we want to hold service data on SAN iSCSI drives ( e.g. SAMBA file shares, LDAP or MySQL databases) we need to have the iSCSI drives fully mounted and available at the service startup scripts kick in. Currently with the default setup of iSCSI, this does not happen. Continuing to investigate and experiment , but any further tips to effectively get iSCSI usable as a system drive would be appreciated. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 227848] Re: boot order wrong for iscsi
I have a fairly consistent boot process now that mounts iSCSI drives. Here are the changes I made to the default init scripts symlinks order: rc0.d : changed K25open-iscsi to K44open-icsi rc6.d: changed K25open-iscsi to K44open-iscsi rcS.d: Changed S40networking to S23networking in /etc/init.d, I added a sleep 10 as the last statement of the start block of code in open-iscsi. this delays the boot process a bit, but allows the iSCSI disks to initialize fully before the fsmount stuff kicks in. -- boot order wrong for iscsi https://bugs.launchpad.net/bugs/227848 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to open-iscsi in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs