no reliable way to boot from iscsi root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned | ||
1.2 |
Fix Released
|
Critical
|
Unassigned | ||
open-iscsi (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
In order to boot from iscsi root via kernel parameters, the user would provide kernel parameters something like:
iscsi_
or potentially the same above but with root=UUID=
The issue here is that this both LABEL and UUID could collide with a local filesystem. Perhaps a previous install left a filesystem labeled "rootfs" that happened to match the filesystem of the iscsi_target_name and now using "root=LABEL=
There needs to be some way to specify explicitly:
root=
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: open-iscsi 2.0.873-3ubuntu5
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Mon Nov 5 15:25:48 2012
MarkForUpload: True
ProcEnviron:
LANGUAGE=en_US:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: open-iscsi
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Gavin Panella (community): Approve
- Raphaël Badin (community): Approve
- Andres Rodriguez (community): Approve
-
Diff: 42 lines (+7/-6)2 files modifiedsrc/provisioningserver/kernel_opts.py (+6/-5)
src/provisioningserver/tests/test_kernel_opts.py (+1/-1)
- Raphaël Badin (community): Approve
-
Diff: 42 lines (+7/-6)2 files modifiedsrc/provisioningserver/kernel_opts.py (+6/-5)
src/provisioningserver/tests/test_kernel_opts.py (+1/-1)
Changed in open-iscsi (Ubuntu): | |
importance: | Undecided → Medium |
Changed in open-iscsi (Ubuntu): | |
status: | New → Triaged |
Changed in maas: | |
status: | Confirmed → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Just an observation that maybe the /dev/disk-by-path stuff is a useful way of describing what you want to boot reliably
for me in my test setup I have: 168.122. 10:3260- iscsi-iqn. 2008-09. com.example: server1. share1- lun1-part1
ip-192.
as one of the names in there; certainly the iscsi iqn seems not an unreasonable way to identify what you want to boot from.
Including the IP is probably more questionable, given you probably want to multipath and cope with booting when all but 1 path is down.