Friday, 2015-07-17

*** salv-orlando has joined #openstack-neutron-ovn00:01
*** openstack has joined #openstack-neutron-ovn00:03
*** salv-orlando has quit IRC00:06
*** shettyg1 has quit IRC00:12
openstackgerritMerged openstack/networking-ovn: Convert plugin away from ML2  https://review.openstack.org/19532600:33
*** s3wong has quit IRC01:49
*** BB has joined #openstack-neutron-ovn02:55
BBhello02:55
BBis anyone there ?03:23
BBquestion on sb schema03:23
*** BB has quit IRC03:26
openstackgerritMerged openstack/networking-ovn: Add new docs link to README.  https://review.openstack.org/20275304:58
*** ParsectiX has joined #openstack-neutron-ovn05:05
*** ParsectiX has quit IRC05:18
*** ig0r_ has joined #openstack-neutron-ovn06:08
*** ig0r_ has quit IRC06:45
*** fzdarsky has joined #openstack-neutron-ovn06:47
*** ig0r_ has joined #openstack-neutron-ovn06:50
*** salv-orlando has joined #openstack-neutron-ovn07:39
*** salv-orlando has quit IRC08:17
*** gsagie has joined #openstack-neutron-ovn08:17
*** armax has quit IRC08:33
openstackgerritAaron Rosen proposed openstack/networking-ovn: DON"T REVIEW TEST..  https://review.openstack.org/20128608:42
*** dmd17 has joined #openstack-neutron-ovn09:10
*** dmd17 has left #openstack-neutron-ovn09:10
*** fzdarsky_ has joined #openstack-neutron-ovn10:24
*** fzdarsky has quit IRC10:27
*** openstackgerrit has quit IRC10:31
*** openstackgerrit has joined #openstack-neutron-ovn10:32
*** gsagie has quit IRC10:35
*** ezobn has joined #openstack-neutron-ovn10:39
openstackgerritOpenStack Proposal Bot proposed openstack/networking-ovn: Updated from global requirements  https://review.openstack.org/19684511:21
openstackgerritGal Sagie proposed openstack/networking-ovn: Remove security groups callback code  https://review.openstack.org/20299512:07
openstackgerritGal Sagie proposed openstack/networking-ovn: Remove ml2 entry point from setup.cfg  https://review.openstack.org/20299812:12
*** fzdarsky_ has quit IRC12:22
*** fzdarsky has joined #openstack-neutron-ovn12:23
openstackgerritGal Sagie proposed openstack/networking-ovn: Align OVN sync module to work with the plugin  https://review.openstack.org/20301813:07
*** shettyg has joined #openstack-neutron-ovn14:11
*** mestery has quit IRC14:25
*** mestery has joined #openstack-neutron-ovn14:58
openstackgerritKyle Mestery proposed openstack/networking-ovn: Remove l3 router plugin entry point from setup.cfg  https://review.openstack.org/20307015:15
*** armax has joined #openstack-neutron-ovn15:40
*** mestery has quit IRC16:01
*** mestery has joined #openstack-neutron-ovn16:01
*** fzdarsky has quit IRC17:00
*** fzdarsky has joined #openstack-neutron-ovn17:14
*** ezobn_ has joined #openstack-neutron-ovn17:34
*** fzdarsky_ has joined #openstack-neutron-ovn17:34
*** mestery has quit IRC17:35
*** mestery has joined #openstack-neutron-ovn17:36
*** fzdarsky has quit IRC17:37
*** ezobn has quit IRC17:37
*** ezobn_ has quit IRC17:38
*** s3wong has joined #openstack-neutron-ovn18:04
*** mestery has quit IRC18:10
*** mestery has joined #openstack-neutron-ovn18:31
openstackgerritMerged openstack/networking-ovn: Remove l3 router plugin entry point from setup.cfg  https://review.openstack.org/20307018:39
*** Bhargav has quit IRC18:41
*** fzdarsky_ has quit IRC19:28
*** ig0r_ has quit IRC19:47
*** ezobn has joined #openstack-neutron-ovn20:01
*** ezobn has quit IRC20:03
*** ezobn has joined #openstack-neutron-ovn20:03
*** ezobn has quit IRC20:08
*** ezobn has joined #openstack-neutron-ovn20:09
*** ezobn has quit IRC20:14
*** Bhargav has joined #openstack-neutron-ovn21:51
Bhargavshettyg: Quick question on containers.21:56
shettygBhargav: sure go ahead21:56
Bhargavto set the context, the lower OVS sets VLAN tag and sends it to upper OVS which decides tenant on VLAN tag21:56
Bhargavis that right ?21:57
shettygnot tenant, but the endpoint.21:57
shettygSo inside a tenant VM, you can only have containers belonging to that tenant21:57
Bhargavaha okay, so VM belongs to the tenant21:58
shettygyup21:58
Bhargavokay thanks22:00
Bhargavone 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 DB22:02
Bhargavthen south-DB pushes the information to ovn-controller which programs the OVS.22:02
shettygIt is the other way around on the first point. Neutron populates OVN-NB database22:02
shettygovn-northd converts this data to OVN_SB database22:02
shettygovn-controller reads the data from OVN_SB22:03
Bhargavand OVS_SB pushes to ovn-controller ?22:03
shettygother way around22:03
Bhargavokay..it's a push from Neutron and pull from ovn-controller ?22:03
shettygyup22:03
shettygIn case of container running inside a tenant VM, there is no ovn-controller running inside it. ovn-controller only runs in the hypervisor22:04
BhargavYup. Got that part22:04
BhargavWhen 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
shettygSo you have a local setup where you saw this?22:06
BhargavYes.22:06
shettygcreated via devstack?22:06
Bhargavhttp://networking-ovn.readthedocs.org/en/latest/testing.html22:06
Bhargavfollowed this link22:06
shettygI 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 today22:08
shettygBtwn, what makes you believe that OVN SB does not have what it needs in OVN NB?22:10
Bhargavmay be i am wrong..22:11
Bhargavexcept encap table, everything else comes from NB22:11
shettygthat sounds right22:12
Bhargavwhat about geneve id ?22:12
shettyg'ovn-nbctl show' shows a logical switch and 2 logical ports?22:13
Bhargavokay22:13
Bhargavis ovn-nbctl just a show of ovn_nb db ?22:15
shettygyes, just a summary22:22
shettygSo did it show a logical switch and logical port?22:23
shettygWhen 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 data22:25
Bhargavyes. it shows both logical switch and port22:32
Bhargavthe chassis_table in SB is populated by hypervisors22:33
Bhargavso, i am thinking how encap table is populated22:33
Bhargavsince don't find ip-address and encap in the NB22:35
shettygThat is populated by ovn-controller too.22:36
shettygSo have a look at 'man ovn-controller'22:37
shettygBefore you start ovn-controller, you need some information already set in the database22:37
shettygWhat does ovn-controller.log say?22:38
Bhargavwhere is this log22:38
shettygusr/local/var/log/openvswitch/ovn-controller.log22:39
shettygWith a '/' at the beginning22:39
shettygYou only need geneve for multi-host though. Looks like you are only doing single-host22:40
shettygDo 'ovs-vsctl list o'22:41
shettygIn external_ids column, do you see: ovn-bridge ovn-encap-ip ovn-encap-type ovn-remote22:41
Bhargavi am running multi-host22:42
Bhargavyes do see encap-type geneve22:42
shettyglsmod | grep geneve22:43
Bhargavexternal_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
Bhargavlsmod | grep geneve22:43
Bhargavdoes not give any output22:43
shettygOkay. So that is clearly one problem.22:44
shettygSo you are likely running on a kernel that does not have geneve inbuilt22:44
shettyguname -a shows what?22:44
BhargavLinux 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/Linux22:45
shettygYeah. Geneve came in 3.1822:45
shettygYou can install it by source. It is quite straightforward22:46
shettygIf you need help on how to do it, let me know22:46
Bhargavdo you have pointers ?22:47
shettygmkdir git22:47
shettygcd git22:47
Bhargavyou mean..i need to upgrade my kernel ?22:47
shettyggit clone https://github.com/openvswitch/ovs22:47
shettygYou don't have to upgrade kernel. Just build ovs locally22:47
shettygcd ovs22:47
shettyg./boot.sh22:48
shettyg./configure --with-linux=/lib/modules/`uname -r`/build22:48
shettygmake -j322:48
shettygfind . -name openvswitch.ko22:49
Bhargavrunning make -j3 now22:50
shettygfind . -name vport-geneve.ko22:50
shettygDo you have your mgmt interface connected to a OVS bridge?22:50
shettygi.e. VM mgmt interface22:50
shettygI mean hypervisor mgmt interface22:51
Bhargavyes..22:51
shettygOkay. The next suggestion would have been to 'rmmod openvswitch' and that would have been a disaster22:52
shettygSo don't do it.22:52
shettygDo you have serial console access to your box?22:52
Bhargavhave console connection22:53
shettygOkay. Is the compilation compleye?22:53
Bhargavyes22:54
shettygDo you see that openvswitch.ko and vport-geneve.ko created?22:55
shettygIf so, rmmod openvswitch22:55
shettyginsmod the new openvswitch22:55
shettyginsmod the new geneve22:55
shettygps -ef | grep ovs-vswitch22:55
shettygkill the old process22:55
shettygand copy the command and paste it again22:56
Bhargavdone.23:21
Bhargavhow do i restart the ovs ?23:21
shettygDid you copy paste ovs-vswitchd again? That is it.23:32
shettygThat is ovs restart23:33
*** shettyg has quit IRC23:54

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!