Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1205241

Summary: Changing the ip address on a bond interface cause the installation to fail
Product: Red Hat OpenStack Reporter: Asaf Hirshberg <ahirshbe>
Component: rhel-osp-installerAssignee: Mike Burns <mburns>
Status: CLOSED EOL QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: mburns, oblaut, rhos-maint, srevivo
Target Milestone: ---Keywords: ZStream
Target Release: Installer   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-29 13:46:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log/foreman/production.log from the staypuft server
none
/var/log/messages from the controller none

Description Asaf Hirshberg 2015-03-24 13:48:44 UTC
Created attachment 1005862 [details]
/var/log/foreman/production.log from the staypuft server

Description of problem:
After changing the ip address of a network assigned to a bond interface and deploying puppet doesn't configure the bond interfaces on that controller and lead to the error: 
Could not retrieve catalog from remote server: Error 400 on SERVER: Local ip for ovs agent must be set when tunneling is enabled at /etc/puppet/environments/production/modules/neutron/manifests/agents/ovs.pp:32 on node mac441ea173366b.example.com

The deployment is stuck on that point and nothing happened on that controller.

Version-Release number of selected component (if applicable):
openstack-puppet-modules-2014.2.12-1.el7ost.noarch
puppet-3.6.2-2.el7.noarch
puppet-server-3.6.2-2.el7.noarch
foreman-installer-1.6.0-0.3.RC1.el7ost.noarch
openstack-foreman-installer-3.0.19-1.el7ost.noarch
rhel-osp-installer-0.5.7-1.el7ost.noarch
rhel-osp-installer-client-0.5.7-1.el7ost.noarch


How reproducible:
4/4

Steps to Reproduce:
1.create a subnet for the tenant network  (ipam:non and bootmode=dhcp)
2.create a deployment 
3.create a bond interfaces on the controllers and assign the tenant network to
  the bond interface.
4.edit one of the controllers and change the ip-address,and un-check 
  the manage check-box.
5.press deploy.

Actual results:
The puppet don't configure any bond interface on the controller and the only interfaced he have are:
[root@mac441ea173366b ~]# ifconfig
enp5s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.4  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::461e:a1ff:fe73:366b  prefixlen 64  scopeid 0x20<link>
        ether 44:1e:a1:73:36:6b  txqueuelen 1000  (Ethernet)
        RX packets 20  bytes 2386 (2.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 17  bytes 2029 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xfbee0000-fbefffff  

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@mac441ea173366b ~]# ifconfig

Expected results: (as seen on another controller)
[root@mac441ea1733991 ~]# ifconfig
bond0: flags=5187<UP,BROADCAST,RUNNING,MASTER,MULTICAST>  mtu 1500
        inet 10.35.160.17  netmask 255.255.255.0  broadcast 10.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 57  bytes 9434 (9.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 81  bytes 9220 (9.0 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.34  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 10  bytes 676 (676.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.1  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 9  bytes 634 (634.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 27  bytes 6234 (6.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 45  bytes 5030 (4.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:e0  txqueuelen 1000  (Ethernet)
        RX packets 30  bytes 3200 (3.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36  bytes 4190 (4.0 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.6  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 10  bytes 1210 (1.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15  bytes 1854 (1.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xfbee0000-fbefffff  

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 ~]# 



Additional info:
attached /var/log/foreman/production.log from the staypuft server
attached /var/log/messages from the controller

Comment 5 Asaf Hirshberg 2015-03-24 13:51:55 UTC
Created attachment 1005864 [details]
/var/log/messages from the controller

Comment 6 Jaromir Coufal 2016-09-29 13:46:52 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