Bug 1225378 - [Agama][Milestone8+] Installation progress does not report libzypp errors, e.g., if the package fails to install
Summary: [Agama][Milestone8+] Installation progress does not report libzypp errors, e....
Status: CONFIRMED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Installation (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: YaST Team
QA Contact: Jiri Srain
URL: https://trello.com/c/gBqvKs21
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-27 14:49 UTC by Lukas Ocilka
Modified: 2024-06-05 09:16 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
YaST logs (1.57 MB, application/x-xz)
2024-05-27 14:49 UTC, Lukas Ocilka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ocilka 2024-05-27 14:49:00 UTC
Created attachment 875135 [details]
YaST logs

I have created a system with too small /usr and /var, both 500 MiB encrypted XFS. While that might sound like a useful size, there is basically almost no free space left for data already after formatting. See bug #1225364 and bug #1225371.

During the actual installation of RPMs, the space run out and libzypp started to report these errors, example:

[zypp::exec] abstractspawnengine.cc(checkStatus):182 Pid 10413 exited with status 1
[zypp-core] Exception.cc(log):202 RpmDb.cc(doInstallPackage):1846 THROW:    Subprocess failed. Error: RPM failed: Command exited with status 1.
[zypp-core] Exception.cc(log):202 History:
[zypp-core] Exception.cc(log):202  -        installing package xfce4-power-manager-lang-4.18.3-1.3.noarch needs 2MB more space on the /usr filesystem
[zypp-core] Exception.cc(log):202
[zypp-core] PathInfo.cc(unlink):711 unlink /mnt/var/cache/zypp/packages/https-download.opensuse.org-425fd75b/noarch/xfce4-power-manager-lang-4.18.3-1.3.noarch.rpm

So libzypp failed to install the package, but there was no error in the UI. At the end, Agama congratulated me to a successful installation and told me to reboot. Many have obviously failed, the system would not boot. It's good that libstorage failures are reported, but failures from libzypp don't seem to be.
Comment 1 Stefan Hundhammer 2024-05-27 15:21:05 UTC
Just a wild guess: Missing error callback?
Comment 2 Stefan Hundhammer 2024-06-05 09:16:13 UTC
Moving to our Trello task queue.