** Description changed: + === Begin SRU Template === + + [Description] + Installing to an HP DL385, or any other system that has drives in a "HP Smart Array" will fail, showing: + lsblk: /dev/cciss!c0d0: not a block device + + This is due to curtin's fairly innocent understanding of device name + paths. + + The fix is both + - better parsing of /sys to get information on device names and partitions that are on them. + - specific handling of the very odd named '!ccis' devices. + + [Impact] + Installation via curtin can not be done on these systems. + + [Test Case] + Positive test case: + Install via maas and curtin onto a system with a HP Smart Array. + Successful installation and boot is success anything else is failure. + + Negative test case: + Install on a sytem without these devices and expect it to boot. + + [Regression Potential] + Curtin's understanding of /dev/ and /sys generally improved. However, there are possibly still corner cases. + It seems unlikely that anything that worked before would fail with these changes. + + [Other] + Related bugs: + * bug 1401190 : curtin makes assumptions about partition names on all devices + === End SRU Template === + Trying the MaaS fast-installer against an HP DL385, it fails to run one of the scripts with: lsblk: /dev/cciss!c0d0: not a block device This looks to be due to the way the device is reported to lsblk: lsblk --noheadings --bytes --pairs --out=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID --nodeps ALIGNMENT="0" DISC-ALN="0" DISC-GRAN="0" DISC-MAX="0" DISC-ZERO="0" FSTYPE="" GROUP="root" KNAME="cciss!c0d0" LABEL="" LOG-SEC="512" MAJ:MIN="104:0" MIN-IO="512" MODE="" MODEL="LOGICAL VOLUME " MOUNTPOINT="" NAME="cciss!c0d0" OPT-IO="0" OWNER="root" PHY-SEC="512" RM="0" RO="0" ROTA="1" RQ-SIZE="128" SIZE="440432713728" STATE="" TYPE="disk" UUID="" ALIGNMENT="0" DISC-ALN="0" DISC-GRAN="0" DISC-MAX="0" DISC-ZERO="0" FSTYPE="" GROUP="cdrom" KNAME="sr0" LABEL="" LOG-SEC="512" MAJ:MIN="11:0" MIN-IO="512" MODE="brw-rw----" MODEL="CD-ROM TS-L162C" MOUNTPOINT="" NAME="sr0" OPT-IO="0" OWNER="root" PHY-SEC="512" RM="1" RO="0" ROTA="1" RQ-SIZE="128" SIZE="1073741312" STATE="running" TYPE="rom" UUID="" ALIGNMENT="0" DISC-ALN="0" DISC-GRAN="0" DISC-MAX="0" DISC-ZERO="0" FSTYPE="ext4" GROUP="disk" KNAME="sda" LABEL="cloudimg-rootfs" LOG-SEC="512" MAJ:MIN="8:0" MIN-IO="512" MODE="brw-rw----" MODEL="VIRTUAL-DISK " MOUNTPOINT="/media/root-ro" NAME="sda" OPT-IO="0" OWNER="root" PHY-SEC="512" RM="0" RO="1" ROTA="1" RQ-SIZE="128" SIZE="1476395008" STATE="running" TYPE="disk" UUID="35938370-3a39-42a9-bf68-7ce0a75e4316" The device name should be /dev/cciss/c0d0 so I guess the device name parsing needs special treatment for HP cciss devices. Related bugs: - * bug 1401190 : curtin makes assumptions about partition names on all devices + * bug 1401190 : curtin makes assumptions about partition names on all devices
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to curtin in Ubuntu. https://bugs.launchpad.net/bugs/1263181 Title: curtin discovers HP /dev/cciss/c0d0 incorrectly To manage notifications about this bug go to: https://bugs.launchpad.net/curtin/+bug/1263181/+subscriptions -- 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