Bug 1017977 - FormatDestroyError: error wiping old signatures from /dev/vda2: 1
Summary: FormatDestroyError: error wiping old signatures from /dev/vda2: 1
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1267df4af48ac7628c33cd824d3...
: 986094 1046944 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 21:40 UTC by Cristian Ciupitu
Modified: 2020-04-12 23:46 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-19 20:36:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (246.29 KB, text/plain)
2013-10-10 21:40 UTC, Cristian Ciupitu
no flags Details
File: anaconda.log (37.85 KB, text/plain)
2013-10-10 21:40 UTC, Cristian Ciupitu
no flags Details
File: environ (525 bytes, text/plain)
2013-10-10 21:41 UTC, Cristian Ciupitu
no flags Details
File: lsblk_output (1.73 KB, text/plain)
2013-10-10 21:41 UTC, Cristian Ciupitu
no flags Details
File: nmcli_dev_list (4.33 KB, text/plain)
2013-10-10 21:41 UTC, Cristian Ciupitu
no flags Details
File: os_info (291 bytes, text/plain)
2013-10-10 21:41 UTC, Cristian Ciupitu
no flags Details
File: program.log (31.01 KB, text/plain)
2013-10-10 21:41 UTC, Cristian Ciupitu
no flags Details
File: storage.log (148.27 KB, text/plain)
2013-10-10 21:41 UTC, Cristian Ciupitu
no flags Details
File: ifcfg.log (650 bytes, text/plain)
2013-10-10 21:41 UTC, Cristian Ciupitu
no flags Details

Description Cristian Ciupitu 2013-10-10 21:40:43 UTC
Version-Release number of selected component:
anaconda-20.21-1.fc20.x86_64

The following was filed automatically by anaconda:
anaconda 20.21-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/formats/__init__.py", line 327, in destroy
    raise FormatDestroyError(msg)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 527, in execute
    self.format.destroy()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 237, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 310, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 169, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 142, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
FormatDestroyError: error wiping old signatures from /dev/vda2: 1

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=testday-2013-10-10 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.2-301.fc20.x86_64
other involved packages: python-blivet-0.22-1.fc20.noarch, python-libs-2.7.5-7.fc20.x86_64
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Potential duplicate: bug 950593

Comment 1 Cristian Ciupitu 2013-10-10 21:40:49 UTC
Created attachment 810804 [details]
File: anaconda-tb

Comment 2 Cristian Ciupitu 2013-10-10 21:40:56 UTC
Created attachment 810805 [details]
File: anaconda.log

Comment 3 Cristian Ciupitu 2013-10-10 21:41:00 UTC
Created attachment 810806 [details]
File: environ

Comment 4 Cristian Ciupitu 2013-10-10 21:41:04 UTC
Created attachment 810807 [details]
File: lsblk_output

Comment 5 Cristian Ciupitu 2013-10-10 21:41:09 UTC
Created attachment 810808 [details]
File: nmcli_dev_list

Comment 6 Cristian Ciupitu 2013-10-10 21:41:13 UTC
Created attachment 810809 [details]
File: os_info

Comment 7 Cristian Ciupitu 2013-10-10 21:41:18 UTC
Created attachment 810810 [details]
File: program.log

Comment 8 Cristian Ciupitu 2013-10-10 21:41:23 UTC
Created attachment 810811 [details]
File: storage.log

Comment 9 Cristian Ciupitu 2013-10-10 21:41:27 UTC
Created attachment 810812 [details]
File: ifcfg.log

Comment 10 Chris Murphy 2013-10-16 06:44:56 UTC
Proposing as a beta blocker:  "The installer must be able to remove existing storage volumes; reject or disallow invalid disk and volume configurations without crashing."

Is this reproducible? Or did you try again and did it work? It doesn't look like the wipefs worked on vda2 which is reported to be ext4, but I'm uncertain why it failed.

Comment 11 Cristian Ciupitu 2013-10-16 06:47:33 UTC
I tried multiple times on the same virtual machine after rebooting.

Comment 12 Chris Murphy 2013-10-16 06:53:12 UTC
Can you tell us anything specific about the configuration of the VM that would enable us to reproduce the bug step by step? If so can you run wipefs /dev/vda2 and report the results?

Comment 13 Cristian Ciupitu 2013-10-16 07:02:31 UTC
It seems that I have deleted that virtual machine probably because I wasn't able to install Fedora 20 on it.

In case it matters, I used testday-2013-10-10.x86_64.iso.

Comment 14 Adam Williamson 2013-10-16 10:35:46 UTC
17:38:19,638 INFO program: Running... wipefs -f -a /dev/vda2
17:38:19,650 INFO program: wipefs: error: /dev/vda2: probing initialization failed: No such file or directory

Did you somehow do something to cause vda2 to disappear 'behind the installer's back' - fiddle with the disk layout from a terminal during the install process and then not use the 're-scan disks' option in custom partitioning, for instance? The subsequent lsblk output does seem to show vda2 was really not there any more when anaconda tried to write it.

The other possibility is some kind of logical fail in anaconda that causes it to delete a partition and later try to format it, I guess. Did you go through multiple partitioning paths (guided, custom)?

Comment 15 Cristian Ciupitu 2013-10-16 14:07:18 UTC
I might have run fdisk, gdisk or Disks the first or the second time, but I don't think I've done it afterwards.

Yes, I tried both automatic and custom partitioning sometimes even in the same install session.

Comment 16 Chris Murphy 2013-10-16 15:12:13 UTC
OK I'd put this in the category of unique configuration, unless there are some really clear and reasonably sane "how to" reproduce steps published.

If the anaconda team thinks better behavior is needed since the installer did crash, I'd support a beta freeze exception for a fix. Otherwise -1 blocker when it comes down to it.

Comment 17 Adam Williamson 2013-10-16 16:20:06 UTC
Discussed at 2013-10-16 blocker review meetings. As things stand, this seems to be a messy and un-reproducible test scenario, so it is rejected as a blocker for now. If the OP or anyone else can provide a clearly repeatable reproducer for the bug, please re-propose it as a blocker (by re-setting the Blocks: field and clearing 'RejectedBlocker' from the whiteboard field) and it will be re-considered. Thanks.

Comment 18 Kevin Raymond 2013-10-27 22:37:28 UTC
Docking laptop while resizing HDD

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base --lang en_US.UTF-8
cmdline_file:   initrd=initrd0.img root=live:UUID=b167fd7b-0e02-41e8-a2fa-f4b7a119663f rootfstype=ext2 ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
hashmarkername: anaconda
kernel:         3.11.6-301.fc20.x86_64
other involved packages: python-libs-2.7.5-8.fc20.x86_64, python-blivet-0.23.2-1.fc20.noarch
package:        anaconda-20.25.4-1.fc20.x86_64
packaging.log:  
product:        Fedora
reason:         FormatDestroyError: error wiping old signatures from /dev/dm-4: 1
release:        Fedora release 20 (Heisenbug)
version:        20

Comment 19 Kevin Raymond 2013-10-27 22:43:57 UTC
reproducible for me with:

Hard install from live media
Custom partitionning with:
- one empty SSD set as /, swap and boot
- one HDD containing an old default F19 install (fedora-root and fedora-home VG)

I removed the fedora-root VG on the HDD, then used the actual fedora-home VG with it's /home. This HDD is using LUKS. And I set an other passphrase while Anaconda asked me.

Comment 20 Chris Murphy 2013-10-31 04:52:29 UTC
Kevin thanks for the report. Can you reproduce this, and upon getting the crash go to console and find in /tmp the anaconda-tb-xxxxxxx, program.log, and storage.log and post those as separate plain-text attachments? That would be useful.

Comment 21 Kevin Raymond 2013-10-31 09:42:28 UTC
Sorry, I haven't thought about those logs. In fact, I was in hurry while installing. Couldn't we add in Anaconda where to get logs when it crashes? Or before, as a reminder when we read that it is a prerelease software (It won't be nice to display it for GOLD releases).

I'll try to setup a virtual machine to reproduce this.

Comment 22 Chris Murphy 2013-11-01 22:07:17 UTC
I can't reproduce this, there are too many possibilities. What was the exact layout from F19? Did you use custom partitioning or guided? Did you encrypt the whole HDD, a partition, or individual LVs? In c18 you say you were resizing the HDD, but I don't see how that fits into the sequence for c19. After removing fedora-root did you try to grow fedora-home?

Comment 23 Kevin Raymond 2013-11-01 23:14:24 UTC
and I were not able yet to produce a working VM.

The F19 layout was one HDD (320 GB) installed from Live F18 and did a fedup to F19. One LV for /, one LV for /home, and other for swap. Last partition was /boot. Only /home was encrypted. I used ext4.

In c18 I probably mean while anaconda started the process to write the partition table. But it has nothing to do with docking the laptop.

No I didn't tryied to grow fedora-home. In fact, I had hard time understand how to create group volume and manage LV. I just deleted the fedora-root LV, set the fedora-home as home on the HDD and created custom partitioning on the SDD for /, /boot and swap. I thought to increase the fedora-home LV after the install complete.


I am going once more to create a F19 VM

Comment 24 Vadim 2014-02-08 22:53:10 UTC
I started Fedora KDE 20 installation on Sony Vaio VPCF11Z1E.
Custom partitions.
Error appeared when I finished root password setup.

cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   initrd=initrd0.img root=live:CDLABEL=Fedora-Live-KDE-x86_64-20-1 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.x86_64
other involved packages: python-blivet-0.23.9-1.fc20.noarch, python-libs-2.7.5-9.fc20.x86_64
package:        anaconda-20.25.15-1.fc20.x86_64
packaging.log:  
product:        Fedora
reason:         FormatDestroyError: error wiping old signatures from /dev/sda7: 1
release:        Fedora release 20 (Heisenbug)
version:        20

Comment 25 David Shea 2014-10-23 18:35:50 UTC
*** Bug 1046944 has been marked as a duplicate of this bug. ***

Comment 26 David Shea 2014-12-08 22:14:29 UTC
*** Bug 986094 has been marked as a duplicate of this bug. ***

Comment 27 David Shea 2014-12-08 22:19:26 UTC
Is this issue reproduceable with F21?

Comment 28 Cristian Ciupitu 2020-04-10 11:45:40 UTC
I have used "dnf system upgrade" for the latest Fedora releases, but before that I haven't encountered this bug any more.


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