Local ip for ovs agent must be set when tunneling is enabled
I am trying to install openstack on multiple hosts. My hosts are configured as VMs in the virtual box and I am running Ubuntu 14.04 server. I am following the configurations that was mentioned at https://github.com/puppetlabs/puppetl...
I am using the common.yaml file from this link and only change I made is the IP addresses for Contoller and Storage nodes. The final digits will be .11 for Controller and .31 for the Storage.
######## Networks openstack::network::api: '192.168.11.0/24' openstack::network::external: '192.168.22.0/24' openstack::network::management: '172.16.33.0/24' openstack::network::data: '172.16.44.0/24'
openstack::network::external::ippool::start: 192.168.22.100 openstack::network::external::ippool::end: 192.168.22.200 openstack::network::external::gateway: 192.168.22.2 openstack::network::external::dns: 192.168.22.2
######## Private Neutron Network
######## Fixed IPs (controllers)
openstack::controller::address::api: '192.168.11.11' openstack::controller::address::management: '172.16.33.11' openstack::storage::address::api: '192.168.11.31' openstack::storage::address::management: '172.16.33.31'
After I classified the node as Contoller from the Puppet Enterprise and ran “puppet agent -t” command, I got the following errors.
puppet agent -t
Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Could not retrieve fact='aptupdates', resolution='<anonymous>': can't convert nil into Integer Could not retrieve fact='aptsecurity_updates', resolution='<anonymous>': can't convert nil into Integer 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/puppetlabs/puppet/environments/production/modules/neutron/manifests/agents/ml2/ovs.pp:107 on node control Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run The ip addresses are configured on the controller node at /etc/networks/interfaces are:
This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
The loopback network interface
auto lo iface lo inet loopback
auto eth0 iface eth0 inet static address 172.16.33.11 netmask 255.255.255.0
auto eth1 iface eth1 inet static address 192.168.11.11 netmask 255.255.255.0
The primary network interface
#auto eth2 #iface eth2 inet dhcp
The interfaces are also up.
eth0 Link encap:Ethernet HWaddr 08:00:27:11:57:4b
inet addr:172.16.33.11 Bcast:172.16.33.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:fe11:574b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:339 errors:0 dropped:0 overruns:0 frame:0 TX packets:315 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:240373 (240.3 KB) TX bytes:135372 (135.3 KB)
eth1 Link encap:Ethernet ...(more)