Bug 573500

Summary: FormatCreateError: ('format failed: 1', '/dev/mapper/main-b1_md0')
Product: [Fedora] Fedora Reporter: Keith Bare <fc32004>
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: rawhideCC: anaconda-maint-list, hdegoede, iosonosaul, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:7615b07f59ebc63fc2ceba00d71480c6be6f79adbef61fe56a87e0946051255b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-15 13:48:08 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
Attached traceback automatically from anaconda. none

Description Keith Bare 2010-03-15 01:39:20 UTC
The following was filed automatically by anaconda:
anaconda 13.32 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/formats/fs.py", line 372, in doFormat
    raise FormatCreateError("format failed: %s" % rc, self.device)
  File "/usr/lib/anaconda/storage/formats/fs.py", line 909, in doFormat
    FS.doFormat(self, *args, **kwargs)
  File "/usr/lib/anaconda/storage/formats/fs.py", line 826, in create
    return self.doFormat(*args, **kwargs)
  File "/usr/lib/anaconda/storage/deviceaction.py", line 283, in execute
    options=self.device.formatArgs)
  File "/usr/lib/anaconda/storage/devicetree.py", line 672, in processActions
    action.execute(intf=self.intf)
  File "/usr/lib/anaconda/storage/__init__.py", line 290, in doIt
    self.devicetree.processActions()
  File "/usr/lib/anaconda/packages.py", line 109, in turnOnFilesystems
    anaconda.storage.doIt()
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1313, in nextClicked
    self.anaconda.dispatch.gotoNext()
FormatCreateError: ('format failed: 1', '/dev/mapper/main-b1_md0')

Comment 1 Keith Bare 2010-03-15 01:39:24 UTC
Created attachment 400091 [details]
Attached traceback automatically from anaconda.

Comment 2 Hans de Goede 2010-03-15 11:45:02 UTC
Hi,

I'm afraid the traceback and the logs don't reveal clearly what is going on. Can you try to reproduce the crash, and write down step by step what you did (in the custom partitioning UI) to get this crash ?

Thanks,

Hans

Comment 3 Hans de Goede 2010-03-15 13:29:12 UTC
I have a hunch what is going on here, see bug 573643.

Comment 4 Hans de Goede 2010-03-15 13:48:08 UTC
I'm pretty sure this is actually caused by bug 573643 now, this will also need anaconda changes once mke2fs is "fixed", those are being traced in bug 573247, marking this as a dup of that one.

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

Comment 5 Keith Bare 2010-03-15 21:44:47 UTC
background information - anaconda partitioning UI:
-created mount points to preexisting lv partitions
-formatted / partition as ext4 on preexisting lv partition
-formatted /boot partition as ext3 on preexisting raid1

(lv exists on top of raid5 arrays)

clicked button to apply changes, fails after about a minute

Comment 6 iosonosaul 2010-06-02 06:53:57 UTC
Created attachment 418937 [details]
Attached traceback automatically from anaconda.