<html><body>
<p><font size="2" face="sans-serif">Hi,</font><br>
<br>
<font size="2" face="sans-serif">I see that in your ifcfg-br_tun file, the BOOTPROTO is static. You need to give the IP address, gateway, netmask details in that file.</font><br>
<br>
<font size="2" face="sans-serif">Regards,</font><br>
<font size="2" face="sans-serif">Akash</font><br>
<br>
<img width="16" height="16" src="cid:1__=EABBF76CDFAEE9698f9e8a93df938@in.ibm.com" border="0" alt="Inactive hide details for Uwe Sauter ---03/05/2015 04:08:02 PM---Hi all, I'm trying to setup Neutron (Juno) on CentOS 7 from RD"><font size="2" color="#424282" face="sans-serif">Uwe Sauter ---03/05/2015 04:08:02 PM---Hi all, I'm trying to setup Neutron (Juno) on CentOS 7 from RDO but keep failing. So here are some i</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">Uwe Sauter <uwe.sauter.de@gmail.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">"openstack@lists.openstack.org Openstack" <openstack@lists.openstack.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">03/05/2015 04:08 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">[Openstack] OpenVSwitch ports won't come up / Neutron configuration problems</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">Hi all,<br>
<br>
<br>
I'm trying to setup Neutron (Juno) on CentOS 7 from RDO but keep failing. So here are some items I'd like to get your opinion on:<br>
<br>
(A graphical overview created with plotnetcfg (</font></tt><tt><font size="2"><a href="https://github.com/jbenc/plotnetcfg">https://github.com/jbenc/plotnetcfg</a></font></tt><tt><font size="2">) and gimp'ed together is attached.)<br>
<br>
* Hostnames<br>
All my nodes have a native hostname that describes the location in my rack. E.g. os484001 means this is an<br>
OpenStack member in rack 48, height unit 40, first node in this height unit. They then get additional hostnames<br>
describing their function like "neutron-controller", "cinder01", etc., but only on the DNS server.<br>
<br>
Is this a problem? Do nodes need to be able to resolve all their hostnames from /etc/hosts? Or should services<br>
get configured that native hostname (output from "hostname -s" or even socket.getfqdn() in Python)?<br>
<br>
* Static network interface configuration<br>
I have configured all network interfaces using /etc/sysconfig/network-scripts/ifcfg-<name>. Those that should be<br>
part of OVS are configured like:<br>
<br>
/etc/sysconfig/network-scripts/ifcfg-enp6s0<br>
NAME=enp6s0<br>
HWADDR=00:21:5E:75:70:FA<br>
TYPE=OVSPort<br>
DEVICETYPE=ovs<br>
ONBOOT=yes<br>
BOOTPROTO=none<br>
OVS_BRIDGE=br_tun<br>
IPV4_FAILURE_FATAL=no<br>
IPV6INIT=no<br>
IPV6_AUTOCONF=no<br>
IPV6_DEFROUTE=no<br>
IPV6_FAILURE_FATAL=no<br>
IPV6_PEERDNS=no<br>
IPV6_PEERROUTES=no<br>
NM_CONTROLLED=no<br>
NOZEROCONF=yes<br>
<br>
Additionally I have configured all needed OVS bridges on compute and network nodes like:<br>
(bridge names contain underscores instead of dashes as the management scripts don't allow<br>
dashes in names)<br>
<br>
/etc/sysconfig/network-scripts/ifcfg-br_tun<br>
DEVICE=br_tun<br>
ONBOOT=yes<br>
BOOTPROTO=static<br>
DEVICETYPE=ovs<br>
TYPE=OVSBridge<br>
NOZEROCONF=yes<br>
<br>
Is this a correct way to configure OVS or do I have to rely on OpenStack / OVS database to restore the configuration after<br>
reboot?<br>
<br>
* With above configuration I got the problem that both hardware interfaces and some OVS bridges are not brought up after reboot.<br>
<br>
What am I doing wrong?<br>
<br>
* I want to setup Neutron so that tenant networks are separated by VLANs. Unfortunately the documentation is sparse to none about<br>
this so I get the feeling that GRE tunneling is the most supported way to separate networks.<br>
<br>
In this VLAN scenario, which OVS bridge needs to be connected to the physical interface (and therefore 802.1q enabled switch)?<br>
br-int or br-tun (which in my case would be br_enp6s0 on the compute nodes and br_tun on the network node)?<br>
<br>
What else do I need to configure besides:<br>
<br>
/etc/neutron/plugin.ini<br>
[ml2]<br>
mechanism_drivers = openvswitch<br>
tenant_network_types = local,vlan<br>
type_drivers = local,vlan<br>
[ml2_type_flat]<br>
[ml2_type_vlan]<br>
network_vlan_ranges = phys-tenant:1501:1510<br>
[ml2_type_gre]<br>
[ml2_type_vxlan]<br>
[securitygroup]<br>
enable_ipset = True<br>
enable_security_group = True<br>
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver<br>
[ovs]<br>
bridge_mappings = phys-external:br_ext,phys-tenant:br_tun<br>
<br>
<br>
<br>
I'd appreciate every hint.<br>
<br>
Regards,<br>
<br>
Uwe<br>
[attachment "Neutron_setup.png" deleted by Akash Gunjal/India/IBM] _______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
Post to : openstack@lists.openstack.org<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>