Ask Your Question

Revision history [back]

Questions
1) How can I configure OpenvSwitch during a manual installation of Openstack without packstack?
For instance like ( case of ML2&OVS&VXLAN setup)

openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent tunnel_types vxlan
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent vxlan_udp_port 4789
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs local_ip 192.169.142.137
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs enable_tunneling True
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs integration_bridge br-int
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs tunnel_bridge br-tun
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs bridge_mappings physnet1:br-eth0
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs network_vlan_ranges physnet1
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini securitygroup firewall_driver neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver 
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent l2_population False

Next :-

systemctl start neutron-openvswitch-agent
systemctl enable neutron-ovs-cleanup
systemctl enable neutron-openvswitch-agent
firewall-cmd --add-port=4789/udp
firewall-cmd --add-port=4789/udp --permanent

2) Do I need to create these br-* bridges or am I seeing this wrong?

 Update  /etc/neutron/plugins/ml2/openvswitch_agent.ini as needed
 # systemctl restart neutron-openvswitch-agent

3) How can I set this up across different interfaces instead of all on the "management" network like in the Install Guide?

 I don't follow you here

4) Is there a situation when I would not need one of the br-ex, br-int, br-tun interfaces?

You might not need br-ex if you invoke external network provider flat or vlan
$ neutron net-create external1 -- --router:external=true \
       --provider:network_type=flat \
       --provider:physical_network=physnet1
$ neutron subnet-create --disable-dhcp external1 10.1.0.0/24


You might not need br-tun doing ML2&OVS&VLAN deployment

Questions
1) How can I configure OpenvSwitch during a manual installation of Openstack without packstack?
For instance like ( case of ML2&OVS&VXLAN setup)

openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent tunnel_types vxlan
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent vxlan_udp_port 4789
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs local_ip 192.169.142.137
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs enable_tunneling True
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs integration_bridge br-int
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs tunnel_bridge br-tun
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs bridge_mappings physnet1:br-eth0
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs network_vlan_ranges physnet1
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini securitygroup firewall_driver neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver 
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent l2_population False

Next :-

systemctl start neutron-openvswitch-agent
systemctl enable neutron-ovs-cleanup
systemctl enable neutron-openvswitch-agent
firewall-cmd --add-port=4789/udp
firewall-cmd --add-port=4789/udp --permanent

2) Do I need to create these br-* bridges or am I seeing this wrong?

 Update  /etc/neutron/plugins/ml2/openvswitch_agent.ini as needed
 # systemctl restart neutron-openvswitch-agent

3) How can I set this up across different interfaces instead of all on the "management" network like in the Install Guide?

 I don't follow you here

4) Is there a situation when I would not need one of the br-ex, br-int, br-tun interfaces?

You might not need br-ex if you invoke external network provider flat or vlan
$ neutron net-create external1 -- --router:external=true \
       --provider:network_type=flat \
       --provider:physical_network=physnet1
$ neutron subnet-create --disable-dhcp external1 10.1.0.0/24


You might not need br-tun doing ML2&OVS&VLAN deployment

The funny thing here is that ML2&OVS&VXLAN deployment would done by packstack perfectly well.
ML2&OVS&VLAN with minor errors on Compute nodes which might be fixed pretty soon using correct templates
from Controller/Network ( or Network ) node. Initial packstack deployment doesn't have any problems with switching to external network provider. The only case is attempt to setup HA 3 node Controller either production Swift Nodes configuration. I am not sure about swift, but HA 3 Controllers setup would be possible to perform quickly via Triple0, otherwise it is going to be hard manual configuration with clear understanding MariaGalera DB Multimaster Synchronous replication, rabbit mqueues and etc and etc.

Questions
1) How can I configure OpenvSwitch during a manual installation of Openstack without packstack?
For instance like ( case of ML2&OVS&VXLAN setup)

openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent tunnel_types vxlan
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent vxlan_udp_port 4789
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs local_ip 192.169.142.137
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs enable_tunneling True
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs integration_bridge br-int
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs tunnel_bridge br-tun
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs bridge_mappings physnet1:br-eth0
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs network_vlan_ranges physnet1
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini securitygroup firewall_driver neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver 
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent l2_population False

Next :-

systemctl start neutron-openvswitch-agent
systemctl enable neutron-ovs-cleanup
systemctl enable neutron-openvswitch-agent
firewall-cmd --add-port=4789/udp
firewall-cmd --add-port=4789/udp --permanent

2) Do I need to create these br-* bridges or am I seeing this wrong?

 Update  /etc/neutron/plugins/ml2/openvswitch_agent.ini as needed
 # systemctl restart neutron-openvswitch-agent

3) How can I set this up across different interfaces instead of all on the "management" network like in the Install Guide?

 I don't follow you here

4) Is there a situation when I would not need one of the br-ex, br-int, br-tun interfaces?

You might not need br-ex if you invoke external network provider flat or vlan
$ neutron net-create external1 -- --router:external=true \
       --provider:network_type=flat \
       --provider:physical_network=physnet1
$ neutron subnet-create --disable-dhcp external1 10.1.0.0/24


You might not need br-tun doing ML2&OVS&VLAN deployment

The funny thing here is that ML2&OVS&VXLAN deployment would done by packstack perfectly well.
ML2&OVS&VLAN with minor errors on Compute nodes which might be fixed pretty soon using correct templates
templates from Controller/Network ( or Network ) node. Initial packstack deployment doesn't have any problems with switching to external network provider. The only case is attempt to setup HA 3 node Controller either production Swift Nodes configuration. I am not sure about swift, but HA 3 Controllers setup would be possible to perform quickly via Triple0, otherwise it is going to be hard manual configuration with clear understanding MariaGalera DB Multimaster Synchronous replication, rabbit mqueues and etc and etc.

Questions
1) How can I configure OpenvSwitch during a manual installation of Openstack without packstack?
For instance like ( case of ML2&OVS&VXLAN setup)

openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent tunnel_types vxlan
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent vxlan_udp_port 4789
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs local_ip 192.169.142.137
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs enable_tunneling True
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs integration_bridge br-int
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs tunnel_bridge br-tun
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs bridge_mappings physnet1:br-eth0
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs network_vlan_ranges physnet1
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini securitygroup firewall_driver neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver 
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent l2_population False

Next :-

systemctl start neutron-openvswitch-agent
systemctl enable neutron-ovs-cleanup
systemctl enable neutron-openvswitch-agent
firewall-cmd --add-port=4789/udp
firewall-cmd --add-port=4789/udp --permanent

2) Do I need to create these br-* bridges or am I seeing this wrong?

 Update  /etc/neutron/plugins/ml2/openvswitch_agent.ini as needed
 # systemctl restart neutron-openvswitch-agent

3) How can I set this up across different interfaces instead of all on the "management" network like in the Install Guide?

 I don't follow you here

4) Is there a situation when I would not need one of the br-ex, br-int, br-tun interfaces?

You might not need br-ex if you invoke external network provider flat or vlan
$ neutron net-create external1 -- --router:external=true \
       --provider:network_type=flat \
       --provider:physical_network=physnet1
$ neutron subnet-create --disable-dhcp external1 10.1.0.0/24


You might not need br-tun doing ML2&OVS&VLAN deployment

The funny thing here is that ML2&OVS&VXLAN deployment would be done by packstack perfectly well.
ML2&OVS&VLAN with minor errors on Compute nodes which might be fixed pretty soon using correct templates from Controller/Network ( or Network ) node. Initial packstack deployment doesn't have any problems with switching to external network provider. The only case is attempt to setup HA 3 node Controller either production Swift Nodes configuration. I am not sure about swift, but HA 3 Controllers setup would be possible to perform quickly via Triple0, otherwise it is going to be hard manual configuration with clear understanding MariaGalera DB Multimaster Synchronous replication, rabbit mqueues and etc and etc.

Questions
1) How can I configure OpenvSwitch during a manual installation of Openstack without packstack?
For instance like ( case of ML2&OVS&VXLAN setup)

openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent tunnel_types vxlan
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent vxlan_udp_port 4789
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs local_ip 192.169.142.137
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs enable_tunneling True
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs integration_bridge br-int
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs tunnel_bridge br-tun
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs bridge_mappings physnet1:br-eth0
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini ovs network_vlan_ranges physnet1
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini securitygroup firewall_driver neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver 
openstack-config --set /etc/neutron/plugins/ml2/openvswitch_agent.ini agent l2_population False

Next :-

systemctl start neutron-openvswitch-agent
systemctl enable neutron-ovs-cleanup
systemctl enable neutron-openvswitch-agent
firewall-cmd --add-port=4789/udp
firewall-cmd --add-port=4789/udp --permanent

2) Do I need to create these br-* bridges or am I seeing this wrong?

 Update  /etc/neutron/plugins/ml2/openvswitch_agent.ini as needed
 # systemctl restart neutron-openvswitch-agent

3) How can I set this up across different interfaces instead of all on the "management" network like in the Install Guide?

 I don't follow you here

4) Is there a situation when I would not need one of the br-ex, br-int, br-tun interfaces?

You might not need br-ex if you invoke external network provider flat or vlan
$ neutron net-create external1 -- --router:external=true \
       --provider:network_type=flat \
       --provider:physical_network=physnet1
$ neutron subnet-create --disable-dhcp external1 10.1.0.0/24


You might not need br-tun doing ML2&OVS&VLAN deployment

The funny thing here is that ML2&OVS&VXLAN deployment would be done by packstack perfectly well.
ML2&OVS&VLAN with minor errors on Compute nodes which might be fixed pretty soon using correct templates from Controller/Network ( or Network ) node. Initial packstack deployment doesn't have any problems with switching to external network provider. The only case is attempt to setup HA 3 node Controller either production Swift Nodes configuration. I am not sure about swift, but HA 3 Controllers setup would be possible to perform quickly via Triple0, otherwise it is going to be hard manual configuration with clear understanding MariaGalera DB Multimaster Synchronous replication, rabbit mqueues rabbitmqueues and etc and etc.