Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1889348 Details for
Bug 2058386
Duplicate PV errors prevent system from booting after installation when mdadm is on direct disks
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Kickstart to reproduce
bz2058386.ks (text/plain), 3.04 KB, created by
Renaud Métrich
on 2022-06-13 09:15:26 UTC
(
hide
)
Description:
Kickstart to reproduce
Filename:
MIME Type:
Creator:
Renaud Métrich
Created:
2022-06-13 09:15:26 UTC
Size:
3.04 KB
patch
obsolete
>#version=RHEL8 >text > ># Keyboard layouts >keyboard --xlayouts='fr' ># System language >lang en_US.UTF-8 > ># Network information >network --bootproto=dhcp --device=enp1s0 --ipv6=auto --activate >network --hostname=vm-bz2058386 > >cdrom > ># Run the Setup Agent on first boot >firstboot --enable > ># System bootloader configuration >bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda > >ignoredisk --only-use=Volume0,vda >#clearpart --all --initlabel >zerombr > ># BOOT DISK >part /boot --fstype="xfs" --ondisk=vda --size=1024 --label="boot" >part pv.0 --fstype="lvmpv" --ondisk=vda --size=1 --grow >volgroup rhel --pesize=4096 pv.0 >logvol swap --fstype="swap" --size=2048 --label="swap" --name=swap --vgname=rhel >logvol / --fstype="xfs" --size=10240 --label="root" --name=root --vgname=rhel > ># SOFTWARE RAID >part pv.1 --fstype="lvmpv" --ondisk=Volume0 --size=1 --grow >volgroup data --pesize=4096 pv.1 >logvol /home --fstype="xfs" --size=1 --grow --label="home" --name=home --vgname=data > ># System timezone >timezone Europe/Paris --isUtc --nontp > ># Root password >rootpw --plaintext "redhat" > >%packages >@^minimal-environment >@guest-agents >kexec-tools >vim >bash-completion >%end > >%addon com_redhat_kdump --disable --reserve-mb='auto' > >%end > >%anaconda >pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty >pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok >pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty >%end > >%pre --log=/tmp/ks-pre.log --erroronfail >echo "starting sshd" >cp /etc/ssh/sshd_config.anaconda /etc/ssh/sshd_config >systemctl start sshd > >echo "stopping LVM and raids" >vgchange -a n >mdadm --stop --scan > >echo "wiping disks" >wipefs -a /dev/vda >wipefs -a /dev/sda >wipefs -a /dev/sdb > >echo "creating raid" >export IMSM_NO_PLATFORM=1 >mdadm --create /dev/md/imsm --name=imsm --level container --raid-disks=2 --metadata=imsm /dev/sda /dev/sdb >mdadm --create /dev/md/Volume0 --name=Volume0 --level raid1 --raid-disks=2 /dev/md/imsm >echo "waiting for raid to synchronize" >mdadm --wait /dev/md/Volume0 >udevadm trigger -v -w /dev/md/imsm >%end > >#%post --log=/root/ks-post.log --erroronfail >#echo "creating dracut configuration" >#echo "add_dracutmodules+=\" mdraid \"" > /etc/dracut.conf.d/redhat_case_03144954.conf >#echo "kernel_cmdline+=\" $(echo $(for uuid in $(grep -oP 'UUID=\K(\S+)' /etc/mdadm.conf); do echo "rd.md.uuid=$uuid"; done)) \"" >> /etc/dracut.conf.d/redhat_case_03144954.conf ># >#echo "creating dracut initqueue drop-in" >#dropin="/etc/systemd/system/dracut-initqueue.service.d/fake-imsm-hack.conf" >#mkdir -p $(dirname $dropin) >#cat > $dropin << EOF >#[Service] >#ExecStartPre=/bin/sh -c 'tries=5; while [ \$tries -ge 0 ]; do isw_raid_members="\$(blkid -t TYPE="isw_raid_member" -o device)"; if [ -n "\$isw_raid_members" ]; then IMSM_NO_PLATFORM=1 mdadm -A --scan; for dev in \$isw_raid_members; do partx -d - \$dev; done; lvm vgchange -ay; break; fi; let tries--; sleep 1; done' >#EOF >#cat > /etc/dracut.conf.d/fake-imsm-hack.conf << EOF >#install_items+=" $dropin" >#EOF ># >#echo "rebuilding the initramfs" >#dracut -f --regenerate-all >#%end
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2058386
: 1889348