Bug 1117640 - error: illegal IP address string passed to inet_aton
Summary: error: illegal IP address string passed to inet_aton
Keywords:
Status: CLOSED DUPLICATE of bug 1187349
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Radek Vykydal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:50115585674e0fdae3cee05a2a2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-09 06:08 UTC by Šimon Lukašík
Modified: 2015-03-09 15:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-09 15:24:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (75.38 KB, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: anaconda.log (1.53 KB, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: environ (393 bytes, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: ks.cfg (2.43 KB, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: lsblk_output (988 bytes, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: nmcli_dev_list (2.12 KB, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: os_info (375 bytes, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: program.log (5.43 KB, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: storage.log (758 bytes, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: syslog (75.48 KB, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details
File: ifcfg.log (1.05 KB, text/plain)
2014-07-09 06:08 UTC, Šimon Lukašík
no flags Details

Description Šimon Lukašík 2014-07-09 06:08:43 UTC
Description of problem:
Hello, I was trying to kickstart fresh Fedora 20 using latest Foreman upstream. There might be problem in kickstart, but I failed to locate it. There is no "=L" in the kickstart.

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

The following was filed automatically by anaconda:
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/nm.py", line 905, in nm_ipv4_to_dbus_int
    return struct.unpack("=L", socket.inet_aton(address))[0]
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 399, in _get_ip_setting_values_from_ksdata
    gateway4 = nm.nm_ipv4_to_dbus_int(networkdata.gateway)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 462, in add_connection_for_ksdata
    values = _get_ip_setting_values_from_ksdata(networkdata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1170, in apply_kickstart_from_pre_section
    added_connections = add_connection_for_ksdata(network_data, dev_name)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 1184, in networkInitialize
    devnames = apply_kickstart_from_pre_section(ksdata)
  File "/sbin/anaconda", line 1068, in <module>
    networkInitialize(ksdata)
error: illegal IP address string passed to inet_aton

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   ks=http://192.168.122.253:3000/unattended/provision?static=yes ksdevice=bootif network kssendmac ip=192.168.122.10 netmask=255.255.255.0 gateway=192.168.122.1 dns=192.168.122.1
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20

Comment 1 Šimon Lukašík 2014-07-09 06:08:45 UTC
Created attachment 916632 [details]
File: anaconda-tb

Comment 2 Šimon Lukašík 2014-07-09 06:08:47 UTC
Created attachment 916633 [details]
File: anaconda.log

Comment 3 Šimon Lukašík 2014-07-09 06:08:48 UTC
Created attachment 916634 [details]
File: environ

Comment 4 Šimon Lukašík 2014-07-09 06:08:49 UTC
Created attachment 916635 [details]
File: ks.cfg

Comment 5 Šimon Lukašík 2014-07-09 06:08:50 UTC
Created attachment 916636 [details]
File: lsblk_output

Comment 6 Šimon Lukašík 2014-07-09 06:08:52 UTC
Created attachment 916637 [details]
File: nmcli_dev_list

Comment 7 Šimon Lukašík 2014-07-09 06:08:53 UTC
Created attachment 916638 [details]
File: os_info

Comment 8 Šimon Lukašík 2014-07-09 06:08:54 UTC
Created attachment 916639 [details]
File: program.log

Comment 9 Šimon Lukašík 2014-07-09 06:08:55 UTC
Created attachment 916640 [details]
File: storage.log

Comment 10 Šimon Lukašík 2014-07-09 06:08:57 UTC
Created attachment 916641 [details]
File: syslog

Comment 11 Šimon Lukašík 2014-07-09 06:08:58 UTC
Created attachment 916642 [details]
File: ifcfg.log

Comment 12 Vratislav Podzimek 2014-07-09 08:08:08 UTC
This line from the kickstart file:
> network --bootproto static --ip=192.168.122.10 --netmask=255.255.255.0 --gateway= --nameserver= --hostname fedora20.mydomain

is not valid. It should fail a bit sooner with KickstartValueError though. Radek, can you please have a look at this?

Comment 13 Cosmin Lehene 2014-09-02 22:44:58 UTC
Vratislav,

Can you elaborate why that's not valid?

Comment 14 Vratislav Podzimek 2014-09-03 09:44:25 UTC
(In reply to Cosmin Lehene from comment #13)
> Vratislav,
> 
> Can you elaborate why that's not valid?
Sure. The problem is that the --gateway and --nameserver options lack their values.

Comment 15 Radek Vykydal 2015-03-09 15:24:12 UTC

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


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