Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1252052
Summary: | blivet.errors.DeviceError: ('cannot replace active format', 'fedora_dhcp45-root') | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Kolman <mkolman> | ||||||||||||||||||||||||||||
Component: | python-blivet | Assignee: | Vratislav Podzimek <vpodzime> | ||||||||||||||||||||||||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||||
Version: | 23 | CC: | anaconda-maint-list, atodorov, awilliam, bcl, dlehman, g.kaviyarasu, jkonecny, jonathan, kparal, plambri, robatino, vanmeeuwen+fedora, vpodzime | ||||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||||
Whiteboard: | abrt_hash:37a26951cbba423c77d289aef460efc0b49baef3a6286c037a9a561187dba80d AcceptedBlocker | ||||||||||||||||||||||||||||||
Fixed In Version: | 23.19.1-1.fc23 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||||
Last Closed: | 2015-08-27 17:58:36 UTC | Type: | --- | ||||||||||||||||||||||||||||
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: | 1170819 | ||||||||||||||||||||||||||||||
Attachments: |
|
Description
Martin Kolman
2015-08-10 14:48:30 UTC
Created attachment 1061120 [details]
File: anaconda-tb
Created attachment 1061121 [details]
File: anaconda.log
Created attachment 1061122 [details]
File: dnf.log
Created attachment 1061123 [details]
File: environ
Created attachment 1061124 [details]
File: ks.cfg
Created attachment 1061125 [details]
File: lsblk_output
Created attachment 1061126 [details]
File: nmcli_dev_list
Created attachment 1061127 [details]
File: os_info
Created attachment 1061128 [details]
File: program.log
Created attachment 1061129 [details]
File: storage.log
Created attachment 1061130 [details]
File: syslog
Created attachment 1061131 [details]
File: ifcfg.log
Created attachment 1061132 [details]
File: packaging.log
*** Bug 1252450 has been marked as a duplicate of this bug. *** Okay, so I did a little bit of debugging and here's what happens: 1. blivet tries to verify that it is not removing an active format 2. format is considered active if it's mounted 3. to check if a format is mounted the mountsCache is used 4. to prevent issues with device having multiple symlinks, blivet tries to resolve the device spec to the raw device spec (e.g. /dev/dm-4 for /dev/fedora/root) using udev 5. the root LV is not activated, so udev doesn't know about it 6. the resolved device spec is None 7. mount points that have no device are returned for the None device from mountsCache 8. blivet thinks the root LV is mounted 10. exception raised updates.img: http://vpodzime.fedorapeople.org/1252052_updates.img Proposed as a Blocker for 23-beta by Fedora user vpodzime using the blocker tracking app because: This clearly violates the following criterion: Guided partitioning When using the guided partitioning flow, the installer must be able to: Cleanly install to a disk with a valid ms-dos or gpt disk label and partition table which contains existing data and sufficient unpartitioned space for a Fedora installation Complete an installation using any combination of disk configuration options it allows the user to select Remove existing storage volumes to free up space, at the user's direction Reject or disallow invalid disk and volume configurations without crashing. According to Vratislav, this probably affects all installations with pre-existing LVM/LVMthinp layout. Yeah, I saw what was probably this when installing my new Fedlet image over an existing Fedlet install the other day. Couldn't file because Fedlet is debranded. bug #1212920 is probably a duplicate, please check. Discussed at 2015-08-20 blocker review meeting: http://meetbot-raw.fedoraproject.org/fedora-blocker-review/2015-08-20/f23-blocker-review.2015-08-20-16.05.log.txt . Accepted as a blocker per criteria cited in #c18. *** Bug 1212920 has been marked as a duplicate of this bug. *** This does not appear to be fully fixed. I hit it (or a variant) when testing on a live image with anaconda and blivet updated. See https://bugzilla.redhat.com/show_bug.cgi?id=1255969 (which has the updated logs). anaconda-23.19.1-1.fc23, python-blivet-1.12.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update anaconda python-blivet'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-13831 anaconda-23.19.1-1.fc23, python-blivet-1.12.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. David Shea just reported in passing that he'd seen this with a current Rawhide compose, which should have blivet 1.13. I'm really not sure this is fully fixed, given https://bugzilla.redhat.com/show_bug.cgi?id=1255969 . <davidshea> cannot replace active format * davidshea tries again <adamw> wait a minute, you hit that too? with current anaconda/blivet? <davidshea> yeah I guess "current" being the last rawhide compose, which looks like 8/28 <adamw> it was supposed to be fixed... never mind, sounds like he had 1.12. 8/28 was a lie, apparently. .buildstamp says 8/20. Sorry for the noise. |