Bug 974160 - KickstartValueError: The following problem occurred on line 19 of the kickstart file: Tried to use undefined partition pv.1 in Volume Group specification
Summary: KickstartValueError: The following problem occurred on line 19 of the kicksta...
Keywords:
Status: CLOSED DUPLICATE of bug 966761
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2a31aa844474f10285f1bccc73a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-13 14:31 UTC by Ian McLeod
Modified: 2013-06-14 14:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-14 14:21:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (393.76 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: anaconda.log (8.22 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: backtrace (1.78 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: environ (447 bytes, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: ifcfg.log (359 bytes, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: ks.cfg (2.18 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: lsblk_output (1.06 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: nmcli_dev_list (3.32 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: packaging.log (28.50 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: program.log (41.37 KB, text/plain)
2013-06-13 14:31 UTC, Ian McLeod
no flags Details
File: storage.log (111.20 KB, text/plain)
2013-06-13 14:32 UTC, Ian McLeod
no flags Details
File: syslog (55.51 KB, text/plain)
2013-06-13 14:32 UTC, Ian McLeod
no flags Details

Description Ian McLeod 2013-06-13 14:31:20 UTC
Description of problem:
I'm attempting to run Anaconda within EC2 using a fairly basic ks.cfg file.  This same kickstart worked with F19 Beta but is failing with this error using the most recent snapshot.
The following was filed automatically by anaconda:
anaconda 19.30.3-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1333, in execute
    raise KickstartValueError, formatErrorMsg(self.lineno, msg="Tried to use undefined partition %s in Volume Group specification" % pv)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1312, in execute
    v.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1646, in doKickstartStorage
    ksdata.volgroup.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 390, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  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)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 87, in wait
    self.raise_error(name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 820, in refresh
    threadMgr.wait(thread_name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 108, in _runSpoke
    action.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 390, in _on_spoke_clicked
    self._runSpoke(spoke)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 406, in _on_spoke_clicked
    self._on_spoke_clicked(self._spokes[dest].selector, None, self._spokes[dest])
KickstartValueError: The following problem occurred on line 19 of the kickstart file:

Tried to use undefined partition pv.1 in Volume Group specification


Version-Release number of selected component:
anaconda-19.30.3-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   ks=http://169.254.169.254/latest/user-data
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.4-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 406, in _on_spoke_clicked
    self._on_spoke_clicked(self._spokes[dest].selector, None, self._spokes[dest])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 390, in _on_spoke_clicked
    self._runSpoke(spoke)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 108, in _runSpoke
    action.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 820, in refresh
    threadMgr.wait(thread_name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 87, in wait
    self.raise_error(name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
  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/ui/gui/spokes/storage.py", line 390, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1646, in doKickstartStorage
    ksdata.volgroup.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1312, in execute
    v.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1333, in execute
    raise KickstartValueError, formatErrorMsg(self.lineno, msg="Tried to use undefined partition %s in Volume Group specification" % pv)
KickstartValueError: The following problem occurred on line 19 of the kickstart file:

Tried to use undefined partition pv.1 in Volume Group specification

Comment 1 Ian McLeod 2013-06-13 14:31:25 UTC
Created attachment 760724 [details]
File: anaconda-tb

Comment 2 Ian McLeod 2013-06-13 14:31:29 UTC
Created attachment 760725 [details]
File: anaconda.log

Comment 3 Ian McLeod 2013-06-13 14:31:33 UTC
Created attachment 760726 [details]
File: backtrace

Comment 4 Ian McLeod 2013-06-13 14:31:37 UTC
Created attachment 760727 [details]
File: environ

Comment 5 Ian McLeod 2013-06-13 14:31:41 UTC
Created attachment 760728 [details]
File: ifcfg.log

Comment 6 Ian McLeod 2013-06-13 14:31:45 UTC
Created attachment 760729 [details]
File: ks.cfg

Comment 7 Ian McLeod 2013-06-13 14:31:48 UTC
Created attachment 760730 [details]
File: lsblk_output

Comment 8 Ian McLeod 2013-06-13 14:31:52 UTC
Created attachment 760731 [details]
File: nmcli_dev_list

Comment 9 Ian McLeod 2013-06-13 14:31:55 UTC
Created attachment 760732 [details]
File: packaging.log

Comment 10 Ian McLeod 2013-06-13 14:31:59 UTC
Created attachment 760733 [details]
File: program.log

Comment 11 Ian McLeod 2013-06-13 14:32:07 UTC
Created attachment 760734 [details]
File: storage.log

Comment 12 Ian McLeod 2013-06-13 14:32:10 UTC
Created attachment 760735 [details]
File: syslog

Comment 14 Ian McLeod 2013-06-13 16:59:38 UTC
bcl suggested I may be seeing this:

https://bugzilla.redhat.com/show_bug.cgi?id=969327

Further note - I have since attempted running exactly the same ks.cfg file in the same environment (Anaconda running in Amazon EC2 us-west-2) and did not get this error.

By my rough count I've tried an install 5 times and had one success and 4 instances of the failure in this report.

Comment 15 Chris Lumens 2013-06-14 14:21:32 UTC

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


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