Bug 498026 - RuntimeError: Returning partitions to state prior to edit failed
Summary: RuntimeError: Returning partitions to state prior to edit failed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 11
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:8da14ed36d58b62b5...
: 502092 519212 519727 526573 (view as bug list)
Depends On:
Blocks: F12Blocker, F12FinalBlocker F12Beta, F12BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2009-04-28 14:53 UTC by Tomasz Torcz
Modified: 2013-01-10 05:11 UTC (History)
16 users (show)

Fixed In Version: anaconda-12.36-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-12 22:44:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (157.83 KB, text/plain)
2009-04-28 14:53 UTC, Tomasz Torcz
no flags Details
Attached traceback automatically from anaconda. (681.17 KB, text/plain)
2009-05-14 06:17 UTC, A S Alam
no flags Details
Attached traceback automatically from anaconda. (135.13 KB, text/plain)
2009-05-30 18:28 UTC, Pasi Karkkainen
no flags Details
anaconda log from fedora11 (201.29 KB, text/plain)
2009-08-27 15:25 UTC, IBM Bug Proxy
no flags Details
F12 alpha: anaconda log file (120.81 KB, text/plain)
2009-08-27 15:25 UTC, IBM Bug Proxy
no flags Details
Attached traceback automatically from anaconda. (293.82 KB, text/plain)
2009-09-08 19:47 UTC, David Pravec
no flags Details
anaconda log (165.80 KB, text/plain)
2009-09-25 11:02 UTC, IBM Bug Proxy
no flags Details

Description Tomasz Torcz 2009-04-28 14:53:44 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.47 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1122, in editPartition
    raise RuntimeError, ("Returning partitions to state "
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1068, in editCB
    self.editPartition(device)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 943, in treeActivateCB
    self.editCB()
RuntimeError: Returning partitions to state prior to edit failed

Comment 1 Tomasz Torcz 2009-04-28 14:53:55 UTC
Created attachment 341583 [details]
Attached traceback automatically from anaconda.

Comment 2 Tomasz Torcz 2009-04-28 15:00:19 UTC
What I did:
I started with both drives empty, only with MSDOS partition table.
I selected automatic layout and opted to modify.
I removed VGs.
I changed PV on second drive into 8GB partition, mount on /, type btrfs, selected sda and sdb as allowable drives and 8192MB as fixed size.
Then I edited PV on first drive with exact sam information (/, btrfs, both drives, 8192 fixed). 
At this point I got exception.

What was expected:
I expected to have / with btrfs filesystem spanning over sda2 and sdb1. I also expected question if I want RAID0 or RAID1 withing btrfs over those partitions.

Comment 3 David Lehman 2009-04-28 17:02:59 UTC
Thanks for the report.

(In reply to comment #2)
> What was expected:
> I expected to have / with btrfs filesystem spanning over sda2 and sdb1. I also
> expected question if I want RAID0 or RAID1 withing btrfs over those partitions.  

None of what you expected is going to work. We only support the creation of btrfs filesystems on a single block device, just like all other filesystems.

Comment 4 A S Alam 2009-05-14 06:17:24 UTC
Created attachment 343913 [details]
Attached traceback automatically from anaconda.

Comment 5 Pasi Karkkainen 2009-05-30 18:28:05 UTC
Created attachment 345979 [details]
Attached traceback automatically from anaconda.

Comment 6 Chris Lumens 2009-06-08 20:20:13 UTC
*** Bug 502092 has been marked as a duplicate of this bug. ***

Comment 7 Bug Zapper 2009-06-09 14:42:29 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Andy Lindeberg 2009-08-25 16:56:38 UTC
*** Bug 519212 has been marked as a duplicate of this bug. ***

Comment 9 Andy Lindeberg 2009-08-27 15:19:11 UTC
*** Bug 519727 has been marked as a duplicate of this bug. ***

Comment 10 IBM Bug Proxy 2009-08-27 15:25:41 UTC
Created attachment 358893 [details]
anaconda log from fedora11

Comment 11 IBM Bug Proxy 2009-08-27 15:25:57 UTC
Created attachment 358894 [details]
F12 alpha: anaconda log file

Comment 12 David Pravec 2009-09-08 19:47:37 UTC
Created attachment 360123 [details]
Attached traceback automatically from anaconda.

Comment 13 IBM Bug Proxy 2009-09-25 11:02:11 UTC
Created attachment 362657 [details]
anaconda log


------- Comment on attachment From pavan.naregundi.com 2009-09-25 06:58 EDT-------


Still seeing this issue in latest rawhide with anaconda 12.26.

RedHat, Any updates on this?

Comment 14 David Lehman 2009-09-25 14:50:56 UTC
Can you please provide a detailed description of the process to reproduce this behavior?

Comment 15 Robert Townley 2009-09-30 14:17:35 UTC
I have had several instances of Bug 502092.

Installing to a fresh machine but simply wanted to increase the size of /boot from 200MB to 1000.  This fails saying there is not enough free space, but instead of allowing me to reduce the other partition/vg, it crashes.

HP DL 380 G4 with 2 300GB hot plug SCA scsi drives in a mirror.

Comment 16 Chris Lumens 2009-10-01 15:54:04 UTC
*** Bug 526573 has been marked as a duplicate of this bug. ***

Comment 17 IBM Bug Proxy 2009-10-05 06:22:16 UTC
------- Comment From pavan.naregundi.com 2009-10-05 02:19 EDT-------
(In reply to comment #21)
> Can you please provide a detailed description of the process to reproduce this
> behavior?
>

One of the way to reproduce this bug,
Steps:
1. Start f12 rawhide installation with vnc
2. Select "Use entire drive" in partitioning. This option should not leave any
free space on the disk.
* Also check for review and modify partitioning layout
* Pressing next should be able to partition information.
3. Select one the partition and press 'Edit'
4. Increase the size of the partition and press OK.
* This should give an error of saying " not enough free space on disk". Which
is expected.
5. Now click on 'OK' for the error. This will crash the anaconda.

Comment 18 Alexey Torkhov 2009-10-09 15:05:13 UTC
Listing as beta blocker, pretty annoying bug.

Comment 19 Alexey Torkhov 2009-10-09 16:45:36 UTC
I'm getting sometimes this error when editing (and saving as is) partition when disk is full (tracebacks are in bug# 519212).

Comment 20 James Laska 2009-10-09 20:31:54 UTC
Unable to reproduce the problem when testing anaconda-12.35 + http://dlehman.fedorapeople.org/updates-498026.img.

Comment 21 David Lehman 2009-10-09 22:20:40 UTC
Fixed in anaconda-12.36-1.

Comment 22 Jesse Keating 2009-10-12 22:44:05 UTC
That anaconda has been tagged.

Comment 23 IBM Bug Proxy 2009-10-26 13:06:56 UTC
------- Comment From pavan.naregundi.com 2009-10-26 01:59 EDT-------
Tested with F12 rawhide having anaconda 12.39. I confirm that the issue is fixed now.

Thanks

Comment 24 James Laska 2009-10-27 14:41:39 UTC
Thanks for the feedback Pavan!

Comment 25 James Laska 2009-10-28 20:32:57 UTC
anaconda-12.39-1 failure (see anacdump.txt in attachment#366492 [details])

1) First, do this - https://fedoraproject.org/wiki/QA/TestCases/PartitioningExt4OnNativeDevice
2) After that install, do this - https://fedoraproject.org/wiki/QA:Testcase_Anaconda_autopart_%28shrink%29_install
3) There will be 2 'PPCPReP Boot' Partitions, I clicked "EDIT" on the original partition and chose to format it again.  Click OK

Crash.

Comment 26 Adam Williamson 2009-10-28 21:30:44 UTC
Well, either re-open this bug or file a new one? New comments on closed bugs have a tendency to get lost in the shuffle...

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 27 James Laska 2009-10-28 22:18:01 UTC
Comment#25 opened as bug#531629


Note You need to log in before you can comment on or make changes to this bug.