anaconda sets all interfaces to DHCP, causing long boot dely

Bug #1260879 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Andrew Woodward

Bug Description

{"release": "4.0", "nailgun_sha": "e5c0e954d6d03ba9fd857f1f7a662a6386099232", "ostf_sha": "c1c353909cd1a0af018bbe89fb12570db6b09969", "astute_sha": "75aa0877cba772f409d3cef4f36ba2ec1b8b603b", "fuellib_sha": "912a1c77d0506115452bb455b476d74b927f1153"}

iso: fuel-4.0-139-2013-12-14_00-01-30.iso

after anaocnda straps centos nodes, all of the interfaces have BOOTPROTO=dhcp so they attempt to grab DHCP address and wait a long time to timeout. They should be set to false and let puppet re-enable them.

[root@node-5 ~]# cat /etc/sysconfig/network-scripts/ifcfg-*
# FROM COBBLER SNIPPET
DEVICE=eth0
IPADDR=10.108.10.8
NETMASK=255.255.255.0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no

DEVICE=eth1
HWADDR=64:D9:32:D0:AF:BF
TYPE=Ethernet
BOOTPROTO=dhcp
DNS1=10.108.10.2
DEVICE=eth2
HWADDR=64:85:5A:62:68:B0
TYPE=Ethernet
BOOTPROTO=dhcp
DNS1=10.108.10.2
DEVICE=eth3
HWADDR=64:69:CF:49:FE:7D
TYPE=Ethernet
BOOTPROTO=dhcp
DNS1=10.108.10.2
DEVICE=eth4
HWADDR=64:C1:8C:EC:27:57
TYPE=Ethernet
BOOTPROTO=dhcp
DNS1=10.108.10.2
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
[root@node-5 ~]#

Andrew Woodward (xarses)
summary: - anaconda sets all interfaces to onboot, causing long boot dely
+ anaconda sets all interfaces to DHCP, causing long boot dely
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/62106

Changed in fuel:
assignee: nobody → Andrew Woodward (xarses)
status: Confirmed → In Progress
Revision history for this message
Andrew Woodward (xarses) wrote :

confirmed by hand

[root@node-20 ~]# cat /etc/sysconfig/network-scripts/ifcfg-*
# FROM COBBLER SNIPPET
DEVICE=eth0
IPADDR=10.108.10.8
NETMASK=255.255.255.0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no

DEVICE=eth1
HWADDR=64:A3:57:EC:D7:FB
TYPE=Ethernet
BOOTPROTO=none
DNS1=10.108.10.2
DEVICE=eth2
HWADDR=64:1F:B7:57:21:B5
TYPE=Ethernet
BOOTPROTO=none
DNS1=10.108.10.2
DEVICE=eth3
HWADDR=64:4E:B6:BC:83:8D
TYPE=Ethernet
BOOTPROTO=none
DNS1=10.108.10.2
DEVICE=eth4
HWADDR=64:11:2A:87:E3:0E
TYPE=Ethernet
BOOTPROTO=none
DNS1=10.108.10.2
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/62106
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=0cbfaa06b2f7ed929ac15949c9e64bd05192f317
Submitter: Jenkins
Branch: master

commit 0cbfaa06b2f7ed929ac15949c9e64bd05192f317
Author: Andrew Woodward <email address hidden>
Date: Fri Dec 13 15:35:39 2013 -0800

    Change default case nic in post_install_network_config_fuel

    Removes long wait times in centos on first boot when devices are left
     in DHCP mode and have to wait for timeout.

    Resolves-bug #1260879

    Change-Id: Iaf4f2fa55ba96cc9298cad02a67e2309c74e9cb6

Changed in fuel:
status: In Progress → Fix Committed
Andrew Woodward (xarses)
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.