[Bug 1639666] Re: install to iscsi root needs kernel args, fails shutdown
Kevin Otte
nivex at nivex.net
Mon Nov 14 13:59:47 UTC 2016
Finally found the startup problem:
$ cat /tmp/iscsi.initramfs
ISCSI_TARGET_NAME="iqn.2016-11.net.nivex:storage.istest"
ISCSI_TARGET_IP="2606"
ISCSI_TARGET_PORT="a000:a449:5900::4:3260"
ISCSI_TARGET_GROUP="1"
ISCSI_USERNAME="istest"
ISCSI_PASSWORD="123456789012"
Whatever is generating the initramfs arguments (the installer?) appears
to be doing a simple split on first colon to determine the IP and port.
We'll need to find a different way to do that.
--
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/1639666
Title:
install to iscsi root needs kernel args, fails shutdown
Status in open-iscsi package in Ubuntu:
New
Bug description:
For this system, a pure network boot was not practical, so USB storage
for the EFI System Partition and /boot are used.
Steps to reproduce:
- Use Ubuntu Server installer to log in to iSCSI target
- Install ESP and /boot on local USB (sda1,2)
- Install swap and /on resulting block device (sdb1,2)
- Reboot after install
Expected result:
- System boots
Actual result:
- iscsistart in the initramfs is unable to connect to the target, failing with the error:
iscsistart: cannot make a connection to 0.0.10.46:0 (-1,22)
Workaround:
- Append
iscsi_target_ip=2606:a000:a449:5900::4 iscsi_target_port=3260
to the kernel command line
The system now boots.
When attempting to shut down the system, it hangs at
Stopping Raise network interfaces...
and kernel messages
connection1:0: ping timeout...
begin appearing due to the network being ripped out from under iSCSI.
I attempted to add _netdev to the options in fstab as suggested by
research, but this proved ineffective.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: open-iscsi 2.0.873+git0.3b4b4500-14ubuntu3.1
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Nov 6 20:14:19 2016
InstallationDate: Installed on 2016-11-07 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: open-iscsi
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1639666/+subscriptions
More information about the foundations-bugs
mailing list