17:00:47 #startmeeting service_chaining 17:00:52 Hi all 17:00:53 Meeting started Thu Jun 8 17:00:47 2017 UTC and is due to finish in 60 minutes. The chair is LouisF. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:00:55 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:00:57 The meeting name has been set to 'service_chaining' 17:00:59 vks1_: hi 17:01:07 hello 17:01:11 hi all 17:01:14 bcafarel: hi 17:01:18 igordcard: hi 17:01:18 hi 17:01:22 pcarver: hi 17:01:35 #topic agenda 17:02:01 https://wiki.openstack.org/wiki/Meetings/ServiceFunctionChainingMeeting 17:02:09 doonhammer: hi 17:02:25 aby items to add? 17:02:31 any 17:02:43 pcarver: awesome commit message :p 17:02:57 igordcard: thanks, I think 17:03:42 quick item: igordcard added a project-config review to get the bot in #networking-sfc 17:03:43 +1 17:03:57 most of you should already be in the review list I think 17:04:13 https://review.openstack.org/#/c/472282 17:05:03 #topic CLI 17:05:04 https://review.openstack.org/#/c/409759/ 17:05:35 mohan has posted a new patch 17:05:47 I'll review soon hopefully 17:05:57 igordcard: thanks 17:06:22 #topic API reference 17:06:37 pcarver: thanks for update 17:07:00 LouisF: Yeah, this is just excruciating 17:07:18 I have to trace back the chain of imports and figure out what can be done differently. 17:07:42 We can't keep the networking-sfc or neutron.api imports in neutron-lib 17:08:53 pcarver: did neutron-lib folks have any suggestions? 17:09:00 pcarver: the big dependencies are the ones in sfc.py and flowclassifier.py right? 17:09:13 LouisF: I haven't asked yet. Way to many meetings internal to AT&T. 17:09:39 I think the only networking-sfc import is for the i18n translations of exception messages 17:10:07 I don't really know the details of how translations work, but I assume the translations can be moved from networking-sfc's i18n to neutron-lib's i18n 17:10:08 pcarver: oops, wrong files 17:10:38 pcarver: I just wanted to mention neutron_lib/api/definitions/flowclassifier.py 17:10:39 The neutron imports have to do with the API extension mechanism 17:11:09 igordcard: yes, flowclassifier imports from neutron.api and neutron.api.v2 17:11:32 pcarver: the i18n thing doesn't seem to be used in the extension file though.. 17:11:49 one of the imported functions is pretty trivial, but the other depends on yet other imports 17:12:06 and the import of extensions should come from neutron-lib I expect? 17:12:32 pcarver: looking at ExtensionDescriptor 17:12:35 igordcard: the i18n import is the _ used on all of the text of the exceptions 17:12:53 pcarver:i18n Shud not be issue in neutron-lib 17:13:06 pcarver: oh yes 17:13:10 I assume I can use the equivalent function in neutron-lib but need to figure out if I also need to relocate translated message text from somewhere. 17:13:26 I think we are moving for fwaas 17:13:43 pcarver: ExtensionDescriptor will come from here https://github.com/openstack/neutron-lib/blob/ae5efb1ee47d0868e25caee4e0aaf1c857ec9eaa/neutron_lib/api/extensions.py 17:14:05 pcarver: pcarver i18n from here https://github.com/openstack/neutron-lib/blob/master/neutron_lib/_i18n.py 17:14:07 igordcard: thanks. I just haven't had time to go looking for it 17:14:11 pcarver: messages stay in the api def 17:15:13 igordcard: I know the English messages remain in the exceptions in neutron-lib, but if I just switch to the neutron_lib/_i18n.py will it find the other language translations? 17:15:50 in neutron translated messages are in locale/ so is it just that we do not have other translations for now? 17:15:59 pcarver: just a moment, I've never seen where the other languages are stored 17:16:04 I haven't looked to find out where the other language message strings are stored or whether the logic in neutron-lib's i18n is identical to what's in networking-sfc 17:16:28 bcafarel: I don't know. I just haven't had time to go tracking it down yet. 17:16:51 I don't know why networking-sfc implemented its own i18n module, but I'm defaulting to assuming there was some reason 17:17:22 otherwise I would think it would have just imported i18n from upstream rather than implementing a module in networking-sfc 17:17:50 is it possible to get rid od the networking-sfc i18n? 17:18:09 LouisF: that's what I haven't had time to figure out yet. 17:18:24 bcafarel: pcarver: so it should be as easy as having the default english + i18n import in neutron-lib, and then openstack/networking-sfc will store the remaining messages right? 17:18:31 I assume there was some reason why that module exists in networking-sfc rather than being imported from elsewhere 17:18:36 https://wiki.openstack.org/wiki/Translations#Internationalization_.28i18n.29 <- yep the locale/ path seems pretty standard 17:18:56 igordcard: looks like so indeed 17:18:56 but I haven't read through the implementation to figure out what, if anything, it does that justifies its existence 17:19:21 LouisF: shouldn't be too hard 17:19:26 https://github.com/openstack/neutron-lib/blob/master/neutron_lib/_i18n.py 17:19:26 if it's really just copy/paste code and doesn't need to exist then I will definitely remove it and just use neutron-lib's implementation 17:19:36 +1 17:19:38 https://github.com/openstack/networking-sfc/blob/master/networking_sfc/_i18n.py 17:19:59 but I want to compare them before assuming that the networking-sfc one doesn't do anything unique 17:20:00 pcarver: +1 17:20:33 I assume that if it were 100% generic then it shouldn't have been implemented in networking-sfc in the first place 17:20:45 pcarver: not sure why it was 17:20:56 apparently it's the recommended way: https://docs.openstack.org/developer/oslo.i18n/usage.html 17:20:57 So, I'm thinking there's probably at least something it does that might need to be migrated 17:21:07 so the domain is set in each project 17:22:03 What possibly can break if neutron-lib's i18n gets used? 17:22:20 bcafarel: I need time to read the docs, but assuming that "domain" has something to do with how it finds the language strings to replace with other language strings, then that's what I meant about seeing if there are translation string files that need to be moved 17:22:54 vks1_: most likely won't break, but I'm thinking maybe it won't find the text strings needed to translate the messages 17:23:35 I know practically nothing about i18n, so I just need to read docs and figure out how it all works to make sure I don't break it 17:23:46 pcarver: what is behavior if text strings are not found? 17:24:17 LouisF: I'm guessing it probably just displays English messages, but again, I know practically nothing about i18n 17:24:40 pcarver: ok 17:24:46 I'm American so I assume everybody is fine with 7 bit ASCII in English :-) 17:25:11 I have no experience with running software in non-English languages 17:25:16 Doug can clarify 17:25:26 pcarver: domain is mostly for the locale file name, so yes you should be fine just using neutron-lib module (so generated translation files will end up properly in neutron-lib) 17:27:08 moving on 17:27:14 #topic Tap SF 17:27:26 vks1_: what is status? 17:28:07 LouisF hv added notes in doc. Need reviews 17:28:21 vks1_: thanks for the update to the Tap spec https://review.openstack.org/#/c/471725/ 17:28:37 vks1_: added some comments 17:28:46 I should have time tomorrow to finally take a look at these (hopefully) 17:28:59 All please review 17:29:33 Also I have to add UTs for agent 17:29:50 vks1_: thanks 17:29:53 bcafarel thnx 17:30:37 I might take a bit longer to review.. 17:31:02 igordcard: stop sleeping, you could do reviews and write code instead! 17:31:17 bcafarel: genius 17:31:35 #topic SF Graph 17:31:46 igordcard: status? 17:31:59 the 3 patches are essentially finished 17:32:07 but I have to do actual manual testing 17:32:34 so at the moment I'm making the cli for service graphs so I can easily test them and fix anything along the way 17:32:46 but I don't expect the code to change much at this point 17:33:07 igordcard: ok thanks - will review 17:33:35 documentation will come later 17:33:52 igordcard: ok 17:33:55 heat support and OSC will also come later, probably someone else from my side will do those 2 17:34:25 igordcard: ok 17:34:38 #topic OVN work 17:34:51 doonhammer: how is the OVN SFC work? 17:36:11 moving on 17:36:13 I have been sucked into getting ready for our annual user conference - but that has involved building demos for containers and sfc 17:36:15 some recent comments ovs-dev (like 20 min ago) for the ovs part 17:36:29 I need to get a patch sumbitted asap 17:36:32 doonhammer: ok 17:36:43 I will be free after tomorrow 17:37:16 doonhammer: ok thanks 17:38:07 #topic other items 17:39:12 support for legacy SF using the SFC proxy is seen as useful 17:39:34 in particular non-transparent SF 17:39:48 we added support for that 17:40:07 LouisF: and what about L2 insertion modes? 17:40:11 LouisF: without mac rewrites 17:40:37 igordcard: can you elaborate? 17:40:50 I guess we discussed we will add that 17:41:00 After tap 17:41:01 LouisF: just being able to push frames into a VM, with the VM running its interfaces in promiscuous mode 17:41:19 LouisF: and running e.g. an OVS instance inside that VM, to do multiple networking functions 17:41:20 insertion-mode support 17:42:39 igordcard: are you thinking of containers inside a VM? 17:43:11 LouisF: not necessarily, just simply VMs in promiscuous mode 17:43:35 LouisF: right now (without nsh) it still looks like packets are routed to the VM 17:43:48 LouisF: instead of "switched" to the VM 17:43:59 LouisF: It's a L2 mode insertion 17:44:05 vks1_: yeah 17:44:10 igordcard: so how would a promiscous VM affect current port-chain OVS operation 17:44:24 We have in ML 17:45:34 LouisF: I might have to investigate that a bit more, there might be some loss of information that makes the steering ambiguous (if we don't match on the mac addresses inserted by the groups anymore) 17:45:48 LouisF: particularly in multi node 17:46:25 igordcard: can you maybe put ideas into a BP? 17:46:33 LouisF: but basically, everything regarding writing or matching on mac addresses would disappear 17:47:04 igordcard: nsh would achieve that right? 17:47:28 LouisF: I can but will take a long time, as I have to finish on my current tasks.. 17:47:44 LouisF: yeah NSH makes insertion modes irrelevant 17:48:22 LouisF: L2 insertion mode would be simply an increase in the scope of legacy service chaining achieved by networking-sfc 17:48:58 LouisF: so I was just wondering what was the interest around that, I personally don't have any interest 17:49:37 igordcard: vks1_ is looking at that 17:49:59 igordcard: however, regarding non-transparent SF, I have added a new BP that outlines a scheme mapping SFC to SF instances 17:50:11 https://blueprints.launchpad.net/networking-sfc/+spec/sfc-proxy-port-correlation 17:50:43 LouisF: thanks, yes I still have to review what has been done so far around that 17:51:12 this avoids need for re-classification of packets from SG egress port 17:52:06 ok, other items? 17:52:21 call for presentations at the summit is now open 17:52:49 and since bcafarel's adoption of the ovs l2 agent extension, kolla can't deploy networking-sfc... 17:53:11 there's someone working to fix that though, and correctly deploy networking-sfc with ovs 17:53:29 igordcard: who is working on that? 17:54:08 a person from my team, I'll send the review link when there's something up 17:54:22 igordcard: thanks 17:54:31 I think I saw some discussion on containerization of neutron agents (and related modules) 17:54:44 igordcard: I think I will find it interesting :) 17:54:59 bcafarel: +1 17:55:40 all i have for now 17:55:59 btw, i will be way for next two weeks 17:56:27 cathy will run the meetings 17:56:59 thanks all 17:57:02 bye 17:57:03 LouisF: alright! 17:57:04 bye 17:57:08 ok, see you later 17:57:14 #endmeeting