RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 603059 - KickstartValueError: The following problem occurred on line 15 of the kickstart file: The provided network interface eth1 does not exist
Summary: KickstartValueError: The following problem occurred on line 15 of the kicksta...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact: Martin Banas
URL:
Whiteboard: anaconda_trace_hash:78dde04b17cb8ff73...
Depends On: 610769
Blocks: 582286
TreeView+ depends on / blocked
 
Reported: 2010-06-11 12:54 UTC by Martin Banas
Modified: 2010-11-10 19:47 UTC (History)
2 users (show)

Fixed In Version: anaconda-13.21.51-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 19:47:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (64.92 KB, text/plain)
2010-06-11 12:54 UTC, Martin Banas
no flags Details
Attached traceback automatically from anaconda. (58.29 KB, text/plain)
2010-06-30 12:36 UTC, Alexander Todorov
no flags Details

Description Martin Banas 2010-06-11 12:54:47 UTC
The following was filed automatically by anaconda:
anaconda 13.21.50 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/kickstart.py", line 571, in execute
    raise KickstartValueError, formatErrorMsg(self.lineno, msg="The provided network interface %s does not exist" % device)
  File "/usr/lib/anaconda/kickstart.py", line 1136, in execute
    obj.execute(self.anaconda)
  File "/usr/bin/anaconda", line 1109, in <module>
    ksdata.execute()
KickstartValueError: The following problem occurred on line 15 of the kickstart file:

The provided network interface eth1 does not exist

Comment 1 Martin Banas 2010-06-11 12:54:52 UTC
Created attachment 423263 [details]
Attached traceback automatically from anaconda.

Comment 2 Martin Banas 2010-06-11 13:00:30 UTC
Description of problem:
If I specify non-existent ethernet device in kickstart, anaconda throws exception instead of proper error message.

Version-Release number of selected component (if applicable):
RHEL6.0-20100603.1
anaconda-13.21.50-2.el6

How reproducible:
always

Steps to Reproduce:
1. On system with only one network start RHEL6 kickstart installation with following kickstart:

install
url --url=http://download.eng.bos.redhat.com/rel-eng/RHEL6.0-20100603.1/6/Server/ppc64/os/
clearpart --all --initlabel
autopart
lang en_US
keyboard us
timezone --isUtc America/New_York
network --device eth1 --bootproto dhcp
rootpw --plaintext fo0m4nchU
reboot
%packages
*
%end

2. Watch the serial console / display...

Actual results:
Anaconda ends with attached traceback.

Expected results:
Anaconda should not end with traceback, should display a message about wrong kickstart configuration..

Comment 3 RHEL Program Management 2010-06-11 13:13:13 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Chris Lumens 2010-06-11 14:42:26 UTC
Does updates=http://clumens.fedorapeople.org/603059.img fix this?

Comment 5 Martin Banas 2010-06-14 10:39:52 UTC
Hi Chris, yes, it fixes this. I see following dialog, which is correct:

      ┌────────────────┤ Error Parsing Kickstart Config ├────────────────┐
      │                                                                  │
      │ The following error was found while parsing the kickstart        │
      │ configuration file:                                              │
      │                                                                  │
      │ The following problem occurred on line 15 of the kickstart file: │
      │                                                                  │
      │ The provided network interface eth1 does not exist               │
      │                                                                  │
      │                           ┌────────┐                             │
      │                           │ Reboot │                             │
      │                           └────────┘                             │
      │                                                                  │
      │                                                                  │
      └──────────────────────────────────────────────────────────────────┘

Comment 6 Alexander Todorov 2010-06-30 12:36:41 UTC
Created attachment 427977 [details]
Attached traceback automatically from anaconda.

Comment 7 Chris Lumens 2010-06-30 13:11:25 UTC
Alexander - you're testing 13.21.50, whereas this is fixed in 13.21.51.  The other problem (that the MAC address doesn't work) we should track over in bug 185522.

Comment 9 Martin Banas 2010-07-02 12:17:38 UTC
Hello, retested on build RHEL6.0-20100701.0, anaconda-13.21.56-1.el6. Seems not to be fixed, I tried kickstart with following lines:
network --device eth1 --bootproto dhcp
%packages
@Base
%end
and I've got traceback again - different that this one.

Please see following bug:
https://bugzilla.redhat.com/610769

Moving this back to assigned until bug 610769 is fixed.

Comment 10 Chris Lumens 2010-07-02 14:38:14 UTC
Pushed a fix for 610769.

Comment 12 Martin Banas 2010-07-19 12:17:50 UTC
Verified on build RHEL6.0-20100715.0 with anaconda 13.21.58.

Closing the bug.

Comment 13 releng-rhel@redhat.com 2010-11-10 19:47:39 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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