Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1170785 - LVMError: pvcreate failed for /dev/vda2: running lvm pvcreate --dataalignment 1024k /dev/vda2 --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] filter=["r|/vdb1$|","r|/vdb2$|","r|/vdb3$|","r|/vdb$|"] } failed
Summary: LVMError: pvcreate failed for /dev/vda2: running lvm pvcreate --dataalignment...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9459138f9e835628256f76b32a2...
Depends On:
Blocks: F22AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2014-12-04 20:42 UTC by Adam Williamson
Modified: 2015-01-06 19:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-06 19:17:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (399.36 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: anaconda.log (18.12 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: environ (606 bytes, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: journalctl (116.50 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: lsblk_output (3.25 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: nmcli_dev_list (1.60 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: os_info (381 bytes, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: program.log (49.65 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: storage.log (161.53 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: ifcfg.log (2.73 KB, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details
File: packaging.log (371 bytes, text/plain)
2014-12-04 20:42 UTC, Adam Williamson
no flags Details

Description Adam Williamson 2014-12-04 20:42:07 UTC
Description of problem:
Tried an all-defaults install of the 2014-12-04 Rawhide nightly Workstation x86_64 with an updates.img to fix https://bugzilla.redhat.com/show_bug.cgi?id=1167036 (just cherry-picked the two relevant commits from clumens). Gets past that crash, then crashes during filesystem creation at the start of install.

Version-Release number of selected component:
anaconda-core-22.11-1.fc22.x86_64

The following was filed automatically by anaconda:
anaconda 22.11-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 251, in pvcreate
    raise LVMError("pvcreate failed for %s: %s" % (device, msg))
  File "/usr/lib/python2.7/site-packages/blivet/formats/lvmpv.py", line 118, in create
    lvm.pvcreate(self.device)
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 577, in execute
    options=self.device.formatArgs)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 360, in processActions
    action.execute(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 356, in doIt
    self.devicetree.processActions(callbacks)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 207, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/tmp/updates/pyanaconda/install.py", line 186, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/tmp/updates/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
LVMError: pvcreate failed for /dev/vda2: running lvm pvcreate --dataalignment 1024k /dev/vda2 --config  devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] filter=["r|/vdb1$|","r|/vdb2$|","r|/vdb3$|","r|/vdb$|"] }  failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-rawhide-20 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  inst.updates=https://www.happyassassin.net/updates/updates-1167036.img
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.18.0-0.rc7.git1.1.fc22.x86_64
other involved packages: python-blivet-0.71-1.fc22.noarch, python-libs-2.7.8-9.fc22.x86_64
product:        Fedora"
release:        Fedora release 22 (Rawhide)
type:           anaconda
version:        Fedora

Comment 1 Adam Williamson 2014-12-04 20:42:09 UTC
Created attachment 964820 [details]
File: anaconda-tb

Comment 2 Adam Williamson 2014-12-04 20:42:10 UTC
Created attachment 964821 [details]
File: anaconda.log

Comment 3 Adam Williamson 2014-12-04 20:42:11 UTC
Created attachment 964822 [details]
File: environ

Comment 4 Adam Williamson 2014-12-04 20:42:13 UTC
Created attachment 964823 [details]
File: journalctl

Comment 5 Adam Williamson 2014-12-04 20:42:13 UTC
Created attachment 964824 [details]
File: lsblk_output

Comment 6 Adam Williamson 2014-12-04 20:42:14 UTC
Created attachment 964825 [details]
File: nmcli_dev_list

Comment 7 Adam Williamson 2014-12-04 20:42:15 UTC
Created attachment 964826 [details]
File: os_info

Comment 8 Adam Williamson 2014-12-04 20:42:17 UTC
Created attachment 964827 [details]
File: program.log

Comment 9 Adam Williamson 2014-12-04 20:42:18 UTC
Created attachment 964828 [details]
File: storage.log

Comment 10 Adam Williamson 2014-12-04 20:42:19 UTC
Created attachment 964829 [details]
File: ifcfg.log

Comment 11 Adam Williamson 2014-12-04 20:42:20 UTC
Created attachment 964830 [details]
File: packaging.log

Comment 12 Adam Williamson 2014-12-04 20:53:15 UTC
Proposing as an Alpha blocker, criterion "The installer must be able to complete an installation to a single disk using automatic partitioning." - https://fedoraproject.org/wiki/Fedora_21_Alpha_Release_Criteria#Disk_layouts

Comment 13 David Shea 2015-01-06 15:58:58 UTC
pvcreate is claiming that the vda2 is in use. Does it show up in mount, or swapon -s, or lsof?

Comment 14 Adam Williamson 2015-01-06 19:17:39 UTC
I don't think I've seen this one since the initial report.


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