Bug 1040352

Summary: Custom partitioning: cannot change a standard partition's size, then return it to the original size
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, awilliam, g.kaviyarasu, jonathan, kparal, lbrabec, mruckman, robatino, vanmeeuwen+fedora
Target Milestone: ---Keywords: CommonBugs
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: RejectedBlocker AcceptedFreezeException https://fedoraproject.org/wiki/Common_F20_bugs#standard-resize-restore
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-23 08:02:37 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: 980657    
Attachments:
Description Flags
bug demonstration video
none
anaconda.log
none
program.log
none
storage.log
none
syslog none

Description Kamil Páral 2013-12-11 09:45:01 UTC
Created attachment 835196 [details]
bug demonstration video

Description of problem:
This is a fork of bug 1027947. Several bugs have been identified in it, this is one of them.

It's not possible to select an existing standard partition, resize it, and then change the size back to original value.

Version-Release number of selected component (if applicable):
anaconda 20.25.14

How reproducible:
always

Steps to Reproduce:
1. boot installer with an existing installation on disk (at least one standard partition)
2. enter custom partitioning
3. select an existing standard partition (e.g. /boot) and change its size (e.g. from 500MB to 400MB). Click Update Settings.
4. try to change the size back to 500MB, it reverts to 400MB.
5. try to change the size to other value, it works.
6. try to change the size back to 500MB. The size is changed to some other previous value.

Comment 1 Kamil Páral 2013-12-11 09:46:00 UTC
Created attachment 835197 [details]
anaconda.log

Comment 2 Kamil Páral 2013-12-11 09:46:03 UTC
Created attachment 835198 [details]
program.log

Comment 3 Kamil Páral 2013-12-11 09:46:06 UTC
Created attachment 835199 [details]
storage.log

Comment 4 Kamil Páral 2013-12-11 09:46:10 UTC
Created attachment 835200 [details]
syslog

Comment 5 Kamil Páral 2013-12-11 09:51:03 UTC
Proposing a Final blocker:
"Any installer mechanism for resizing storage volumes must correctly attempt the requested operation. "
https://fedoraproject.org/wiki/Fedora_20_Final_Release_Criteria#Storage_volume_resize

In this case, you cannot really cancel a previously requested resize, unless you reset all your changes completely (that is, however, an available workaround).

Comment 6 Mike Ruckman 2013-12-11 17:25:30 UTC
Discussed in 2013-12-11 Blocker Review Meeting [1]. Voted as an RejectedBlocker and an AcceptedFreezeException. This is inconvenient, but can be easily worked around by hitting Reset All. A patch will be considered.

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2013-12-11/

Comment 8 David Shea 2015-04-14 19:09:49 UTC
Does this still occur in F21 or F22?

Comment 9 Lukas Brabec 2015-04-23 08:02:37 UTC
I wasn't able to reproduce this bug in F22 Beta RC3, closing.