CentOS 7 1901 causes Curtin to hang when deploying with LVM
Bug #1815666 reported by
Lee Trager
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Unassigned |
Bug Description
Upstream has released a new CentOS 7 image [1]. I built a test image[2] for MAAS using lp:maas-images and tried to deploy it with MAAS and Curtin master. When using a flat layout the image deploys fine however when I use LVM Curtin hangs until the installation times out.
This is blocking lp:maas-images from updating the CentOS image
[1] https:/
[2] http://
Related branches
~raharper/curtin:fix/centos7-lvm-requires-slash-run-mounted
Merged
into
curtin:master
- Dan Watkins (community): Approve
- Server Team CI bot: Approve (continuous-integration)
- Lee Trager (community): Approve
-
Diff: 71 lines (+33/-3)3 files modifiedcurtin/commands/curthooks.py (+5/-1)
curtin/util.py (+6/-2)
tests/unittests/test_util.py (+22/-0)
Changed in curtin: | |
importance: | Undecided → High |
status: | New → In Progress |
To post a comment you must log in.
It looks like GRUB probing for LVM is what is hanging.
1052 ? Ss 0:00 /usr/bin/python3 /usr/bin/cloud-init modules --mode=final cloud-init- output. log cloud-init- output. log commands. main --install-deps install --config= configs/ config- 000.cfg --config= configs/ config- 001.cfg --config= configs/ config- 002.cfg --config= configs/ config- 003.cfg --config=configs/co commands. main curthooks r/target/ curtin/ curtin- hooks.py helpers/ install- grub --os-family=redhat /tmp/tmptfgz0yy r/target /dev/vda grub2-mkconfig -o /boot/grub2/ grub.cfg grub2-mkconfig -o /boot/grub2/ grub.cfg grub2-probe --device /dev/mapper/vg0-lv0 --target=fs_uuid
1089 ? S 0:00 \_ /bin/sh -c tee -a /var/log/
1090 ? S 0:00 | \_ tee -a /var/log/
1095 ? S 0:00 \_ python3 -m curtin.
2543 ? S 0:00 \_ python3 -m curtin.
2554 ? S 0:00 \_ python3 /tmp/tmptfgz0yy
16076 ? S 0:00 \_ /bin/bash /curtin/
16087 ? S 0:00 \_ sh -exc pkg=$1; shift; bootid=$1; shift; bootver=$1; shift; grubpost="" case $bootid in debian|ubuntu)
16236 ? S 0:00 \_ /bin/sh /usr/sbin/
16243 ? S 0:00 \_ /bin/sh /usr/sbin/
16244 ? S 0:00 \_ /usr/sbin/
16245 ? S 0:00 \_ vgs --options vg_uuid,pv_name --noheadings --separator :