Bug 1820418

Summary: anaconda 33.5 crashes during ostree install
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: anacondaAssignee: Vendula Poncova <vponcova>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, dustymabe, jkonecny, jonathan, kellin, vanmeeuwen+fedora, vponcova, walters, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: openqa
Fixed In Version: anaconda-33.8-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-09 18:44:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backtrace of the crash
none
anaconda.log
none
dbus.log
none
program.log
none
storage.log
none
syslog
none
journalctl from the installation with the fix none

Description Adam Williamson 2020-04-03 03:08:31 UTC
Created attachment 1675894 [details]
backtrace of the crash

Since Fedora-Rawhide-20200401.n.0 - which is when anaconda-33.5-1.fc33 landed - installs of the Silverblue DVD installer image are crashing quite early in the install process, shortly after filesystem creation completes. The GUI shows "Installing." briefly:

https://openqa.stg.fedoraproject.org/tests/793679#step/_do_install_and_reboot/3

then just crashes to a black screen:

https://openqa.stg.fedoraproject.org/tests/793679#step/_do_install_and_reboot/4

I will attach a backtrace of the crash, and some logs. This seems to be fully reproducible, I see the crash on both BIOS and UEFI installs of the last two composes on both prod and staging.

Comment 1 Adam Williamson 2020-04-03 03:11:19 UTC
Created attachment 1675895 [details]
anaconda.log

Comment 2 Adam Williamson 2020-04-03 03:11:33 UTC
Created attachment 1675896 [details]
dbus.log

Comment 3 Adam Williamson 2020-04-03 03:12:03 UTC
Created attachment 1675897 [details]
program.log

Comment 4 Adam Williamson 2020-04-03 03:12:20 UTC
Created attachment 1675898 [details]
storage.log

Comment 5 Adam Williamson 2020-04-03 03:12:36 UTC
Created attachment 1675899 [details]
syslog

Comment 6 Vendula Poncova 2020-04-03 13:20:17 UTC
The crash seems to be fixed with a pull request: https://github.com/rhinstaller/anaconda/pull/2425

Comment 7 Vendula Poncova 2020-04-03 14:01:05 UTC
However, the installation with the fix is aborted a little later due to another error. From anaconda.log:

15:33:09,855 DBG payload.flatpak: Flatpak operation: install of ref runtime/org.fedoraproject.Platform/x86_64/f32 state started
15:33:39,148 WRN misc: /tmp/updates/pyanaconda/payload/flatpak.py:177: Warning: g_value_get_flags: assertion 'G_VALUE_HOLDS_FLAGS (value)' failed
  self._transaction.run()

15:33:39,161 DBG payload.flatpak: Flatpak operation: install of ref runtime/org.fedoraproject.Platform/x86_64/f32 state failed
15:33:39,161 ERR payload.flatpak: Flatpak installation failed with message: 'Commit metadata for runtime/org.fedoraproject.Platform/x86_64/f32 not matching expected metadata' -- error is fatal False
15:33:39,162 ERR payload.rpmostreepayload: Failed to install flatpaks: flatpak-error-quark: Aborted due to failure (4)

Comment 8 Vendula Poncova 2020-04-03 14:02:45 UTC
Created attachment 1676011 [details]
journalctl from the installation with the fix

Comment 9 Adam Williamson 2020-04-03 15:20:13 UTC
Hum, I wonder if that's the same bug we're seeing in F32? I reported it to Silverblue:

https://github.com/fedora-silverblue/issue-tracker/issues/38

if so it looks like it may be fixed in the next composes...

Comment 10 Adam Williamson 2020-04-03 20:55:55 UTC
That one is definitely fixed in current F32, so I guess if you try the fix again with a newer Rawhide we can see...

Comment 11 Vendula Poncova 2020-04-07 16:02:02 UTC
Btw. it is still failing with Fedora-Silverblue-ostree-x86_64-Rawhide-20200406.n.0.iso.

Comment 12 Adam Williamson 2020-04-07 16:22:15 UTC
You mean, after your patch for the crash, the install still fails? Huh. Must be a different bug from the one I pointed out, then. I'm not sure what, though.

If your fix fixes the crash, though, let's go ahead and merge it and send it out, then we can investigate the other bug separately :)

Comment 13 Adam Williamson 2020-04-09 18:44:16 UTC
OK, so now I confirm the same as Vendula in the latest Rawhide: this crash is fixed, but install still fails, on the error Vendula posted in #c7.

Let's close this bug and file a new one for that.

Comment 14 Adam Williamson 2020-04-09 18:56:13 UTC
Filed https://bugzilla.redhat.com/show_bug.cgi?id=1822753 .