[2.5] Failed to deploy ppc64el when partition table is GPT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Undecided
|
Unassigned | ||
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Logs Events Configuration
Installation output
curtin: Installation started. (18.1-17-
third party drivers not installed or necessary.
Hit:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Fetched 9690 kB in 2s (4034 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
libnl-genl-3-200 linux-firmware linux-headers-
linux-
linux-
linux-
os-prober wireless-regdb
Suggested packages:
multiboot-doc xorriso desktop-base genisoimage fdutils linux-doc-4.15.0
| linux-source-4.15.0 linux-tools
The following NEW packages will be installed:
crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
libnl-genl-3-200 linux-firmware linux-generic linux-headers-
linux-
linux-
linux-
os-prober wireless-regdb
0 upgraded, 19 newly installed, 0 to remove and 5 not upgraded.
Need to get 130 MB of archives.
After this operation, 673 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Preconfiguring packages ...
Fetched 130 MB in 2s (73.2 MB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package libnl-3-
(Reading database ... 28516 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
Selecting previously unselected package libnl-genl-
Preparing to unpack .../01-
Unpacking libnl-genl-
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../02-
Unpacking wireless-regdb (2018.05.
Selecting previously unselected package iw.
Preparing to unpack .../03-
Unpacking iw (4.14-0.1) ...
Selecting previously unselected package crda.
Preparing to unpack .../04-
Unpacking crda (3.18-1build1) ...
Selecting previously unselected package grub-common.
Preparing to unpack .../05-
Unpacking grub-common (2.02-2ubuntu8.7) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../06-
Unpacking grub2-common (2.02-2ubuntu8.7) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../07-
Unpacking linux-firmware (1.173.1) ...
Selecting previously unselected package linux-modules-
Preparing to unpack .../08-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../09-
Unpacking linux-image-
Selecting previously unselected package linux-modules-
Preparing to unpack .../10-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../11-
Unpacking linux-image-generic (4.15.0.38.40) ...
Selecting previously unselected package linux-headers-
Preparing to unpack .../12-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../13-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../14-
Unpacking linux-headers-
Selecting previously unselected package linux-generic.
Preparing to unpack .../15-
Unpacking linux-generic (4.15.0.38.40) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../16-
Unpacking os-prober (1.74ubuntu1) ...
Selecting previously unselected package grub-ieee1275-bin.
Preparing to unpack .../17-
Unpacking grub-ieee1275-bin (2.02-2ubuntu8.7) ...
Selecting previously unselected package grub-ieee1275.
Preparing to unpack .../18-
Unpacking grub-ieee1275 (2.02-2ubuntu8.7) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up wireless-regdb (2018.05.
Setting up linux-modules-
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up grub-common (2.02-2ubuntu8.7) ...
Setting up linux-headers-
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
Setting up linux-firmware (1.173.1) ...
Setting up linux-image-
I: /boot/vmlinux.old is now a symlink to vmlinux-
I: /boot/initrd.
I: /boot/vmlinux is now a symlink to vmlinux-
I: /boot/initrd.img is now a symlink to initrd.
Setting up grub-ieee1275-bin (2.02-2ubuntu8.7) ...
Setting up grub2-common (2.02-2ubuntu8.7) ...
Setting up libnl-genl-
Setting up os-prober (1.74ubuntu1) ...
Setting up linux-headers-
Setting up iw (4.14-0.1) ...
Setting up grub-ieee1275 (2.02-2ubuntu8.7) ...
Creating config file /etc/default/grub with new version
Installing for powerpc-ieee1275 platform.
grub-install: error: the PReP partition is not empty. If you are sure you want to use it, run dd to clear it: `dd if=/dev/zero of=/dev/sda1'.
Failed: grub-install --target=
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up linux-headers-
Setting up crda (3.18-1build1) ...
Setting up linux-modules-
Setting up linux-image-generic (4.15.0.38.40) ...
Setting up linux-generic (4.15.0.38.40) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
Setting up swapspace version 1, size = 8 GiB (8589869056 bytes)
no label, UUID=1125be4c-
Unexpected error while running command.
Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '/tmp/tmp_
Exit code: 1
Reason: -
Stdout: + pkg=grub-ieee1275
+ shift
+ dpkg-reconfigure grub-ieee1275
Replacing config file /etc/default/grub with new version
Installing for powerpc-ieee1275 platform.
Failed: grub-install --target=
WARNING: Bootloader is not properly installed, system may not be bootable
+ update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinux-
Found initrd image: /boot/initrd.
done
+ grub-install /dev/sda1
Installing for powerpc-ieee1275 platform.
+ exit
failed to install grub!
Stderr: ''
curtin: Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'curthooks']
Exit code: 3
Reason: -
Stdout: Hit:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Fetched 9690 kB in 2s (4034 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
os-prober wireless-regdb
Suggested packages:
| linux-source-4.15.0 linux-tools
The following NEW packages will be installed:
crda grub-common grub-ieee1275 grub-ieee1275-bin grub2-common iw libnl-3-200
os-prober wireless-regdb
0 upgraded, 19 newly installed, 0 to remove and 5 not upgraded.
Need to get 130 MB of archives.
After this operation, 673 MB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Fetched 130 MB in 2s (73.2 MB/s)
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package libnl-3-
(Reading database ... 28516 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
Selecting previously unselected package libnl-genl-
Preparing to unpack .../01-
Unpacking libnl-genl-
Selecting previously unselected package wireless-regdb.
Preparing to unpack .../02-
Unpacking wireless-regdb (2018.05.
Selecting previously unselected package iw.
Preparing to unpack .../03-
Unpacking iw (4.14-0.1) ...
Selecting previously unselected package crda.
Preparing to unpack .../04-
Unpacking crda (3.18-1build1) ...
Selecting previously unselected package grub-common.
Preparing to unpack .../05-
Unpacking grub-common (2.02-2ubuntu8.7) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../06-
Unpacking grub2-common (2.02-2ubuntu8.7) ...
Selecting previously unselected package linux-firmware.
Preparing to unpack .../07-
Unpacking linux-firmware (1.173.1) ...
Selecting previously unselected package linux-modules-
Preparing to unpack .../08-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../09-
Unpacking linux-image-
Selecting previously unselected package linux-modules-
Preparing to unpack .../10-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../11-
Unpacking linux-image-generic (4.15.0.38.40) ...
Selecting previously unselected package linux-headers-
Preparing to unpack .../12-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../13-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../14-
Unpacking linux-headers-
Selecting previously unselected package linux-generic.
Preparing to unpack .../15-
Unpacking linux-generic (4.15.0.38.40) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../16-
Unpacking os-prober (1.74ubuntu1) ...
Selecting previously unselected package grub-ieee1275-bin.
Preparing to unpack .../17-
Unpacking grub-ieee1275-bin (2.02-2ubuntu8.7) ...
Selecting previously unselected package grub-ieee1275.
Preparing to unpack .../18-
Unpacking grub-ieee1275 (2.02-2ubuntu8.7) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up wireless-regdb (2018.05.
Setting up linux-modules-
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up grub-common (2.02-2ubuntu8.7) ...
Setting up linux-headers-
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libnl-3-200:ppc64el (3.2.29-0ubuntu3) ...
Setting up linux-firmware (1.173.1) ...
Setting up linux-image-
I: /boot/vmlinux.old is now a symlink to vmlinux-
I: /boot/initrd.
I: /boot/vmlinux is now a symlink to vmlinux-
I: /boot/initrd.img is now a symlink to initrd.
Setting up grub-ieee1275-bin (2.02-2ubuntu8.7) ...
Setting up grub2-common (2.02-2ubuntu8.7) ...
Setting up libnl-genl-
Setting up os-prober (1.74ubuntu1) ...
Setting up linux-headers-
Setting up iw (4.14-0.1) ...
Setting up grub-ieee1275 (2.02-2ubuntu8.7) ...
Creating config file /etc/default/grub with new version
Installing for powerpc-ieee1275 platform.
Failed: grub-install --target=
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up linux-headers-
Setting up crda (3.18-1build1) ...
Setting up linux-modules-
Setting up linux-image-generic (4.15.0.38.40) ...
Setting up linux-generic (4.15.0.38.40) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for linux-image-
Setting up swapspace version 1, size = 8 GiB (8589869056 bytes)
no label, UUID=1125be4c-
Unexpected error while running command.
Command: ['sh', '-c', 'exec "$0" "$@" 2>&1', 'install-grub', '/tmp/tmp_
Exit code: 1
Reason: -
Stdout: + pkg=grub-ieee1275
+ shift
+ dpkg-reconfigure grub-ieee1275
+ update-grub
+ grub-install /dev/sda1
+ exit
Stderr: ''
Stderr: ''
Related branches
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 3184 lines (+1417/-240)59 files modifiedcurtin/__init__.py (+1/-1)
curtin/commands/apt_config.py (+22/-6)
curtin/commands/block_meta.py (+157/-49)
curtin/swap.py (+9/-3)
curtin/udev.py (+37/-0)
debian/changelog (+27/-0)
doc/topics/apt_source.rst (+57/-0)
doc/topics/storage.rst (+45/-2)
examples/tests/basic.yaml (+9/-0)
examples/tests/basic_scsi.yaml (+27/-0)
examples/tests/multipath.yaml (+1/-0)
examples/tests/nvme.yaml (+2/-2)
examples/tests/nvme_bcache.yaml (+1/-1)
examples/tests/simple-storage.yaml (+48/-0)
helpers/common (+50/-5)
tests/unittests/helpers.py (+7/-0)
tests/unittests/test_apt_custom_sources_list.py (+61/-29)
tests/unittests/test_commands_block_meta.py (+4/-3)
tests/unittests/test_commands_extract.py (+2/-1)
tests/unittests/test_make_dname.py (+172/-30)
tests/unittests/test_swap.py (+42/-28)
tests/unittests/test_udev.py (+68/-0)
tests/vmtests/__init__.py (+124/-20)
tests/vmtests/releases.py (+6/-0)
tests/vmtests/test_apt_config_cmd.py (+11/-2)
tests/vmtests/test_apt_source.py (+7/-2)
tests/vmtests/test_basic.py (+61/-8)
tests/vmtests/test_bcache_basic.py (+6/-0)
tests/vmtests/test_bcache_bug1718699.py (+4/-0)
tests/vmtests/test_fs_battery.py (+5/-0)
tests/vmtests/test_iscsi.py (+6/-0)
tests/vmtests/test_journald_reporter.py (+4/-0)
tests/vmtests/test_lvm.py (+5/-0)
tests/vmtests/test_lvm_iscsi.py (+13/-7)
tests/vmtests/test_lvm_raid.py (+16/-8)
tests/vmtests/test_lvm_root.py (+2/-0)
tests/vmtests/test_mdadm_bcache.py (+42/-0)
tests/vmtests/test_mdadm_iscsi.py (+13/-6)
tests/vmtests/test_multipath.py (+31/-0)
tests/vmtests/test_network.py (+6/-0)
tests/vmtests/test_network_alias.py (+6/-0)
tests/vmtests/test_network_bonding.py (+6/-0)
tests/vmtests/test_network_bridging.py (+7/-0)
tests/vmtests/test_network_ipv6.py (+8/-0)
tests/vmtests/test_network_ipv6_static.py (+4/-0)
tests/vmtests/test_network_ipv6_vlan.py (+4/-0)
tests/vmtests/test_network_mtu.py (+9/-0)
tests/vmtests/test_network_static.py (+4/-0)
tests/vmtests/test_network_static_routes.py (+5/-0)
tests/vmtests/test_network_vlan.py (+6/-0)
tests/vmtests/test_nvme.py (+17/-4)
tests/vmtests/test_old_apt_features.py (+7/-2)
tests/vmtests/test_pollinate_useragent.py (+6/-0)
tests/vmtests/test_raid5_bcache.py (+15/-7)
tests/vmtests/test_simple.py (+67/-1)
tests/vmtests/test_ubuntu_core.py (+2/-0)
tests/vmtests/test_uefi_basic.py (+17/-7)
tests/vmtests/test_zfsroot.py (+10/-0)
tools/jenkins-runner (+6/-6)
Changed in maas: | |
status: | New → Incomplete |
milestone: | none → 2.5.0rc1 |
Changed in curtin: | |
status: | New → Incomplete |
Changed in curtin: | |
status: | Confirmed → In Progress |
no longer affects: | maas |
Can you attach the curtin logs?
And do you have logs from the last previous successful run?