Bug 1177264 - can't use subnet with ipam=none/boot mode=dhcp on bond interface
Summary: can't use subnet with ipam=none/boot mode=dhcp on bond interface
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhel-osp-installer
Version: Foreman (RHEL 6)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: Installer
Assignee: Mike Burns
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks: 1177026
TreeView+ depends on / blocked
 
Reported: 2014-12-25 14:01 UTC by Asaf Hirshberg
Modified: 2016-09-29 13:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 13:37:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Asaf Hirshberg 2014-12-25 14:01:28 UTC
Description of problem:
i trying to deploy ha-neutron on bm with bonds (mode=4). when i check the interfaces of the controllers i see that the other networks on the bonds where 
configured correct.

Version-Release number of selected component (if applicable):
rhel-osp-installer-client-0.5.4-1.el7ost.noarch
libreport-rhel-2.1.11-10.el7.x86_64
rhel-osp-installer-0.5.4-1.el7ost.noarch

[root@mac441ea1733991 ~]# ifconfig
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>  mtu 1500
        inet6 fe80::29c:2ff:feb0:7fe0  prefixlen 64  scopeid 0x20<link>
        ether 00:9c:02:b0:7f:e0  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1130  bytes 71948 (70.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

bond0.189: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.174.23  netmask 255.255.255.0  broadcast 10.35.174.255
        inet6 fe80::29c:2ff:feb0:7fe0  prefixlen 64  scopeid 0x20<link>
        ether 00:9c:02:b0:7f:e0  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 816 (816.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

bond0.195: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.180.3  netmask 255.255.255.0  broadcast 10.35.180.255
        inet6 fe80::29c:2ff:feb0:7fe0  prefixlen 64  scopeid 0x20<link>
        ether 00:9c:02:b0:7f:e0  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 816 (816.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

bond0.215: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 20.35.120.32  netmask 255.255.255.0  broadcast 20.35.120.255
        inet6 fe80::29c:2ff:feb0:7fe0  prefixlen 64  scopeid 0x20<link>
        ether 00:9c:02:b0:7f:e0  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 816 (816.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp4s0f0: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>  mtu 1500
        ether 00:9c:02:b0:7f:e0  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 582  bytes 37842 (36.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp4s0f1: flags=6211<UP,BROADCAST,RUNNING,SLAVE,MULTICAST>  mtu 1500
        ether 00:9c:02:b0:7f:e4  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 548  bytes 34106 (33.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp5s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.42  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::461e:a1ff:fe73:3991  prefixlen 64  scopeid 0x20<link>
        ether 44:1e:a1:73:39:91  txqueuelen 1000  (Ethernet)
        RX packets 52  bytes 8174 (7.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 45  bytes 6617 (6.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xfbee0000-fbf00000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@mac441ea1733991 ~]# 


How reproducible:
6/6

Steps to Reproduce:
1.create an ha-neutron deployment.
2.create bonds on the hosts and assign them the following netwroks: public-api,managment, external,tenant and admin api
3.deploy

Actual results:
tenant network wasn't configured on the bond interface like the other networks.

Expected results:
all netweorks need to be configured correctly on the bond interface


Additional info:

Comment 1 Ofer Blaut 2014-12-31 14:01:16 UTC
The tenant network was configured with IPAM  = NONE , boot = DHCP
still BOND config is

[root@mac441ea173366b ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0
BOOTPROTO="none"
DEVICE="bond0"
ONBOOT=yes
PEERDNS=no
PEERROUTES=no
DEFROUTE=no
TYPE=Bond
BONDING_OPTS="miimon=100 mode=802.3ad"
BONDING_MASTER=yes
NM_CONTROLLED=no

Comment 2 Asaf Hirshberg 2015-01-01 08:32:51 UTC
when i have tried ipam=internal-db/bootmode=static i have successfully deployed and the interface got an ip:

[root@mac441ea1733991 ~]# ifconfig
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>  mtu 1500
        inet 55.35.160.12  netmask 255.255.255.0  broadcast 55.35.160.255
        inet6 fe80::29c:2ff:feb0:7fe0  prefixlen 64  scopeid 0x20<link>
        ether 00:9c:02:b0:7f:e0  txqueuelen 0  (Ethernet)
        RX packets 11146095  bytes 1295698553 (1.2 GiB)
        RX errors 0  dropped 4015  overruns 0  frame 0
        TX packets 10193202  bytes 939752149 (896.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Comment 5 Jaromir Coufal 2016-09-29 13:37:40 UTC
Closing list of bugs for RHEL OSP Installer since its support cycle has already ended [0]. If there is some bug closed by mistake, feel free to re-open.

For new deployments, please, use RHOSP director (starting with version 7).

-- Jaromir Coufal
-- Sr. Product Manager
-- Red Hat OpenStack Platform

[0] https://access.redhat.com/support/policy/updates/openstack/platform


Note You need to log in before you can comment on or make changes to this bug.