Bug 856818 - SwapError: mkswap failed for '/dev/sda2'
Summary: SwapError: mkswap failed for '/dev/sda2'
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0915eb1232eb472fa57c85319b2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-12 20:41 UTC by Andy Lawrence
Modified: 2013-05-30 16:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-30 16:45:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb-Un3L6V (797.87 KB, text/plain)
2012-09-12 20:41 UTC, Andy Lawrence
no flags Details

Description Andy Lawrence 2012-09-12 20:41:49 UTC
libreport version: 2.0.10
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/loop3 --lang en_US.UTF-8
executable:     /sbin/anaconda
exnFileName:    /tmp/anaconda-tb-Un3L6V
hashmarkername: anaconda
kernel:         3.3.4-5.fc17.x86_64
other involved packages: 
product:        Fedora
release:        Fedora release 17 (Beefy Miracle)
time:           Wed 12 Sep 2012 04:38:13 PM EDT
version:        17

anaconda-tb-Un3L6V: Text file, 817021 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 17.29 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicelibs/swap.py", line 49, in mkswap
:    raise SwapError("mkswap failed for '%s'" % device)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/formats/swap.py", line 168, in create
:    swap.mkswap(self.device, label=self.label, progress=w)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/deviceaction.py", line 433, in execute
:    options=self.device.formatArgs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/devicetree.py", line 320, in processActions
:    action.execute(intf=self.intf)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 375, in doIt
:    self.devicetree.processActions()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packages.py", line 122, in turnOnFilesystems
:    anaconda.storage.doIt()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 383, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 247, in go_forward
:    self.dispatch()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked
:    self.anaconda.dispatch.go_forward()
:SwapError: mkswap failed for '/dev/sda2'

environ:
:LC_NUMERIC=C
:LIBUSER_CONF=/tmp/libuser.sAnFvJ
:LVM_SUPPRESS_FD_WARNINGS=1
:LOGNAME=root
:USER=root
:GCONF_GLOBAL_LOCKS=1
:PATH=/sbin:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin:/sbin:/usr/sbin
:PIXMAPPATH=/tmp/updates/pixmaps/:/tmp/updates/:/tmp/product/pixmaps/:/tmp/product/:pixmaps/:/usr/share/anaconda/pixmaps/:/usr/share/pixmaps/:/usr/share/anaconda/:/usr/share/python-meh/:/usr/share/icons/Fedora/48x48/apps/
:HOME=/tmp
:DISPLAY=:0.0
:ANACONDA_PRODUCTNAME=Fedora
:LANG=en_US.UTF-8
:TERM=dumb
:SHELL=/bin/bash
:TZ=America/Indiana/Indianapolis
:XAUTHORITY=/root/.xauthsU8xD6
:GLADEPATH=/tmp/updates/:/tmp/updates/data/ui/:ui/:/usr/share/anaconda/ui/:/usr/share/python-meh/
:SHLVL=1
:GNOME_DISABLE_CRASH_DIALOG=1
:ANACONDA_PRODUCTVERSION=17
:ANACONDA_BUGURL=https://bugzilla.redhat.com/bugzilla/
:USERHELPER_UID=1000
:ANACONDA_ISFINAL=true
:_=/sbin/anaconda
:PWD=/home/liveuser
:DESKTOP_STARTUP_ID=userhelper/Starting Install to Hard Drive/1993-0-localhost.localdomain_TIME0

Comment 1 Andy Lawrence 2012-09-12 20:41:54 UTC
Created attachment 612272 [details]
File: anaconda-tb-Un3L6V

Comment 2 Chris Lumens 2012-10-09 14:35:26 UTC
Can you please test with F18 Beta (or, at worst, F18) and let us know if you are still seeing this problem?  Thanks.

Comment 3 Andy Lawrence 2012-10-10 22:58:03 UTC
Hi Chris

This PC is now in production.  If the anaconda logs don't revel anything interesting I'm fine with closing this bug.

Thanks


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