[Bug 1639666] Re: install to iscsi root needs kernel args, fails shutdown
Kevin Otte
nivex at nivex.net
Mon Nov 14 15:39:41 UTC 2016
https://bugs.launchpad.net/debian/+source/ifupdown/+bug/1629972 appears
related to the shutdown side of things, though I'm not doing anything
cloud-y at the moment. Comment 4 in that bug seems to indicate that
doing iSCSI on the main interface, or at least one configured
dynamically, is frought with peril and not recommended. Ideally my
environment would be doing iSCSI on a separate internal interface
anyway, so while this may still be a bug, it's enough of an edge case
that I can probably work around it.
--
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