network service failing on F23 base image

Kushal Das mail at kushaldas.in
Tue Oct 13 11:53:00 UTC 2015


Hi all,

For the last few days we can see that the *network* service is failing
on Fedora 23 Cloud base images [1].

Upon digging more in the issue, I found the following in the journal.

Oct 12 19:03:40 localhost.localdomain systemd[1]: Starting LSB: Bring up/down networking...
Oct 12 19:03:41 localhost.localdomain network[424]: Bringing up loopback interface:  [  OK  ]
Oct 12 19:03:51 testcloud.localdomain network[424]: Bringing up interface ens3:  ERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Device ens3 does not seem to be present
Oct 12 19:03:51 testcloud.localdomain /etc/sysconfig/network-scripts/ifup-eth[680]: Device ens3 does not seem to be present, delaying initialization.
Oct 12 19:03:51 testcloud.localdomain network[424]: [FAILED]
Oct 12 19:03:51 testcloud.localdomain network[424]: Bringing up interface eth0:
Oct 12 19:03:51 testcloud.localdomain dhclient[702]: Created duid \000\001\000\001\035\256\300\227RT\000\036hd.
Oct 12 19:03:51 testcloud.localdomain dhclient[702]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0x7e6c2257)
Oct 12 19:03:53 testcloud.localdomain dhclient[702]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x7e6c2257)
Oct 12 19:03:53 testcloud.localdomain dhclient[702]: DHCPOFFER from 192.168.122.1
Oct 12 19:03:53 testcloud.localdomain dhclient[702]: DHCPACK from 192.168.122.1 (xid=0x7e6c2257)
Oct 12 19:03:55 testcloud.localdomain NET[730]: /usr/sbin/dhclient-script : updated /etc/resolv.conf
Oct 12 19:03:56 testcloud.localdomain dhclient[702]: bound to 192.168.122.83 -- renewal in 1756 seconds.
Oct 12 19:03:56 testcloud.localdomain network[424]: Determining IP information for eth0... done.
Oct 12 19:03:56 testcloud.localdomain network[424]: [  OK  ]
Oct 12 19:03:56 testcloud.localdomain systemd[1]: network.service: Control process exited, code=exited status=1
Oct 12 19:03:56 testcloud.localdomain systemd[1]: Failed to start LSB: Bring up/down networking.
Oct 12 19:03:56 testcloud.localdomain systemd[1]: network.service: Unit entered failed state.
Oct 12 19:03:56 testcloud.localdomain systemd[1]: network.service: Failed with result 'exit-code'.


While trying to find out a solution, I was pointed to [2]. I tried to follow
the initial solution given there and added * biosdevname=0 net.ifnames=0* on
the network section in the kickstart, and did a local build. But it still
failed with the same issue. So, the only *easy* solution I can think of
is actually deleting the file */etc/sysconfig/network-scripts/ifcfg-ens3* in the
post installation section of the kickstart file. If there is no other better
solution than this, I will go ahead and commit that for F23, and master. 


[1] https://apps.fedoraproject.org/autocloud/jobs/255/output
[2] https://access.redhat.com/discussions/916973

Kushal
-- 
Fedora Cloud Engineer
CPython Core Developer
CentOS Cloud SIG lead
http://kushaldas.in


More information about the cloud mailing list