configuring open-iscsi crash computer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-iscsi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: open-iscsi
Trying to upgrade ubuntu from 10.04.2 to 10.10 on a machine with iSCSI-root.
When dpkg reconfigures open-iscsi, it logs out of all iscsi-targets, root disapears and the machine hang. (I can see on the iSCSI-server that there are no initiators logged in to this target any longer)
Debian has solved this by letting the open-iscsi init.d script check if initramfs is configured for iscsi, and if true, not logging out.
http://
I tried patching the init.d-script in ubuntu the same way, but it didn't help. (This is as far as my understanding of iSCSI and dpkg trigger scripts goes...)
Last messages before crash:
$ sudo dpkg --debug=20133 --configure open-iscsi
[sudo] password for ladmin:
Setting up open-iscsi (2.0.871-0ubuntu5) ...
D020000: trigproc_
D000002: fork/exec /var/lib/
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: open-iscsi stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 6)
* Starting iSCSI initiator service iscsid [ OK ]
ln: target `/lib/init/
* Setting up iSCSI targets
This might be related to several other bugs:
677333 open-iscsi: reconnecting to targets fails with kernel >2.6.32 due to sysfs changes
669142 if-up.d/if-down.d scripts restart iSCSI inappropriately
656722 install to iscsi hdd not possible
639618 Network drivers are loaded too late on netboot (tested with iSCSI)
638976 open-iscsi update prevents shutdown on iscsiboot
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: open-iscsi 2.0.871-0ubuntu5
ProcVersionSign
Uname: Linux 2.6.32-26-generic x86_64
Architecture: amd64
Date: Fri Mar 25 16:52:33 2011
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: open-iscsi
Some more research:
This seems similar to: /msg05572. html
http://<email address hidden>
And in fact, as I should have noticed from the dump, it is not related to iscsi shutting down, but the daemon starting up without being able to re-connect to the existing targets. This means it will also crash if I start the iscsi daemon independent of any upgrade (confirmed, when doing /etc/init. d/open- iscsi start, I loose root).
Apparently fixed in a later version...