Bug 583214

Summary: PartitionException: Flag is not available on inactive partition /dev/sda-1
Product: [Fedora] Fedora Reporter: David Lam <david.k.lam>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: anaconda-maint-list, hdegoede, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: anaconda_trace_hash:540118959e9562fde75dbfce753b1b8038bfc6e3a1efed3681f7536016485559
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-19 13:32:56 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:
Attachments:
Description Flags
Attached traceback automatically from anaconda. none

Description David Lam 2010-04-17 03:59:40 UTC
The following was filed automatically by anaconda:
anaconda 12.46 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.6/site-packages/parted/partition.py", line 173, in isFlagAvailable
    return self.__partition.is_flag_available(flag)
  File "/usr/lib/python2.6/site-packages/parted/decorators.py", line 30, in localeC
    ret = fn(*args, **kwds)
  File "<string>", line 2, in isFlagAvailable
  File "/usr/lib/anaconda/storage/devices.py", line 1106, in flagAvailable
    return self.partedPartition.isFlagAvailable(flag)
  File "/usr/lib/anaconda/storage/devices.py", line 1111, in getFlag
    if not self.partedPartition or not self.flagAvailable(flag):
  File "/usr/lib/anaconda/partIntfHelpers.py", line 218, in checkForSwapNoMatch
    if device.getFlag(parted.PARTITION_SWAP) and \
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1336, in getScreen
    checkForSwapNoMatch(anaconda)
  File "/usr/lib/anaconda/gui.py", line 1279, in setScreen
    new_screen = self.currentWindow.getScreen(anaconda)
  File "/usr/lib/anaconda/gui.py", line 1196, in nextClicked
    self.setScreen ()
PartitionException: Flag is not available on inactive partition /dev/sda-1

Comment 1 David Lam 2010-04-17 03:59:53 UTC
Created attachment 407230 [details]
Attached traceback automatically from anaconda.

Comment 2 David Lam 2010-04-17 04:13:43 UTC
What I was doing:


Was trying to install Fedora in free space of a 1.5TB drive where there's a 700GB ntfs partiton and a 200GB fat partition.

On my initial attempt, I went through the installation screens until the page with the 'Review Partitioning Scheme' checkbox.  There, I checked off the box and selected to install into free space from the select box at the top, but after I hit Next the installer seemed to stall.  

So after 15 minutes I guess I got impatient and I decided to just reboot and try the installer again.  And *I think* when I clicked the next button to get to the page with the 'Review Parition Scheme' checkbox again  is when I got the exception.

Comment 3 David Lam 2010-04-17 05:01:04 UTC
Hmmm, ok I think my install failed when I choose the 'Install in free space' and 'Replace existing linux system' options from the box,  but it seems to be working after choosing 'Create custom layout'

Comment 4 Hans de Goede 2010-04-19 13:32:56 UTC
After looking long and hard at your logs, I believe this is a duplicate of bug 567576.

*** This bug has been marked as a duplicate of bug 567576 ***