View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000364 | AlmaLinux-9 | -OTHER | public | 2023-01-25 21:01 | 2023-01-25 21:04 |
Reporter | haxor | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64 | OS | AlmaLinux | OS Version | 8 |
Summary | 0000364: Elevate/leapp upgrade from AlmaLinux 8 -> 9 broken when using raid1 /boot/efi | ||||
Description | Running a leapp upgrade while using a /boot/efi based on a software raid 1 will not return any errors. However when rebooting to continue with the upgrade the system will hang in a rescue shell. The cause is that the interim upgrade does not automatically assemble the raid where /boot/efi resides and thus the upgrade script complains it cant find the device with the UUID of /boot/efi and drops to a shell. Workaround: Stop grub booting the interim upgrade and edit the kernel cmdline, add: rd.break=upgrade Then boot it, once is stops at the upgrade# prompt build the raid via e.g. mdadm --assemble --scan Once its there, just exit the shell and the upgrade will start regularly. | ||||
Tags | No tags attached. | ||||
|
Log: 2023-01-25 21:21:38.157 INFO PID: 3 leapp.workflow: Starting workflow execution: InplaceUpgrade - ID: f88213c8-e2c6-49fe-b200-c9151d58a8b7 2023-01-25 21:21:38.233 INFO PID: 3 leapp.workflow: Skipping phase configuration_phase 2023-01-25 21:21:38.275 INFO PID: 3 leapp.workflow: Skipping phase FactsCollection 2023-01-25 21:21:38.318 INFO PID: 3 leapp.workflow: Skipping phase Checks 2023-01-25 21:21:38.374 INFO PID: 3 leapp.workflow: Skipping phase TargetTransactionFactsCollection 2023-01-25 21:21:38.427 INFO PID: 3 leapp.workflow: Skipping phase TargetTransactionCheck 2023-01-25 21:21:38.456 INFO PID: 3 leapp.workflow: Skipping phase Reports 2023-01-25 21:21:38.502 INFO PID: 3 leapp.workflow: Skipping phase Download 2023-01-25 21:21:38.540 INFO PID: 3 leapp.workflow: Skipping phase InterimPreparation 2023-01-25 21:21:38.627 INFO PID: 3 leapp.workflow: Starting phase InitRamStart 2023-01-25 21:21:38.709 INFO PID: 3 leapp.workflow.InitRamStart: Starting stage Before of phase InitRamStart 2023-01-25 21:21:38.805 INFO PID: 3 leapp.workflow.InitRamStart: Starting stage Main of phase InitRamStart 2023-01-25 21:21:38.835 INFO PID: 3 leapp.workflow.InitRamStart: Executing actor remove_upgrade_boot_entry 2023-01-25 21:21:38.894 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has started: ['/bin/mount', '/boot'] 2023-01-25 21:21:39.37 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: mount: /boot: can't find in /etc/fstab. 2023-01-25 21:21:39.76 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: Command ['/bin/mount', '/boot'] failed with exit code 1. 2023-01-25 21:21:39.258 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has finished: ['/bin/mount', '/boot'] 2023-01-25 21:21:39.284 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has started: ['/bin/mount', '/boot/efi'] 2023-01-25 21:21:39.631 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: mount: /boot/efi: can't find UUID=D9F6-3A26. 2023-01-25 21:21:39.695 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: Command ['/bin/mount', '/boot/efi'] failed with exit code 1. 2023-01-25 21:21:39.793 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has finished: ['/bin/mount', '/boot/efi'] 2023-01-25 21:21:39.833 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has started: ['/usr/sbin/grubby', '--remove-kernel=/boot/vmlinuz-upgrade.x86_64'] 2023-01-25 21:21:39.955 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 2023-01-25 21:21:40.7 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 2023-01-25 21:21:40.115 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: grep: /boot/grub2/grubenv: No such file or directory 2023-01-25 21:21:40.269 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has finished: ['/usr/sbin/grubby', '--remove-kernel=/boot/vmlinuz-upgrade.x86_64'] 2023-01-25 21:21:40.319 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has started: ['/bin/mount', '-a'] 2023-01-25 21:21:40.451 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: mount: /boot/efi: can't find UUID=D9F6-3A26. 2023-01-25 21:21:40.512 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: Command ['/bin/mount', '-a'] failed with exit code 32. 2023-01-25 21:21:40.658 DEBUG PID: 306 leapp.workflow.InitRamStart.remove_upgrade_boot_entry: External command has finished: ['/bin/mount', '-a'] 2023-01-25 21:21:40.749 ERROR PID: 3 leapp: Actor remove_upgrade_boot_entry unexpectedly terminated with exit code: 1 2023-01-25 21:21:40.851 INFO PID: 3 leapp: Answerfile will be created at /var/log/leapp/answerfile |