[Openstack] openvswitch configuraion

Andreas Scheuring scheuran at linux.vnet.ibm.com
Tue Mar 24 15:30:56 UTC 2015


Hi Yngyi, 

this absolutely makes sense. 

As soon as you add a port to a bridge (doesn't matter if linux- or
ovs-bridge) it cannot be used as ip interface anymore. What you have to
do after you've added this interface to br-ex, you have to "move up" the
ip address to the br-ex. 

e.g. 
> ifconfig em3 0
> ifconfig br-ex 172.22.17.12/24

And you should be fine


Hope this helps!

-- 
Andreas 
(irc: scheuran)


On Tue, 2015-03-24 at 14:31 +0000, Yngvi Páll Þorfinnsson wrote:
> Hi, 
> 
> I‘ll just give you an update on this „problem“.  
> 
> I can go back and ping the default gateway etc. 
> 
> if I go back one step, and delete the port config for br-ex
> 
>  
> 
> ovs-vsctl del-port br-ex em3
> 
>  
> 
> best regards
> 
> Yngvi
> 
>  
> 
> From: Yngvi Páll Þorfinnsson 
> Sent: 23. mars 2015 16:45
> To: openstack at lists.openstack.org
> Subject: [Openstack] openvswitch configuraion
> 
> 
>  
> 
> Hi,
> 
> I‘m trying to configure neutron on the networking node.
> 
>  
> 
> My problem is:
> 
> The 3rd interface is somehow not working after I configure
> openvswitch.
> 
>  
> 
> I‘m using the manual
> 
> „OpenStack Installation Guide for Ubuntu 14.04“  - Juno
> 
> Everything has gone well until I reached the configuration of the Open
> vSwitch (OVS)mechanism.
> 
> i.e.
> 
> To configure the Modular Layer 2 (ML2) plug-in
> 
> The ML2 plug-in uses theOpen vSwitch (OVS)mechanism (agent) to build
> the virtual networking
> 
> framework for instances. However, the controller node does not need
> the OVS
> 
> components because it does not handle instance network traffic.
> 
>  
> 
> And as I‘ve edited the configuration file
> 
> /etc/neutron/plugins/ml2/ml2_conf.ini
> 
> Accordingly to the instructions.
> 
>  
> 
> IP address for the 3rd interface is 172.22.17.12 
> 
>  
> 
> ip addr show
> 
>  
> 
> 4: em3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master
> ovs-system state UP group default qlen 1000
> 
>     link/ether d4:85:64:cc:a2:2e brd ff:ff:ff:ff:ff:ff
> 
>     inet 172.22.17.12/24 brd 172.22.17.255 scope global em3
> 
>        valid_lft forever preferred_lft forever
> 
>     inet6 fe80::d685:64ff:fecc:a22e/64 scope link
> 
>        valid_lft forever preferred_lft forever
> 
>  
> 
>  
> 
> But now when I‘m trying to ping default gateway or openstack.org it
> does not work anymore.
> 
>  
> 
> route -n
> 
> Kernel IP routing table
> 
> Destination     Gateway         Genmask         Flags Metric Ref
> Use Iface
> 
> 0.0.0.0         172.22.17.1     0.0.0.0         UG    0      0
> 0 em3
> 
> 169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0
> 0 em2
> 
> 172.22.14.0     0.0.0.0         255.255.255.0   U     0      0
> 0 em1
> 
> 172.22.15.0     0.0.0.0         255.255.255.0   U     0      0
> 0 em2
> 
> 172.22.17.0     0.0.0.0         255.255.255.0   U     0      0
> 0 em3
> 
>  
> 
> root at opst-netwrk1-dev:~# ping 172.22.17.1
> 
> PING 172.22.17.1 (172.22.17.1) 56(84) bytes of data.
> 
> From 172.22.17.12 icmp_seq=1 Destination Host Unreachable
> 
>  
> 
> root at opst-netwrk1-dev:~# ping 162.242.140.107
> 
> PING 162.242.140.107 (162.242.140.107) 56(84) bytes of data.
> 
> From 172.22.17.12 icmp_seq=1 Destination Host Unreachable
> 
>  
> 
> It worked perfectly before this step.  And it works very well still on
> the controller and computer nodes.
> 
>  
> 
> The network card is 10 years old, as the server:  
> 
> HP Proliant DL380 G7 
> 
>  
> 
> Does anyone know if this openvswitch configuration is supported for
> such an old network card?
> 
> Could this be the problem? 
> 
>  
> 
> Best regards
> 
> Yngvi
> 
>  
> 
> Kveðja, 
> 
> Yngvi Páll Þorfinnsson
> Engineer
> 
> Sími +354 550 7457
> GSM +354 896 7457
> Fax +354 511 7070
> 
> 
> Síminn - Ármúli 25 - 108 Reykjavík - Iceland - siminn.is
> 
> 
> Síminn - Ármúli 25 - 108 Reykjavík - Iceland - siminn.is
> 
> Ábyrgð þín varðandi tölvupóst.
> 
> 
> 
>  
> 
>  
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list