Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest agama produces unbootable Leap16 #1446

Closed
lkocman opened this issue Jul 8, 2024 · 13 comments
Closed

Latest agama produces unbootable Leap16 #1446

lkocman opened this issue Jul 8, 2024 · 13 comments
Assignees

Comments

@lkocman
Copy link
Contributor

lkocman commented Jul 8, 2024

Tested with latest agama in :Devel. Neither TW nor Leap16 can boot to grub2 after installation. Screen is stuck at loading bootloader.

image

@lkocman lkocman changed the title Latest agama produces unbootable installations Latest agama produces unbootable systems Jul 8, 2024
@stacheldrahtje
Copy link
Contributor

I get the same result in a KVM VM, no exotic options WRT partitioning.

@lkocman
Copy link
Contributor Author

lkocman commented Jul 8, 2024

logs from TW based installation done by agama-installer-openSUSE.x86_64-9.0.0-openSUSE-Build5.3.iso (downloaded from :Devel) today in the morning). All kept as default just changed root password.

YaST2.zip

@lkocman lkocman self-assigned this Jul 8, 2024
@lkocman
Copy link
Contributor Author

lkocman commented Jul 8, 2024

Hmmm that system indeed booted. Seems like ball is on my playground.

@imobachgs
Copy link
Contributor

I have reproduced the problem with Leap 16.0. Here are the YaST2 logs.
y2logs-leap.tar.gz

@lkocman lkocman changed the title Latest agama produces unbootable systems Latest agama produces unbootable Leap16 Jul 8, 2024
@imobachgs
Copy link
Contributor

I do not whether it is a red herring, but Agama cannot umount the target system at the end of the installation because of this:

# fuser -mv /mnt
                     USER        PID ACCESS COMMAND
/mnt:                root     kernel mount /mnt
                     root      11326 .rce. gpg-agent
                     root      11328 .rce. scdaemon

And the processes look like this:

 gpg-agent --homedir /var/tmp/zypp.sGTfPc/zypp-trusted-krhTfaOt --use-standard-socket --daemon
 scdaemon --multi-server --homedir /var/tmp/zypp.sGTfPc/zypp-trusted-krhTfaOt

Bear in mind that /var/tmp/zypp.sGTfPc is under /mnt.

@lkocman
Copy link
Contributor Author

lkocman commented Jul 9, 2024

ah that could be it!

@lkocman
Copy link
Contributor Author

lkocman commented Jul 10, 2024

YaST2.zip

uploading recent logs after fixing the product fine in 000release-packages

@stacheldrahtje
Copy link
Contributor

stacheldrahtje commented Jul 10, 2024

Mount strikes again:
2024-07-10 13:47:30 <3> agama(2710) [Ruby] lib/cheetah.rb(log_stream_line):211 Error output: umount: /mnt/run: target is busy.

and in de y2log-1 file:
2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_commands):163 Executing "/usr/bin/mount -o ro UUID=64f87baa-4d25-4e15-8f1c-49033389bab4 /mnt".
2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_status):183 Status: 0
2024-07-10 13:41:34 <1> agama(2708) [Ruby] modules/Misc.rb(SysconfigRead):182 ."/mnt/etc/os-release"."NAME": 'openSUSE Leap'
2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_commands):163 Executing "/usr/bin/umount -R /mnt".
2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_status):183 Status: 0
2024-07-10 13:41:34 <1> agama(2708) [Ruby] lib/cheetah.rb(record_commands):163 Executing "/usr/bin/mount -o ro UUID=2d4794f0-3253-4d92-a12c-1cfc61559fa6 /mnt".
2024-07-10 13:41:34 <3> agama(2708) [Ruby] lib/cheetah.rb(log_stream_line):211 Error output: mount: /mnt: unknown filesystem type 'swap'.
2024-07-10 13:41:34 <3> agama(2708) [Ruby] lib/cheetah.rb(log_stream_line):211 Error output: dmesg(1) may have more information after failed mount system call.
2024-07-10 13:41:34 <3> agama(2708) [Ruby] lib/cheetah.rb(record_status):183 Status: 32
2024-07-10 13:41:34 <3> agama(2708) [Ruby] y2storage/filesystem_reader.rb(rescue in read_linux_system):181 CAUGHT exception: mount failed for UUID=2d4794f0-3253-4d92-a12c-1cfc61559fa6

@imobachgs
Copy link
Contributor

Hi @stacheldrahtje,

Which version are you trying? It was reported to work in a previous comment.

@stacheldrahtje
Copy link
Contributor

I sifted through Lubos latest attachment.

@imobachgs
Copy link
Contributor

It looks like these logs are old. The good ones are here: #1447 (comment).

@imobachgs
Copy link
Contributor

No problem, it wasn't clear. I can confirm that it works, hence I am closing the bug.

@bittin
Copy link

bittin commented Jul 26, 2024

tested now and worked to install with: https://download.opensuse.org/repositories/systemsmanagement:/Agama:/Devel/images/iso/agama-installer-openSUSE.x86_64-9.0.0-openSUSE-Build9.21.iso but could not install any packages but i guess not much is packaged yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants