This is with A2 (rhel-osp-installer-0.4.7-1.el6ost.noarch) To reproduce: 1. Create multiple subnets with VLAN IDs 2. Assign them to the different network roles with the deployment setup wizard 3. Assign hosts to the Controller HA and Compute (Neutron) roles 4. Configure the hosts network in the deployment: Hosts->Assigned->Select all->Configure Networks 5. Setup bonding with 2 NICs and assign the network roles to the bond interface After deployment this how /etc/sysconfig/network-scripts looks like: # ls /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/ifcfg-.101 /etc/sysconfig/network-scripts/ifcfg-.104 /etc/sysconfig/network-scripts/ifcfg-eno16777984 /etc/sysconfig/network-scripts/ifcfg-.102 /etc/sysconfig/network-scripts/ifcfg-.105 /etc/sysconfig/network-scripts/ifcfg-eno33557248 /etc/sysconfig/network-scripts/ifcfg-.103 /etc/sysconfig/network-scripts/ifcfg-bond0 /etc/sysconfig/network-scripts/ifcfg-lo Looking at the install.post.log I can see some errors probably related: head -20 install.post.log Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. found provisioning interface = eno16777984 Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. found interface with default gateway = gateway interface is a vlan and/or bond = bond0.105 setting PEERDNS=no on eno33557248 setting PEERDNS=no on bond0.105 sed: can't read /etc/sysconfig/network-scripts/ifcfg-bond0.105: No such file or directory setting DEFROUTE=yes on bond0.105 sed: can't read /etc/sysconfig/network-scripts/ifcfg-bond0.105: No such file or directory Back in the installer UI if I edit the hosts and go to Network I can see how the interfaces appear to be as expected with bond0.105 etc.
Looks like it's the same cause than https://bugzilla.redhat.com/show_bug.cgi?id=1157846 The reason seems to be the lack of MAC address in the interfaces, this is how the provisioning templates look like: # bond0.101 interface real=`ip -o link | grep | awk '{print $2;}' | sed s/:$//` real=`echo bond0.101 | sed s/bond0/$real/` cat << EOF > /etc/sysconfig/network-scripts/ifcfg-$real BOOTPROTO="none" IPADDR="192.168.101.12" NETMASK="255.255.255.0" GATEWAY="" DEVICE="$real" ONBOOT=yes PEERDNS=no PEERROUTES=no VLAN=yes NM_CONTROLLED=no DEFROUTE=no EOF # bond0.102 interface real=`ip -o link | grep | awk '{print $2;}' | sed s/:$//` real=`echo bond0.102 | sed s/bond0/$real/` cat << EOF > /etc/sysconfig/network-scripts/ifcfg-$real BOOTPROTO="none" IPADDR="192.168.102.1" NETMASK="255.255.255.0" GATEWAY="" DEVICE="$real" ONBOOT=yes PEERDNS=no PEERROUTES=no VLAN=yes NM_CONTROLLED=no DEFROUTE=no EOF
*** Bug 1163034 has been marked as a duplicate of this bug. ***
PR available: https://github.com/theforeman/foreman-installer-staypuft/pull/111
Tested the patch and works as expected.
I noticed that despite the deployment works with the above changes, if the bonding module is not loaded at boot time the bonding device(s) won't be brought up after reboot. This solves it for me: echo "alias bond* bonding" > /etc/modprobe.d/bonding.conf This probably should be done properly by the kickstart_networking_setup Provisioning Template snippet.
@bcrochet can you look at comment 7?
verified foreman-installer-1.6.0-0.2.RC1.el7ost.noarch rhel-osp-installer-client-0.5.4-1.el7ost.noarch openstack-foreman-installer-3.0.8-1.el7ost.noarch rhel-osp-installer-0.5.4-1.el7ost.noarch foreman-proxy-1.6.0.30-5.el7ost.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0156.html