Bug 1155979 - anaconda get's stuck with cmdline argument, after some exception
Summary: anaconda get's stuck with cmdline argument, after some exception
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-23 10:31 UTC by Fabian Deutsch
Modified: 2014-11-15 09:16 UTC (History)
5 users (show)

Fixed In Version: anaconda-21.48.14-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-15 09:16:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
KS used for installation (5.40 KB, text/plain)
2014-10-23 10:31 UTC, Fabian Deutsch
no flags Details

Description Fabian Deutsch 2014-10-23 10:31:49 UTC
Created attachment 949793 [details]
KS used for installation

Description of problem:
I'm using the anaconda f21 boot iso to launch an installation (ks attached).

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

How reproducible:
always

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

Actual results:
fails with err below and is stuck

Expected results:
fails with err below, but shutds down the host

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:34:39 UTC
Bug tracking the actual exception: bug 1155981

Comment 2 Fabian Deutsch 2014-10-23 10:56:41 UTC
This is especially intersting for automation.

In our CI env we are running anaconda installs using kernel, initrd and squashfs in jenkins. The job always get's stuck when this bug appears (also because jenkins does not recognize that the job is stuck).

For this case it would help if we could get anaconda to quit and shut down the machine even in such a case.

Comment 3 Fedora Update System 2014-11-11 21:02:50 UTC
anaconda-21.48.14-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/anaconda-21.48.14-1.fc21

Comment 4 Fedora Update System 2014-11-13 18:17:02 UTC
Package anaconda-21.48.14-1.fc21, python-blivet-0.61.9-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-21.48.14-1.fc21 python-blivet-0.61.9-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14928/python-blivet-0.61.9-1.fc21,anaconda-21.48.14-1.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-11-15 09:16:08 UTC
anaconda-21.48.14-1.fc21, python-blivet-0.61.9-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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