Bug 832332 - On kickstarts, installation fails when mtu parameter defined
Summary: On kickstarts, installation fails when mtu parameter defined
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 855555 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-15 08:01 UTC by Renich Bon Ciric
Modified: 2013-01-10 06:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-18 21:24:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Renich Bon Ciric 2012-06-15 08:01:23 UTC
Description of problem:
on a kickstart, when you try to use mtu= for network, installation fails.

Version-Release number of selected component (if applicable):
17.29-1.fc17

How reproducible:
add something like this to a kickstart:

network ... --mtu=11000

  
Actual results:
it crashes (sorry, didn't document the actual error message, but it says something about the type being wrong; int not str or something)

Expected results:
It should work

Additional info:
This setting works fine on Fedora 16...

Comment 1 Chris Lumens 2012-06-18 13:31:39 UTC
Please attach the complete error message to this bug report.

Comment 2 Andrew Rechenberg 2012-07-18 18:48:49 UTC
Testing inside a VM and cannot copy and paste from the VMware console, but here is a typed version of the last few lines of the error:

File "/sbin/parse-kickstart", line 198, in ksnet_to_dracut
  line.append("mtu=%s:%u" % (net.device, net.mtu))
TypeError: %u format: a number is required, not str

Here's the network line from my kickstart file:

network --device eth0 --mtu=1500 --bootproto dhcp --hostname my.newbox.com

If I remove the mtu option from the network line then the kickstart proceeds as expected.  If I change the line and remove the = sign the kickstart still drops to a debug shell.

Comment 3 Jesse Keating 2012-07-18 19:13:17 UTC
Simple fix posted.

Comment 4 Jesse Keating 2012-07-18 21:10:32 UTC
Pushed upstream as e8842b41520e39cb256659ffa2371602b5c64a03  Will be fixed in the next release of anaconda.

Comment 5 Radek Vykydal 2012-09-10 07:47:14 UTC
*** Bug 855555 has been marked as a duplicate of this bug. ***


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