View Issue Details

IDProjectCategoryView StatusLast Update
0017133Buildsys[All Projects] generalpublic2020-04-09 10:53
Reporterykarel 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformCentOSOSCentOSOS Version8
Summary0017133: Garbage ifcfg-ens3 network-scripts in CentOS8 qcow2(CentOS-8-GenericCloud-8.1.1911-20200113.3.x86_64.qcow2)
DescriptionThere is an additional network-script ifcfg-ens3 in CentOS8 cloud image.
https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.1.1911-20200113.3.x86_64.qcow2


cd etc/sysconfig/network-scripts

[root@yatinkarel network-scripts]# cat ifcfg-ens3
# Generated by dracut initrd
NAME="ens3"
DEVICE="ens3"
ONBOOT="yes"
NETBOOT="yes"
UUID="16e4956a-6881-42ce-ba2b-0ebaed55e37d"
IPV6INIT="yes"
BOOTPROTO="dhcp"
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"

[root@yatinkarel network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"
TYPE="Ethernet"
USERCTL="yes"
PEERDNS="yes"
IPV6INIT="no"
PERSISTENT_DHCLIENT="1"
Additional InformationWe hit an issue https://bugs.launchpad.net/tripleo/+bug/1866202 with this garbage network script, as ens3 device was not present when booting the VM.
TagsNo tags attached.

Activities

elcomtik

elcomtik

2020-04-09 10:53

reporter   ~0036660

I can confirm this. However it causes more problems if user decide to remove Network manager and use the network-scripts, it refuse to start with following errrors:

Apr 9 09:41:11 metis network[12692]: Bringing up interface ens3: ERROR : [/etc/sysconfig/network-scripts/ifup-eth] Device ens3 does not seem to be present, delaying initialization.
Apr 9 09:41:11 metis /etc/sysconfig/network-scripts/ifup-eth[12859]: Device ens3 does not seem to be present, delaying initialization.
Apr 9 09:41:11 metis network[12692]: [FAILED]
Apr 9 09:41:12 metis network[12692]: Bringing up interface eth0: [ OK ]
Apr 9 09:41:12 metis systemd[1]: network.service: Control process exited, code=exited status=1
Apr 9 09:41:12 metis systemd[1]: network.service: Failed with result 'exit-code'.

Issue History

Date Modified Username Field Change
2020-03-11 10:52 ykarel New Issue
2020-04-09 10:53 elcomtik Note Added: 0036660