Wednesday, 2015-09-16

*** yamamoto has quit IRC00:09
*** armax_ has joined #openstack-neutron-ovn00:17
*** armax has quit IRC00:21
*** armax_ is now known as armax00:21
*** salv-orl_ has joined #openstack-neutron-ovn00:53
*** yamamoto has joined #openstack-neutron-ovn00:55
*** salv-orlando has quit IRC00:56
*** salv-orl_ has quit IRC00:57
*** armax has quit IRC02:13
*** azbiswas has joined #openstack-neutron-ovn03:10
*** armax has joined #openstack-neutron-ovn03:23
*** fzdarsky_ has joined #openstack-neutron-ovn06:56
*** armax has quit IRC07:12
*** azbiswas has quit IRC07:19
*** azbiswas has joined #openstack-neutron-ovn07:24
*** yamamoto has quit IRC09:26
*** yamamoto has joined #openstack-neutron-ovn10:26
*** yamamoto has quit IRC10:32
*** yamamoto has joined #openstack-neutron-ovn11:03
*** yamamoto has quit IRC11:03
openstackgerritMerged openstack/networking-ovn: Add subtransactions=True on transaction for delete_port/network  https://review.openstack.org/22384411:04
*** yamamoto has joined #openstack-neutron-ovn12:04
*** yamamoto has quit IRC12:09
*** yamamoto has joined #openstack-neutron-ovn12:50
*** salv-orlando has joined #openstack-neutron-ovn13:31
*** jimchou has joined #openstack-neutron-ovn13:46
*** openstackgerrit has quit IRC14:31
*** openstackgerrit has joined #openstack-neutron-ovn14:31
*** openstackgerrit has quit IRC15:01
*** openstackgerrit has joined #openstack-neutron-ovn15:01
*** yamamoto has quit IRC15:24
*** armax has joined #openstack-neutron-ovn15:40
*** yamamoto has joined #openstack-neutron-ovn16:25
*** yamamoto has quit IRC16:29
openstackgerritAaron Rosen proposed openstack/networking-ovn: test  https://review.openstack.org/20518716:36
openstackgerritGal Sagie proposed openstack/networking-ovn: Stop logging deadlock tracebacks  https://review.openstack.org/22419316:49
openstackgerritRussell Bryant proposed openstack/networking-ovn: Test security groups.  https://review.openstack.org/22383916:52
openstackgerritRussell Bryant proposed openstack/networking-ovn: wip: security group support  https://review.openstack.org/22381716:52
openstackgerritRussell Bryant proposed openstack/networking-ovn: Temporarily default to ovn-acl branch  https://review.openstack.org/22381616:52
russellbgsagie mestery not bad review time on https://review.openstack.org/#/c/224193/116:55
mesterylol16:55
mestery:)\16:55
russellbless than 200 new lines of code to implement security groups ... not bad.16:56
russellbnet new that is16:56
russellbfor neutron ... and then only about 250 to add it to OVN16:57
*** gsagie_ has joined #openstack-neutron-ovn17:01
azbiswas@russellb: did you get a chance to see my 50000 feet ovn-vtep workflow understanding17:13
*** yamamoto has joined #openstack-neutron-ovn17:13
openstackgerritAaron Rosen proposed openstack/networking-ovn: Raise idlutils.RowNotFound over RuntimeError and handle that in plugin  https://review.openstack.org/22422517:58
openstackgerritAaron Rosen proposed openstack/networking-ovn: Raise idlutils.RowNotFound over RuntimeError and handle in plugin  https://review.openstack.org/22422517:58
armaxping actually18:08
armaxquestion for the ovn folks18:08
armaxit seems my devstack got screwed after I tried to stack on ovn18:08
armaxif I switch back to ml2 my ovs is totally busted18:09
armaxis that a strategy to let me give up ml2 on ovs agent?18:09
armaxjokes aside, has anyone encountered that?18:10
gsagie_Yes, i did18:10
armaxgsagie: sweet18:10
gsagie_armax: i have to re-compile OVS 2.3 for that to work back18:11
gsagie_had18:11
*** Guest91493 has joined #openstack-neutron-ovn18:11
armaxwhat If uninstall it entirely?18:11
gsagie_I guess that will work too18:11
armaxapparently it didn’t…I’ll have to find out more what’s going on18:12
gsagie_But you need to make sure to re install OVS 2.3 because OVN plugin currently uninstall it18:12
gsagie_and re-load the kernel modules18:12
armaxok18:13
gsagie_If i remember correctly the problem was something with the db schema18:13
armaxgsagie_: ok, let me give it a go, I actually didn’t spend too much time int oit18:13
gsagie_armax: np, let me know if you need any help because i was stuck on it as well18:14
armaxcool18:14
armaxI was also nothing something funny18:14
armaxwhich I was going to validate…and file a bug in case my tests were positive18:15
armaxin a nutshell I cannot delete a network if I have dhcp ports on it18:15
gsagie_But we really do need to change this installation process18:15
armaxgsagie_: sure18:15
gsagie_armax: yes, i think i know what is your problem18:16
gsagie_but i think it was actually solved so i am suprised18:16
*** openstackgerrit has quit IRC18:16
armaxgsagie_: ok, I might be running on an old version18:16
gsagie_basically because the DHCP port delete is never being sent to the plugin its kept in the NB DB18:16
armaxgsagie_: of the plugin18:16
*** openstackgerrit has joined #openstack-neutron-ovn18:16
armaxgsagie_: so long as you’re aware I am not going to drill down into it18:17
gsagie_so there might be a problem that the DB is refusing to delete the lswitch18:17
gsagie_armax: you can open a bug and assign it to me and i will verify tommorow18:17
armaxok18:17
gsagie_thanks18:17
mesteryarmax: Can't you just fire off a new VM in the HP Cloud and use one for OVN, one for ML2, etc?18:21
* mestery ducks18:21
armaxmestery: wow, I hadn’t thought of that18:21
mesteryarmax: hi18:21
armax:)18:21
mesterylol18:21
armaxhi18:21
mesteryKidding aside, it is really slick to do that.18:21
armaxto do what?18:21
openstackgerritMerged openstack/networking-ovn: Stop logging deadlock tracebacks  https://review.openstack.org/22419318:22
armaxusing HP Cloud?18:22
mesteryyes18:22
armaxbut I have my pet18:22
Guest91493armax: yea i'm not sure if you heard of this new thing called cloud ?18:22
armaxGuest91493: identify yourself18:22
*** Guest91493 has quit IRC18:22
*** Guest91493 has joined #openstack-neutron-ovn18:22
Guest91493hi18:22
armaxcloud?18:22
*** Guest91493 is now known as arosen18:22
arosenboom18:22
armaxI never heard of it before18:22
armaxspeaks the guy who doesn’t use vpn18:22
armaxmeh18:23
arosenicbb18:23
mesteryMOAR CLOUD!18:23
armaxand installs on bare metal18:23
arosenspeaking of which i need to reserve squash18:23
mesteryVPN?18:23
mesteryFor what?18:23
armaxdo do that18:23
mesterycloud?18:23
mesteryI don't need cloud for that18:23
mesteryI use floating IPs18:23
mesterylol18:23
armaxFIPs?18:24
mesteryFIPs18:24
armaxnah, you gotta connect to the external network18:24
mesterymoar fips18:24
armaxexternal networks are the new black18:24
arosenOne of my roommates is in sales and sells an HR cloud platform and he says to people, "One of the great about moving to cloud is there is no more code. Everything is in the cloud"18:25
mesteryhttps://youtu.be/nTx5xmwHDOw18:25
arosenI could only listen to that for about 10 seconds mestery18:26
mesteryarosen: You're weak :)18:26
arosenmaybe.18:26
mesterylol18:26
mesteryarosen: A more hi fidelty version: https://open.spotify.com/track/4vTZNpR1iI4BsUDbz4l6dy18:27
armaxI stoped at second #318:27
armaxis that bad?18:27
mesterylol18:27
armaxmy catholic ears started to bleed18:27
mesteryrofl18:27
armax:)18:27
mesteryThey play that at mass every week here in Minnesota18:27
mestery:)18:27
armaxI am going to hell now aren’t I?18:28
mesteryWell18:28
mesteryhi18:28
mestery:D18:28
armax18:29
arosenbtw have you guys seen: https://aws.amazon.com/lambda/18:29
mesteryOMG18:29
mesteryarosen: That's the GREATEST THING EVER!18:29
mesterySeriously18:29
arosenMaybe i'm just super late to the game... I just found out about that yesterday.18:29
armaxyes you are18:29
arosen:)18:29
mesteryarosen: Similar but not for AWS: http://stackhut.com/#/18:29
mesteryarosen: That stuff is the future18:29
arosenYea i saw they released it in 2014 nov18:29
armaxarosen: mestery knew about that way earlier than you18:29
mesteryIt's AWESOME18:29
mesteryrofl18:29
armaxlike two weeks ago18:29
mesteryWell18:29
mesterycarl_baldwin andI saw a demo at Linuxcon in Seattle18:30
mesteryWe were blown away18:30
gsagie_arosen: lambda for OpenStack: https://review.openstack.org/#/c/164537/18:30
arosenmestery:  spends more time on twitter than me so I figured he would :)18:30
mesterylol18:30
mesteryDude18:30
mesteryI'm social18:30
arosenI found about about it from CloudOpinion18:30
arosenthat guy is hilarious18:30
mesteryI love cloudopinion18:31
arosenyea he's great18:31
mesteryMaybe cloudopinion can get armax to tweet more18:31
armaxme?18:31
armaxI ain’t got time for that18:32
mesterylol18:33
mesteryWell18:33
mesteryShould you become PTL, that'll be 100% right :D18:33
armaxyou talking to me?18:35
mesteryhi18:37
openstackgerritAaron Rosen proposed openstack/networking-ovn: test  https://review.openstack.org/20518718:49
openstackgerritAaron Rosen proposed openstack/networking-ovn: Raise idlutils.RowNotFound over RuntimeError and handle in plugin  https://review.openstack.org/22422519:10
*** gsagie_ has quit IRC19:11
arosenarmax:  any idea about these two errors i've been seeing:19:11
arosen http://logs.openstack.org/25/224225/2/check/gate-tempest-dsvm-networking-ovn/8719aa6/logs/screen-q-svc.txt.gz?level=TRACE#_2015-09-16_18_32_19_26419:11
arosenhttp://logs.openstack.org/25/224225/2/check/gate-tempest-dsvm-networking-ovn/8719aa6/logs/screen-q-svc.txt.gz?level=TRACE#_2015-09-16_18_39_49_82019:11
arosenI've googled around a bit but nothing yet hops out.19:12
arosenI asked zzzeek in #openstac-dev we'll see if he has any ideas.19:12
armaxnot sure I have seen it before19:13
arosenit wasn't happening until you added your config file changes.19:14
arosenJust kidding :P19:14
arosenyea i haven't seen either of these errors in the past. It doesn't occur consistently and i haven't been able to reproduce it locally.19:15
*** shettyg has joined #openstack-neutron-ovn19:18
* russellb hasn't tried to do a conversion to/from ML2+OVS yet19:26
russellbbut not surprised you run into something with devstack19:27
russellbeven if you reinstall the OVS package, you'll have 2 copies of OVS installed19:27
russellbsince OVN devstack installs ovs master from source into /usr/local//19:27
russellbmight be worth a devstack document update ...19:27
russellbthough I generally assume any devstack config destroys a system :)19:28
armaxrussellb: yes19:49
armaxrussellb: the devstack install doesn’t rollback things the way they were19:50
russellbright19:50
armaxthey uninstall the distro ovs19:50
armaxand install ovs locally19:51
armaxso the whole things is a bit confused19:51
armaxwe could make the ovn’s unstack more polite19:51
russellband then says, oh you want to *not* use ovs from git?  ¯\_(ツ)_/¯19:51
armaxbut I leave that exercise to the reader19:51
russellb:)19:52
armax:)19:52
russellbyeah, never thought about uninstalling during unstack19:52
russellbthat's a good idea19:52
armaxI changed the prefix to /usr19:52
armaxbecause I am rude19:52
armaxreinstalled ovs19:52
armaxand things went back to normal19:53
azbiswasspeaking of devstack and ovn, in my ubuntu/trusty64, the ovn stack failed without installing python-openvswitch first. Has anyone encountered this before?19:53
russellbazbiswas: it shouldn't ... that should be getting installed via pip19:53
russellbnot sure why that happened19:54
russellband it looks like you can run "sudo make uninstall" for ovs19:54
russellbheck, i'll even *test* it!19:54
armaxrussellb: true19:55
armaxbut when you do reinstall the distro ova19:55
armaxov19:55
armaxovs19:55
armaxthe config path is now pointing to /usr/local19:55
russellbwhich config path19:55
russellbsounds like you could have been using ovs-vsctl and friends from /usr/local, which would default to /usr/local19:56
russellband that would break19:56
armaxyes19:56
armaxthe env gets dirty in a way19:56
* russellb nods19:56
armaxI am happy with the latest ovs/ovn capable thingy19:56
armaxhence I installed directly on /usr19:57
armaxI mean by changing the prefix19:57
armaxon configure19:57
openstackgerritRussell Bryant proposed openstack/networking-ovn: devstack: Remove ovs during unstack.  https://review.openstack.org/22428220:01
russellbarmax: ^ :)20:01
armaxrussellb: we should reinstall the ovs that we uninstalled at line 16620:02
armaxotherwise the user will be left high and dry20:02
armaxno?20:02
russellbarmax: wellllllllllll20:02
russellbit could have been devstack that installed it in the first place20:02
russellbit usually is20:02
*** mestery has quit IRC20:02
armaxtrue20:02
russellbusually neutron requirements bring it in, then we promptly uninstall it20:03
russellbso *shrug*20:03
armaxthere’s still something funky about the config prefix20:03
russellbmore complete fix would be to prevent it from getting installed in the first place automatically based on neutron package list, and then only re-install if it was already installed pre-devstack20:03
russellbor something20:03
*** mestery has joined #openstack-neutron-ovn20:03
russellband that's starting to sound like real work20:03
armaxyeah20:04
armaxand no-one ain’t got time for that20:04
russellbexactly!20:04
openstackgerritRussell Bryant proposed openstack/networking-ovn: devstack: Remove ovs during unstack.  https://review.openstack.org/22428220:09
azbiswasrussellb: Can we discuss the ovn plugin support for vtep20:18
russellbyes20:18
russellbmy inbox is a disaster so i haven't read your mail yet, sorry20:18
russellbi can read now though20:18
azbiswasI was trying to see if my workflow for OVN VTEP is correct20:18
russellbOK, sure20:19
russellbi just read what you had, so let's start at the beginning20:19
azbiswasOK20:20
russellbfirst, within OVN, there is ovn-controller-vtep running managing a switch that supports the hardware_vtep schema20:20
russellb(it could be running on the switch itself, or somewhere else, doesn't really matter)20:20
azbiswassure20:20
russellban admin of the switch will create logical switches in hardware_vtep20:21
russellbthose logical switches are associated with VLANs on some subset of the physical ports20:21
azbiswasThis representation will be pushed to the OVN Southbound20:22
russellbnot quite20:22
russellbthat's where we diverge a bit20:22
russellbsoooo, say I want to connect a Neutron network (OVN_Northbound logical switch) to a logical switch on a vtep gateway20:23
russellb<--- insert big question mark about how you tell Neutron to do that ---->20:23
azbiswasSo the Openstack admin must first create a generic Logical Switch20:23
russellbwhat needs to happen in OVN is that Neutron should create a Logical Port in OVN_Northbound with a type: vtep and options: vtep-physical-switch=<name> vtep-logical-switch=<name>20:23
*** chandra_v has joined #openstack-neutron-ovn20:24
russellbThe connection to the vtep gateway is modeled as another logical port on a logical switch in OVN_Northbound20:24
russellb(we can cover what happens after that with ovn-northd and ovn-controller-vtep in a minute)20:25
azbiswasI am with you there, the missing part for me is how did the logical switch on a vtep gateway appear in the OVN Northbound20:25
russellbNeutron creates is20:25
russellbit*20:26
russellboh20:26
russellbthat's not what you asked20:26
arosenarmax:  i think this fixes the first error https://review.openstack.org/22428920:26
russellbthere is no logical switch in OVN_Northbound for the vtep gateway20:26
russellbit's slightly confusing because "logical switch" is used in both OVN_Northbound and hardware_vtep20:26
russellbbut they are different things20:26
* armax looks20:26
russellbthere are logical switches in hardware_vtep, switch admin managed ... connecting an OVN network to one of those is just done by creating a logical port with type=vtep20:27
azbiswasIs there a logical switch for vtep gateway in OVN_Southbound20:27
azbiswas?20:27
russellbnope20:27
russellbfrom OVN's perspective, it's just an endpoint, and looks like any other port20:27
russellbso it has a Port_Binding row20:28
russellband it's modeled in the logical flow table20:28
russellbI think ovn-architecture might discuss this ... *looks*20:30
russellbsee page 8 on http://www.russellbryant.net/ovs-docs/ovn-architecture.7.pdf20:30
russellb"Life Cycle of a VTEP gateway"20:30
russellbthat might explain it better than me20:30
azbiswasI will look through that and get back to you.20:31
russellbok20:31
russellbthat goes into more detail through the process i was just trying to describe20:31
russellbbut hopefully better since it's official docs :)20:31
azbiswasThis was useful though, I think I get it now.20:32
russellbgreat!20:32
russellbthe big missing piece is ... how do we create the type=vtep port in OVN_Northbound when using Neutron20:32
russellband i still haven't looked at networking-l2gw close enough to know if it matches the use case20:33
azbiswasI looked through the networking-l2gw code, there are primitives such as "create_gateway"20:34
azbiswasI was looking at the interfaces exposed by that plugin20:34
azbiswascreate_l2_gateway etc.20:35
*** regXboi has joined #openstack-neutron-ovn21:03
openstackgerritRussell Bryant proposed openstack/networking-ovn: Test security groups.  https://review.openstack.org/22383921:04
openstackgerritRussell Bryant proposed openstack/networking-ovn: wip: security group support  https://review.openstack.org/22381721:04
openstackgerritRussell Bryant proposed openstack/networking-ovn: Temporarily default to ovn-acl branch  https://review.openstack.org/22381621:04
*** cascardo has quit IRC21:28
*** cascardo has joined #openstack-neutron-ovn21:29
*** regXboi has quit IRC21:50
openstackgerritAaron Rosen proposed openstack/networking-ovn: Add if_exists arg to all update/delete commands in ovsdb/commands.py  https://review.openstack.org/22422521:59
*** jimchou has quit IRC22:33
openstackgerritAaron Rosen proposed openstack/networking-ovn: Add if_exists arg to all update/delete commands in ovsdb/commands.py  https://review.openstack.org/22422522:59
*** yamamoto has quit IRC23:39
*** salv-orlando has quit IRC23:48
openstackgerritRussell Bryant proposed openstack/networking-ovn: Test security groups.  https://review.openstack.org/22383923:59
openstackgerritRussell Bryant proposed openstack/networking-ovn: wip: security group support  https://review.openstack.org/22381723:59

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