Bug 1155981

Summary: DeviceCreateError exception when using LVM
Product: [Fedora] Fedora Reporter: Fabian Deutsch <fdeutsch>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-23 10:49:04 UTC Type: Bug
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
ks used for installation none

Description Fabian Deutsch 2014-10-23 10:34:13 UTC
Created attachment 949794 [details]
ks used for installation

Description of problem:
A DeviceCreateError is raised with the attached kickstart and F21's anaconda boot iso

I'm using the following cmdline args:
console=ttyS0 inst.ks=http://10.0.2.2:60792/kickstarts/runtime-layout.ks inst.stage2=http://10.0.2.2:60792/ quiet  cmdline

Version-Release number of selected component (if applicable):
f21 boot iso:
Using http://mirror.cc.vt.edu/pub/fedora/linux/development/21/x86_64/os/LiveOS/squashfs.img

Steps to Reproduce:
1. fetch kernel, initrd+squashfs
2. boot with kargs given above
3.

Actual results:
fails with err below

Expected results:
fails with a more detailed error / user-friendly error

Additional info:

00:15:07.338 [1;23r[H[4BGenerating updated storage configuration[1;24r[H[5;41H
00:15:08.456 [1;23r[H[5BChecking storage configuration...[1;24r[H[6B[1;23r[H[6BYou have not specified a swap partition.  Although not strictly required in all cases, it will significantly improve performance for most installations.[1;24r[H[8B[1;23r[H[8B================================================================================[10;1H================================================================================[10;1H[1;24r[H[10B[1;23r[H[10BInstallation[1;24r[H[13;1H[1;23r[H[13;1H 1) [x] Language settings                 2) [x] Timezone settings
00:15:08.708         (English (United States))                (Etc/UTC timezone)
00:15:08.729  3) [x] Installation source               4) [x] Software selection
00:15:08.750         (http://mirrors.fedoraproject.o          (Custom software selected)
00:15:08.774         rg/mirrorlist?repo=fedora-$rele   6) [x] Network configuration
00:15:08.801         asever&arch=$basearch)                   (Wired (ens3) connected)
00:15:08.830  5) [x] Installation Destination[1;24r[H[20;1H[1;23r[H[20;1H        (Warning checking storage confi
00:15:08.962         guration)[1;24r[H[22;1H[1;23r[H[22;1H================================================================================[22;1H[1;24r[H[22;80H
00:15:09.087 [1;23r[H[23;1H================================================================================[23;1H[1;24r[H[23;80H[1;23r[H[23;1H
00:15:09.128 [1;24r[H[23;1H[1;23r[H[23;1HProgress
00:15:09.143 [1;24r[H[23;1H[1;23r[H[23;1HSetting up the installation environment
00:15:09.459 .[1;24r[H[23;2H[1;23r[H[23;1H
00:15:09.668 Creating disklabel on /dev/sda
00:15:09.744 [1;24r[H[23;1H[1;23r[H[23;1H.[1;24r[H[23;2H[1;23r[H[23;1H
00:15:10.654 Creating lvmpv on /dev/sda3
00:15:10.731 [1;24r[H[23;1H[1;23r[H[23;1H.[1;24r[H[23;2H[1;23r[H[23;1H
00:15:12.442 An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details
00:15:12.539 [1;24r[H[23;1H[1;23r[H[23;1H
00:15:13.142 ===============================================================================
00:15:13.230 An unknown error has occurred
00:15:13.238 ===============================================================================
00:15:13.261 anaconda 21.48.10-1 exception report
00:15:13.296 Traceback (most recent call first):
00:15:13.310   File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 924, in create[23;1H
00:15:13.342     raise errors.DeviceCreateError(str(e), self.name)[1;24r[H[23;54H[1;23r[H[23;1H
00:15:13.446   File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 293, in execute
00:15:13.474     self.device.create()
00:15:13.483   File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 361, in processActions
00:15:13.512     action.execute(callbacks)
00:15:13.523   File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 364, in doIt
00:15:13.549     self.devicetree.processActions(callbacks)
00:15:13.564   File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 216, in turnOnFilesystems
00:15:13.596     storage.doIt(callbacks)
00:15:13.606   File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 190, in doInstall
00:15:13.636     turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
00:15:13.680   File "/usr/lib64/python2.7/threading.py", line 766, in run
00:15:13.700     self.__target(*self.__args, **self.__kwargs)
00:15:13.716   File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
00:15:13.744     threading.Thread.run(self, *args, **kwargs)
00:15:13.760 DeviceCreateError: ("'NoneType' object has no attribute 'name'", 'HostVG-ImagePool')
00:15:13.786 
00:15:13.787 What do you want to do now?
00:15:13.796 1) Report Bug
00:15:13.808 2) Debug
00:15:13.812 3) Run shell
00:15:13.816 4) Quit
00:15:13.819

Comment 1 Fabian Deutsch 2014-10-23 10:35:18 UTC
This happens for three days (or so) now, but worked before.

Comment 2 Vratislav Podzimek 2014-10-23 10:49:04 UTC

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