Project

General

Profile

Actions

Bug #8708

closed

staypuft default kickstart template: CentOS 7 host is left without default route after provisioning

Added by Pasi Karkkainen over 10 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Using staypuft Openstack Deployment the provisioned CentOS 7 host (to be openstack controller) ends up with no default route configured, so no internet access -> the after-install configuration by puppet/staypuft fails.

from install.post.log on the provisioned el7 host:

found provisioning interface = eth0
found interface with default gateway = eth0
setting DEFROUTE=yes on eth0
setting PEERDNS=no on eth1
found provisioning interface = eth0
setting DEFROUTE=no on eth0

  1. cat /etc/sysconfig/network-scripts/ifcfg-eth0
    DEVICE="eth0"
    HWADDR="mac1"
    BOOTPROTO="dhcp"
    ONBOOT=yes
    DEFROUTE=no
  1. cat /etc/sysconfig/network-scripts/ifcfg-eth1
    BOOTPROTO="dhcp"
    DEVICE="eth1"
    HWADDR="mac2"
    ONBOOT=yes
    PEERROUTES=no
    NM_CONTROLLED=no
    DEFROUTE=no
    PEERDNS=no

-> The provisioned CentOS 7 host is left with no default route, so it doesn't have internet access, and installing extra packages by puppet/staypuft fails.

Actions

Also available in: Atom PDF