[ovs-discuss] [ovn] Upgrade from 20.12 to 21.09

2021-11-02 Thread Ammad Syed
Hi,

I have upgraded ovn controllers on compute nodes and ovn central on network
node.

The package has been upgraded and everything works fine.

How to check to check ovnsb and ovnnb databases has upgraded successfully ?

I am seeing ovnnb version
in ovnnb_db.db "name":"OVN_Northbound","version":"5.32.1"
and for ovnsb version
in ovnsb_db.db "name":"OVN_Southbound","version":"20.20.0" in the start of
the db file.

I can also see below db files created after upgrade.

-rw-r- 1 root root 151488 Nov  2 14:23 ovnnb_db.db
-rw-r- 1 root root  78946 Nov  2 10:34
*ovnnb_db.db.backup5.28.0-610359755*
-rw-r- 1 root root 969484 Nov  2 14:23 ovnsb_db.db
-rw-r- 1 root root 391183 Nov  2 10:34
*ovnsb_db.db.backup20.12.0-3969471120 *

How to ensure that db upgrade has been performed successfully ?

Ammad
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] HELP: Docker Container on ovs bridge unable connect host's LAN and access Internet

2021-11-02 Thread Mah, Yock Gen
Hi all,

Docker container on the OVS Bridge not able to ping Host machine LAN:
1. OVS Host able to ping container's IP
2. Container able to ping OVS Host's IP 
3. OVS Host able to ping other nodes on LAN and Internet
4. Container unable to ping any OVS host's LAN devices or Internet
5. However, if running the container on Docker default network (instead of 
connecting it to OVS), it able to ping host's LAN devices and Internet

Configuration of ovs bridge and container as below:
===
ovs-vsctl add-br ovs-br1  
ovs-vsctl add-port ovs-br1 wlo1//<--wlo1 is my host wifi interface 
connecting to LAN
ifconfig wlo1  0
ifconfig ovs-br1 192.168.0.175 netmask 255.255.255.0 up 
route add default gw 192.168.0.1 ovs-br1
 
docker run -it --name yockgen01 ubuntu bash   
ovs-docker add-port ovs-br1 eth1 yockgen01 --ipaddress=102.168.0.176/24
docker network disconnect bridge yockgen01 

==
root@yockgenm-tgl01:~# ovs-vsctl show
3a0b9bb1-6db4-4dd9-9df4-c239559a7c5f
Bridge ovs-br1
Port ovs-br1
Interface ovs-br1
type: internal
Port wlo1
Interface wlo1
Port fcfc749d6f3d4_l
Interface fcfc749d6f3d4_l
ovs_version: "2.13.3"
===

I've been stuck on the issue for many hours, and couldn't find any hints from 
Internet search. 

Any help and guidance is really appreciate.

Thanks!

Regards,
Mah

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] HELP: Docker Container on ovs bridge unable connect host's LAN and access Internet

2021-11-02 Thread Mah, Yock Gen
Hi all,

Docker container on the OVS Bridge not able to ping Host machine LAN:
1. OVS Host able to ping container's IP
2. Container able to ping OVS Host's IP 
3. OVS Host able to ping other nodes on LAN and Internet
4. Container unable to ping any OVS host's LAN devices or Internet
5. However, if running the container on Docker default network (instead of 
connecting it to OVS), it able to ping host's LAN devices and Internet

Configuration of ovs bridge and container as below:
===
ovs-vsctl add-br ovs-br1  
ovs-vsctl add-port ovs-br1 wlo1//<--wlo1 is my host wifi interface 
connecting to LAN
ifconfig wlo1  0
ifconfig ovs-br1 192.168.0.175 netmask 255.255.255.0 up 
route add default gw 192.168.0.1 ovs-br1
 
docker run -it --name yockgen01 ubuntu bash
ovs-docker add-port ovs-br1 eth1 yockgen01 --ipaddress=102.168.0.176/24
docker network disconnect bridge yockgen01

==
root@yockgenm-tgl01:~# ovs-vsctl show
3a0b9bb1-6db4-4dd9-9df4-c239559a7c5f
Bridge ovs-br1
Port ovs-br1
Interface ovs-br1
type: internal
Port wlo1
Interface wlo1
Port fcfc749d6f3d4_l
Interface fcfc749d6f3d4_l
ovs_version: "2.13.3"
===

I've been stuck on the issue for many hours, and couldn't find any hints from 
Internet search. 

Any help and guidance is really appreciate.

Thanks!

Regards,
Mah

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Recall: HELP: Docker Container on ovs bridge unable connect host's LAN and access Internet

2021-11-02 Thread Mah, Yock Gen
Mah, Yock Gen would like to recall the message, "HELP:  Docker Container on ovs 
bridge unable connect host's LAN and access Internet ".
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss