Hide Forgot
Issues with interface setup when deploying neutron::networking Error: Could not set 'present' on ensure: Undefined IP address at 30:/usr/share/openstack-foreman-installer/puppet/modules/quickstack/manifests/neutron/networker.pp Error: Could not set 'present' on ensure: Undefined IP address at 30:/usr/share/openstack-foreman-installer/puppet/modules/quickstack/manifests/neutron/networker.pp Wrapped exception: Undefined IP address Error: /Stage[main]/Quickstack::Neutron::Networker/Vs_port[external]/ensure: change from absent to present failed: Could not set 'present' on ensure: Undefined IP address at 30:/usr/share/openstack-foreman-installer/puppet/modules/quickstack/manifests/neutron/networker.pp
We had to set an ip address manually on the bridge interface to get this to work. DEVICE=eth1 HWADDR=00:1A:64:76:00:15 TYPE=Ethernet UUID=16926dcf-a379-417c-97ae-fccafa194c0c ONBOOT=yes NM_CONTROLLED=no BOOTPROTO=static IPADDR=10.16.136.180
As discussed during this testing, this looks to me to be two things: 1. Lack of clarity in docs. The assumption this code currently makes is that the user already has an IP on the NIC to be configured as an ovs bridge, so when the port is added it woudl fail when no IP is present. 2. More configuration needed to allow for no ip to be needed. Currently, we have: vs_port { 'external': bridge => 'br-ex', interface => $public_interface, keep_ip => true, sleep => '30', provider => ovs_redhat, ensure => present, } As you can see, both bridge and keep_ip values are hard-coded. If we make those configurable (especially keep_ip), I believe this issue goes away.
Jason, Can you the params from #2 into your next build?
Yep, I'll add these on monday, and whenever we push the next rpm, they will be there.
*** Bug 1028621 has been marked as a duplicate of this bug. ***
Puppet applied fine for me using packstack-modules-puppet version 2013.2.1-0.15.dev847.el6 with current upstream astapor master (commit 7143de6600). I did a 3 node setup: controller, networker, compute.
Posted: https://github.com/redhat-openstack/astapor/pull/60
https://github.com/redhat-openstack/astapor/pull/62 make the new vars so they can be overridden by default
Verified that bridge_name and bridge_keep_ip appear as parameters that can be overidden in Foreman UI by clicking More->Configuration->Host Groups, Neutron Networker, the Parameters tab.
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. http://rhn.redhat.com/errata/RHEA-2013-1859.html