*** salv-orlando has joined #openstack-neutron-ovn | 00:01 | |
*** openstack has joined #openstack-neutron-ovn | 00:03 | |
*** salv-orlando has quit IRC | 00:06 | |
*** shettyg1 has quit IRC | 00:12 | |
openstackgerrit | Merged openstack/networking-ovn: Convert plugin away from ML2 https://review.openstack.org/195326 | 00:33 |
---|---|---|
*** s3wong has quit IRC | 01:49 | |
*** BB has joined #openstack-neutron-ovn | 02:55 | |
BB | hello | 02:55 |
BB | is anyone there ? | 03:23 |
BB | question on sb schema | 03:23 |
*** BB has quit IRC | 03:26 | |
openstackgerrit | Merged openstack/networking-ovn: Add new docs link to README. https://review.openstack.org/202753 | 04:58 |
*** ParsectiX has joined #openstack-neutron-ovn | 05:05 | |
*** ParsectiX has quit IRC | 05:18 | |
*** ig0r_ has joined #openstack-neutron-ovn | 06:08 | |
*** ig0r_ has quit IRC | 06:45 | |
*** fzdarsky has joined #openstack-neutron-ovn | 06:47 | |
*** ig0r_ has joined #openstack-neutron-ovn | 06:50 | |
*** salv-orlando has joined #openstack-neutron-ovn | 07:39 | |
*** salv-orlando has quit IRC | 08:17 | |
*** gsagie has joined #openstack-neutron-ovn | 08:17 | |
*** armax has quit IRC | 08:33 | |
openstackgerrit | Aaron Rosen proposed openstack/networking-ovn: DON"T REVIEW TEST.. https://review.openstack.org/201286 | 08:42 |
*** dmd17 has joined #openstack-neutron-ovn | 09:10 | |
*** dmd17 has left #openstack-neutron-ovn | 09:10 | |
*** fzdarsky_ has joined #openstack-neutron-ovn | 10:24 | |
*** fzdarsky has quit IRC | 10:27 | |
*** openstackgerrit has quit IRC | 10:31 | |
*** openstackgerrit has joined #openstack-neutron-ovn | 10:32 | |
*** gsagie has quit IRC | 10:35 | |
*** ezobn has joined #openstack-neutron-ovn | 10:39 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/networking-ovn: Updated from global requirements https://review.openstack.org/196845 | 11:21 |
openstackgerrit | Gal Sagie proposed openstack/networking-ovn: Remove security groups callback code https://review.openstack.org/202995 | 12:07 |
openstackgerrit | Gal Sagie proposed openstack/networking-ovn: Remove ml2 entry point from setup.cfg https://review.openstack.org/202998 | 12:12 |
*** fzdarsky_ has quit IRC | 12:22 | |
*** fzdarsky has joined #openstack-neutron-ovn | 12:23 | |
openstackgerrit | Gal Sagie proposed openstack/networking-ovn: Align OVN sync module to work with the plugin https://review.openstack.org/203018 | 13:07 |
*** shettyg has joined #openstack-neutron-ovn | 14:11 | |
*** mestery has quit IRC | 14:25 | |
*** mestery has joined #openstack-neutron-ovn | 14:58 | |
openstackgerrit | Kyle Mestery proposed openstack/networking-ovn: Remove l3 router plugin entry point from setup.cfg https://review.openstack.org/203070 | 15:15 |
*** armax has joined #openstack-neutron-ovn | 15:40 | |
*** mestery has quit IRC | 16:01 | |
*** mestery has joined #openstack-neutron-ovn | 16:01 | |
*** fzdarsky has quit IRC | 17:00 | |
*** fzdarsky has joined #openstack-neutron-ovn | 17:14 | |
*** ezobn_ has joined #openstack-neutron-ovn | 17:34 | |
*** fzdarsky_ has joined #openstack-neutron-ovn | 17:34 | |
*** mestery has quit IRC | 17:35 | |
*** mestery has joined #openstack-neutron-ovn | 17:36 | |
*** fzdarsky has quit IRC | 17:37 | |
*** ezobn has quit IRC | 17:37 | |
*** ezobn_ has quit IRC | 17:38 | |
*** s3wong has joined #openstack-neutron-ovn | 18:04 | |
*** mestery has quit IRC | 18:10 | |
*** mestery has joined #openstack-neutron-ovn | 18:31 | |
openstackgerrit | Merged openstack/networking-ovn: Remove l3 router plugin entry point from setup.cfg https://review.openstack.org/203070 | 18:39 |
*** Bhargav has quit IRC | 18:41 | |
*** fzdarsky_ has quit IRC | 19:28 | |
*** ig0r_ has quit IRC | 19:47 | |
*** ezobn has joined #openstack-neutron-ovn | 20:01 | |
*** ezobn has quit IRC | 20:03 | |
*** ezobn has joined #openstack-neutron-ovn | 20:03 | |
*** ezobn has quit IRC | 20:08 | |
*** ezobn has joined #openstack-neutron-ovn | 20:09 | |
*** ezobn has quit IRC | 20:14 | |
*** Bhargav has joined #openstack-neutron-ovn | 21:51 | |
Bhargav | shettyg: Quick question on containers. | 21:56 |
shettyg | Bhargav: sure go ahead | 21:56 |
Bhargav | to set the context, the lower OVS sets VLAN tag and sends it to upper OVS which decides tenant on VLAN tag | 21:56 |
Bhargav | is that right ? | 21:57 |
shettyg | not tenant, but the endpoint. | 21:57 |
shettyg | So inside a tenant VM, you can only have containers belonging to that tenant | 21:57 |
Bhargav | aha okay, so VM belongs to the tenant | 21:58 |
shettyg | yup | 21:58 |
Bhargav | okay thanks | 22:00 |
Bhargav | one more thing on schema. I am of understand that OVS-NB listens to Neutron and populates the data. North-daemon takes info from North-DB and populates the south DB | 22:02 |
Bhargav | then south-DB pushes the information to ovn-controller which programs the OVS. | 22:02 |
shettyg | It is the other way around on the first point. Neutron populates OVN-NB database | 22:02 |
shettyg | ovn-northd converts this data to OVN_SB database | 22:02 |
shettyg | ovn-controller reads the data from OVN_SB | 22:03 |
Bhargav | and OVS_SB pushes to ovn-controller ? | 22:03 |
shettyg | other way around | 22:03 |
Bhargav | okay..it's a push from Neutron and pull from ovn-controller ? | 22:03 |
shettyg | yup | 22:03 |
shettyg | In case of container running inside a tenant VM, there is no ovn-controller running inside it. ovn-controller only runs in the hypervisor | 22:04 |
Bhargav | Yup. Got that part | 22:04 |
Bhargav | When i looked at the dumps of OVN_NB and OVN_SB, not all information required for OVN_SB is available on OVN_NB. | 22:05 |
shettyg | So you have a local setup where you saw this? | 22:06 |
Bhargav | Yes. | 22:06 |
shettyg | created via devstack? | 22:06 |
Bhargav | http://networking-ovn.readthedocs.org/en/latest/testing.html | 22:06 |
Bhargav | followed this link | 22:06 |
shettyg | I usually use docker containers to test the basic connectivity. Yesterday when I ran the vagrant test, things were working fine. Let me see if it is broken today | 22:08 |
shettyg | Btwn, what makes you believe that OVN SB does not have what it needs in OVN NB? | 22:10 |
Bhargav | may be i am wrong.. | 22:11 |
Bhargav | except encap table, everything else comes from NB | 22:11 |
shettyg | that sounds right | 22:12 |
Bhargav | what about geneve id ? | 22:12 |
shettyg | 'ovn-nbctl show' shows a logical switch and 2 logical ports? | 22:13 |
Bhargav | okay | 22:13 |
Bhargav | is ovn-nbctl just a show of ovn_nb db ? | 22:15 |
shettyg | yes, just a summary | 22:22 |
shettyg | So did it show a logical switch and logical port? | 22:23 |
shettyg | When I previously said ovn-controller pulls the data from OVN-SB, I was partially wrong (as you already pointed out). It both pushes and pulls data | 22:25 |
Bhargav | yes. it shows both logical switch and port | 22:32 |
Bhargav | the chassis_table in SB is populated by hypervisors | 22:33 |
Bhargav | so, i am thinking how encap table is populated | 22:33 |
Bhargav | since don't find ip-address and encap in the NB | 22:35 |
shettyg | That is populated by ovn-controller too. | 22:36 |
shettyg | So have a look at 'man ovn-controller' | 22:37 |
shettyg | Before you start ovn-controller, you need some information already set in the database | 22:37 |
shettyg | What does ovn-controller.log say? | 22:38 |
Bhargav | where is this log | 22:38 |
shettyg | usr/local/var/log/openvswitch/ovn-controller.log | 22:39 |
shettyg | With a '/' at the beginning | 22:39 |
shettyg | You only need geneve for multi-host though. Looks like you are only doing single-host | 22:40 |
shettyg | Do 'ovs-vsctl list o' | 22:41 |
shettyg | In external_ids column, do you see: ovn-bridge ovn-encap-ip ovn-encap-type ovn-remote | 22:41 |
Bhargav | i am running multi-host | 22:42 |
Bhargav | yes do see encap-type geneve | 22:42 |
shettyg | lsmod | grep geneve | 22:43 |
Bhargav | external_ids : {ovn-bridge=br-int, ovn-encap-ip="10.11.181.245", ovn-encap-type=geneve, ovn-remote="tcp:10.11.181.245:6640", system-id="e3ad1f2e-098f-466d-a509-309eaa22a9ee"} | 22:43 |
Bhargav | lsmod | grep geneve | 22:43 |
Bhargav | does not give any output | 22:43 |
shettyg | Okay. So that is clearly one problem. | 22:44 |
shettyg | So you are likely running on a kernel that does not have geneve inbuilt | 22:44 |
shettyg | uname -a shows what? | 22:44 |
Bhargav | Linux Openstack-OVN 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | 22:45 |
shettyg | Yeah. Geneve came in 3.18 | 22:45 |
shettyg | You can install it by source. It is quite straightforward | 22:46 |
shettyg | If you need help on how to do it, let me know | 22:46 |
Bhargav | do you have pointers ? | 22:47 |
shettyg | mkdir git | 22:47 |
shettyg | cd git | 22:47 |
Bhargav | you mean..i need to upgrade my kernel ? | 22:47 |
shettyg | git clone https://github.com/openvswitch/ovs | 22:47 |
shettyg | You don't have to upgrade kernel. Just build ovs locally | 22:47 |
shettyg | cd ovs | 22:47 |
shettyg | ./boot.sh | 22:48 |
shettyg | ./configure --with-linux=/lib/modules/`uname -r`/build | 22:48 |
shettyg | make -j3 | 22:48 |
shettyg | find . -name openvswitch.ko | 22:49 |
Bhargav | running make -j3 now | 22:50 |
shettyg | find . -name vport-geneve.ko | 22:50 |
shettyg | Do you have your mgmt interface connected to a OVS bridge? | 22:50 |
shettyg | i.e. VM mgmt interface | 22:50 |
shettyg | I mean hypervisor mgmt interface | 22:51 |
Bhargav | yes.. | 22:51 |
shettyg | Okay. The next suggestion would have been to 'rmmod openvswitch' and that would have been a disaster | 22:52 |
shettyg | So don't do it. | 22:52 |
shettyg | Do you have serial console access to your box? | 22:52 |
Bhargav | have console connection | 22:53 |
shettyg | Okay. Is the compilation compleye? | 22:53 |
Bhargav | yes | 22:54 |
shettyg | Do you see that openvswitch.ko and vport-geneve.ko created? | 22:55 |
shettyg | If so, rmmod openvswitch | 22:55 |
shettyg | insmod the new openvswitch | 22:55 |
shettyg | insmod the new geneve | 22:55 |
shettyg | ps -ef | grep ovs-vswitch | 22:55 |
shettyg | kill the old process | 22:55 |
shettyg | and copy the command and paste it again | 22:56 |
Bhargav | done. | 23:21 |
Bhargav | how do i restart the ovs ? | 23:21 |
shettyg | Did you copy paste ovs-vswitchd again? That is it. | 23:32 |
shettyg | That is ovs restart | 23:33 |
*** shettyg has quit IRC | 23:54 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!