Bug 2234466

Summary: crash after clicking Reset All in Blivet partitioning (in GTK installer)
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: anaconda-maint, awilliam, geraldo.simiao.kutz, gmarr, jkonecny, mkolman, robatino, vslavik, vtrefny, w
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException AcceptedBlocker
Fixed In Version: blivet-gui-2.4.2-2.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-05 19:24:22 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:
Bug Depends On:    
Bug Blocks: 2143445, 2143446    
Attachments:
Description Flags
bug video demonstration
none
anaconda.log
none
dbus.log
none
journal.txt
none
packaging.log
none
program.log
none
storage.log
none
syslog
none
X.log
none
Screencast - cannot reproduce the bug
none
journal with updates.img none

Description Kamil Páral 2023-08-24 14:19:18 UTC
Description of problem:
Clicking Reset All in Blivet partitioning makes anaconda crash.

Version-Release number of selected component (if applicable):
anaconda 39.32-1.fc39
Fedora-Everything-netinst-x86_64-39-20230824.n.0.iso

How reproducible:
always

Steps to Reproduce:
1. have some existing installation on disk (in my case, Fedora Workstation default layout)
2. boot anaconda, go to blivet partitioning
3. perform some change, e.g. reformat /boot
4. click Reset All, confirm
5. crash

Comment 1 Kamil Páral 2023-08-24 14:20:21 UTC
Created attachment 1985070 [details]
bug video demonstration

Comment 2 Kamil Páral 2023-08-24 14:21:09 UTC
Created attachment 1985071 [details]
anaconda.log

Comment 3 Kamil Páral 2023-08-24 14:21:12 UTC
Created attachment 1985072 [details]
dbus.log

Comment 4 Kamil Páral 2023-08-24 14:21:16 UTC
Created attachment 1985073 [details]
journal.txt

Comment 5 Kamil Páral 2023-08-24 14:21:20 UTC
Created attachment 1985074 [details]
packaging.log

Comment 6 Kamil Páral 2023-08-24 14:21:23 UTC
Created attachment 1985075 [details]
program.log

Comment 7 Kamil Páral 2023-08-24 14:21:27 UTC
Created attachment 1985076 [details]
storage.log

Comment 8 Kamil Páral 2023-08-24 14:21:30 UTC
Created attachment 1985077 [details]
syslog

Comment 9 Kamil Páral 2023-08-24 14:21:34 UTC
Created attachment 1985078 [details]
X.log

Comment 10 Kamil Páral 2023-08-24 14:25:19 UTC
Proposing as an F39 blocker

Comment 11 Kamil Páral 2023-08-24 14:33:38 UTC
The same crash happens in Workstation, this is not limited just to netinst, likely a universal issue. For some reason, the coredump wasn't present in coredumpctl in GNOME, and abrt didn't pick it up. But it's in coredumpctl in netinst - if needed, I can try to gather a proper stack trace. But this should be trivial to reproduce by developers, I think, so I didn't do that right away.

Comment 12 Geraldo Simião 2023-08-25 04:31:36 UTC
Kamil, how you have reproduced this on the Fedora-Workstation-Live-x86_64-39-20230824.n.0.iso? Since in this iso it opens the webUI interface and blivet gui looks a bit different from the video you posted.

Comment 13 Geraldo Simião 2023-08-25 04:40:29 UTC
Created attachment 1985185 [details]
Screencast - cannot reproduce the bug

I tried to reproduce the bug usign the blivet interface offered by webUI, and its different from what Kamil found.

Comment 14 Kamil Páral 2023-08-25 08:03:46 UTC
(In reply to Geraldo Simião from comment #12)
> Kamil, how you have reproduced this on the
> Fedora-Workstation-Live-x86_64-39-20230824.n.0.iso?

Sorry, I didn't realize that my statement was confusing. I tested this with the 20230823 workstation iso, which still has the GTK anaconda by default. In that situation, that crash occurred as well. I haven't tested the webUI interface.

Comment 15 Adam Williamson 2023-08-28 16:14:14 UTC
This is accepted as Beta FE and Final blocker for now, vote on Beta blocker status is unclear. https://pagure.io/fedora-qa/blocker-review/issue/1189

Comment 16 Geoffrey Marr 2023-08-28 19:37:42 UTC
Discussed during the 2023-08-28 blocker review meeting: [0]

The decision to classify this bug as a "RejectedBlocker (Beta)" was made as we agree that this doesn't quite violate the Beta criteria. Note it is already accepted as Beta FE and Final blocker.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2023-08-28/f39-blocker-review.2023-08-28-16.07.txt

Comment 17 Vojtech Trefny 2023-08-30 13:59:32 UTC
updates image for Fedora 38: https://vtrefny.fedorapeople.org/img/rhbz2234466.img

upstream PR: https://github.com/storaged-project/blivet-gui/pull/405

Comment 18 Kamil Páral 2023-08-30 14:11:49 UTC
Created attachment 1986135 [details]
journal with updates.img

I applied the updates.img (I think! When I grep journal for "rhbz", it seems to suggest it was applied, but I don't see /tmp/updates.img created, as it used to be in the past), but I still see the same crash, using the same reproduction steps as in comment 0. Journal attached.

Comment 19 Kamil Páral 2023-08-30 14:12:26 UTC
For the record, I used Fedora-Everything-netinst-x86_64-39-20230824.n.0.iso and the updates.img on top of that.

Comment 20 Fedora Update System 2023-08-31 08:11:22 UTC
FEDORA-2023-5600f2c280 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5600f2c280

Comment 21 Vojtech Trefny 2023-08-31 08:20:20 UTC
(In reply to Kamil Páral from comment #19)
> For the record, I used Fedora-Everything-netinst-x86_64-39-20230824.n.0.iso
> and the updates.img on top of that.

The updates image works only with Fedora 38 and Python 3.11, Fedora 39 already has Python 3.12 so the updates image doesn't work there.

updates image for F39: https://vtrefny.fedorapeople.org/img/rhbz2234466_f39.img (tested with Fedora-Everything-netinst-x86_64-39-20230829.n.0.iso)

Comment 22 Kamil Páral 2023-08-31 08:49:12 UTC
Thanks. Both the F39 updates.img and the submitted update work OK for me.

Comment 23 Fedora Update System 2023-09-01 01:46:06 UTC
FEDORA-2023-5600f2c280 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-5600f2c280`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5600f2c280

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Fedora Update System 2023-09-05 13:27:26 UTC
FEDORA-2023-5600f2c280 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-5600f2c280`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5600f2c280

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2023-09-05 19:24:22 UTC
FEDORA-2023-5600f2c280 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.