09:00:52 #startmeeting Dragonflow 09:00:53 Meeting started Mon Jan 16 09:00:52 2017 UTC and is due to finish in 60 minutes. The chair is oanson. Information about MeetBot at http://wiki.debian.org/MeetBot. 09:00:54 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 09:00:56 The meeting name has been set to 'dragonflow' 09:01:03 Good morning 09:01:07 Hi 09:01:13 hi~ 09:01:17 Hi 09:01:39 Al right. Let's begin 09:01:44 hi 09:01:49 Actually, before we begin. 09:01:56 hi 09:01:57 Please note that our gate is broken again :) 09:02:23 Looks like Neutron removed the tenant_id from their objects. 09:03:11 I think it's from patch https://review.openstack.org/#/c/382659 09:03:22 I am looking at it, but if anyone has any info, please share :) 09:03:30 Now we can begin. 09:03:37 I'll look into it :) 09:03:48 #info dimak lihi hshan rajivk irenab itamaro in meeting 09:04:02 me too 09:04:04 dimak, note I uploaded a test here: https://review.openstack.org/420587 but it's just a test 09:04:09 #info ishafran is also in meeting 09:04:12 #topic roadmap 09:04:29 IPv6. lihi, the floor is yours 09:04:49 I've stopped working on the Router Discovery for now. I'm having issues detecting the socilitations when there are multiple routers, and advertising the same response as the periodic router advertisemts messages. 09:04:58 So I've started to work on the DHCPv6 09:05:09 oanson, i think they use project_id instead of tenant_id 09:05:18 lihi: can you please elaborate on the issues you see 09:05:25 yuli_s, yes. I gathered that too. That's what I put in the test 09:05:32 ok 09:06:23 hi 09:06:30 nick-ma, hi 09:06:35 #info nick-ma also in meeting 09:07:21 The requests are sent to the broadcast link local address, and I can't build the response in the flows the same way I did in the flows. 09:07:42 I still need to think how to do it properly 09:08:13 how does it work with ref. impementation? 09:08:51 irenab, I don't think ref implementation uses responders 09:09:07 lihi, I am not sure I understand the issues you're running into 09:09:53 All the requests are send to the broadcast linklocal address. The address is the same for all routers 09:10:11 Usually, each router that receives the messages response. 09:10:25 You can detect your network using the 'metadata' field in OVS 09:10:36 This way you know which router interfaces need to respond 09:11:03 OK, I will look into it 09:12:02 I wasn't sure what to do, so I've started working on the DHCPv6 in the meanwhile. But I think this might help 09:12:23 Both directions are important 09:12:54 yeah I know :) 09:13:00 All right 09:13:14 If you have any issues, feel free to ask in the channel 09:13:19 NB refactor 09:13:26 dimak, you want to update? 09:13:38 Yeah 09:14:07 I think we are starting to have a better picture of how everything should look and be used 09:14:40 All right. 09:14:43 I've talked to Irena and Omer and we decided to try dropping CRUD layer\ 09:15:12 And add custom functionality to NB api operations with hooks 09:15:33 we still have to update the spec (if we see that it works well for us) 09:15:59 Other than that, jsonmodels requirements is in! 09:16:23 What was the issue with CRUD? 09:16:24 I've asked library maintainer to roll out a version with my changes into PyPI 09:16:48 We tried to add CRUD logic to each model 09:17:04 All right. I'll update the spec probably tomorrow. I'd ask that you'd all vote so we can get it in 09:17:09 And we wanted to add shared model functionality with mixins 09:17:26 (e.g. Mixin that adds unique key or version fields) 09:17:48 And some fields might require special treatment in CRUD layer 09:18:39 Anything else for NB refactor? 09:18:40 But if we add a CRUD layer to each mixin that requires it, and then use several mixins, deciding on ordering that CRUDs are called are not that simple or readable 09:18:45 Be patient :P 09:18:56 Sorry. Didn't know you had such a big buffer 09:19:05 You should limit your mtu :) 09:19:32 We though of exploring hooks because they sit on the models/mixins themselves and obey to super() rules 09:20:12 lihi, I can draw up some more elaborate example with code why we wanted to avoid CRUD layer when using mixins 09:20:47 I will be glad to sit in too 09:20:50 :) 09:21:00 it may be better to update the spec along with these pictures. 09:21:03 Other than that, I want to see if the chassis refactor works (fullstack-wise) 09:21:17 yeah, that would be nice 09:21:18 lihi: in short it required to count on the model inheritance order, which is really bad practice 09:21:45 ok, makes sense 09:22:30 dimak, could you prepare these diagrams, I'll add them to the spec? 09:22:37 Sure 09:22:56 I'll post them in #dragonflow too to facilitate some discussion :) 09:23:08 Oh 09:23:30 jsonmodels maintaner just pushed a new version :) 09:23:50 Great! 09:23:53 :) 09:23:55 looks like you are their super user :-) 09:24:02 good news. 09:24:03 ~ 09:24:19 All right. dimak, is there any more? 09:24:32 I think thats all 09:24:41 Chassis 09:24:53 Chassis health 09:25:07 rajivk, anything to update? 09:25:18 I have put patch for it. 09:25:31 This one: https://review.openstack.org/#/c/415997/ ? 09:25:46 yes 09:26:05 Once i get enough comment and it get freeze. 09:26:25 I will add UT and commands of df-db to service enable and disable. 09:26:58 Do you think, current patch is ok or does it require major changes? 09:27:11 From what I saw, there are a few minor things 09:27:15 rajivk, I think df-db is getting a bit too overloaded 09:27:35 dimak, on the other hand, your work should fix that :) 09:27:44 I think, there is a specs for dragonflow-api. 09:27:54 And that is the only CLI utility we have for the moment 09:28:01 may be i should add API directly in that specs. 09:28:22 Yes. This should be a model-API 09:28:31 oanson, we can just rename it to df-client or something 😉 09:28:43 so ‘service’ will be a model object? 09:28:56 yes 09:28:57 IIRC, that's how it is in the spec 09:29:18 dimak, +1 09:29:29 I think, df-db will become too complex soon. 09:29:39 If we keep on adding functionality. 09:30:08 dimak: df-client will be confising, we will need it once add proper API 09:30:13 i suggest to add a subproject named python-dfclient for the api spec. 09:30:27 The CLI requirement is in the API spec. I think df-db will become a troiubleshooting tool. And we will have a cli client for the northbound stuff 09:30:39 Not a bad idea 09:30:57 nick-ma: please check the spec and post comments for what you think is missing 09:31:04 but it is just cli implementation. 09:31:14 the api is belonging to df project as the rest layer. 09:31:23 irenab: sure. 09:31:23 In general, maybe we should start splitting things off into smaller subprojects. e.g. specific database drivers, external applications (once the NB refactor is complete) 09:31:44 we will have to integrate with keystone as well. 09:31:52 project splitting is another big topic to discuss. 09:31:56 If we provide support for APIs. 09:31:59 maybe in another spec. 09:32:01 nick-ma, that's something I wanted cleared up - is the API REST, or a python library with REST on top? 09:32:05 oanson: by subpojects you mean diferent repos? 09:32:05 irenab, ^^^^ 09:32:05 09:32:32 Like Neutron have a stadium, we'll have a... errr.. theatre... 09:32:35 oanson: in my opinion, it should be the standard api framework as nova, cinder, etc. 09:32:56 rest api with python library. 09:32:59 You mean REST, and the CLI client will send REST requests to the API? 09:33:00 oanson: we need to have both, REST API and pythion clinet 09:33:08 nick-ma, beat me to it :) 09:33:18 irenab: yes 09:33:30 irenab, no argument. I wanted to verify where everything connects 09:34:19 oanson: will upload the updated spec version soon, hope it will get more clear 09:34:27 ok. 09:34:35 irenab, great, thanks! 09:34:59 rajivk, one more questions: How do you plan to do the UT? 09:35:13 And do you plan to add fullstack tests? 09:36:03 No, idea. Give me ideas :) 09:36:17 Which is the best for the project? 09:36:59 I guess you could set up something inheriting Service, and see if the NB database is updated (fullstack test) 09:37:19 ok, i will start looking at it. 09:37:42 Thanks. This can be done as a separate patch if you'd like, since the main patch already seems to be very advanced 09:37:58 ok, i will do it in other patch. 09:38:04 Great. Thanks! 09:38:07 Anything else on this topic? 09:38:19 no, that's all. 09:38:29 TAPaaS - yuli_s, any updates? 09:38:42 Yes 09:38:52 today I submitted first patch 09:38:59 to make ids more sparse 09:39:35 Looks promising. 09:39:42 after that I will start to other parts 09:39:48 ;) 09:40:06 Great. Only downside is that I now need to re-memorise all the table numbers :) 09:40:39 we use constants in code, so, I guess it will not be that hard 09:41:03 I saw one constants, can we make enums? 09:41:08 Yes. If we behaved well, this patch should go very smoothly. 09:41:17 I am also working on submitting the rally project I mare 09:41:37 I am also working on submitting the rally project I was working on too 09:42:15 rajivk, sure. What are the benefits? 09:42:23 yuli_s, great! 09:42:28 Would you like to discuss how we can do connectivity tests using naitive DF api only (openstack less)? 09:42:53 rajivk, send you comments in the patch, I think we will continue from their 09:43:12 ok 09:43:13 rajivk, https://review.openstack.org/#/c/420602/ 09:43:16 itamaro: native API is only speced now 09:43:40 itamaro, yes, but let's wait for the open discussion 09:43:40 # link https://review.openstack.org/#/c/418842/ 09:43:42 tests are not even there 09:44:12 ok 09:44:22 sNAT application 09:44:34 ishafran, any updates? 09:44:42 Please note that the patch is here: https://review.openstack.org/#/c/417799/ 09:44:50 I posted first implementation + UT on review 09:45:04 Since then no update 09:45:56 All right. I left some comments there. Please review. 09:46:03 ok 09:46:17 Did you get a chance to try what I suggested regarding passing the zone as an immediate value (and not via the regs)? 09:46:26 I'm curious to know if that worked and could be done 09:46:48 Please also rebase the spec, so that we can vote on it 09:47:00 my environment is broken now due to rebase to DF master, so still not tried it 09:47:25 All right. Please keep me posted - as I said, I am very curious :) 09:47:34 ok 09:47:43 Anything else on sNAT? 09:47:49 Anything else for roadmap? 09:48:12 oanson: any update on LBaaS or vlan amware VMs? 09:48:25 No update on LBaaS. It's looking for a carrier 09:48:29 I am going through specs 09:48:44 rajivk, that's for VLAN aware VMs, right? 09:48:58 yes. I am checking how it can be done in dragonflow. 09:49:25 Currently, how vlans etc work and then map implementation from neutron to dragonflow 09:49:44 I will discuss on IRC, if i need information. 09:49:59 rajivk: thanks for update 09:50:06 Anything else? 09:50:21 not from my side. 09:50:37 #topic Bugs 09:51:00 Just a quick update here: nick-ma posted some workarounds for the critical bug 1651643 09:51:00 bug 1651643 in DragonFlow "metadata service cannot start due to zmq binding conflict" [High,In progress] https://launchpad.net/bugs/1651643 - Assigned to Li Ma (nick-ma-z) 09:51:11 It is now reduced to High. 09:51:15 nick-ma, thanks! 09:51:47 Also thanks to xiaohhui for quickly fixing the broken gate last time. The gate was stable for a whole day before Neutron broke it again :D 09:51:51 you are welcome. the bug has not been closed yet. 09:52:32 oanson: its good to have gate watching 09:52:34 Yes, but it is no longer Critical. That's not to be ignored. 09:53:01 yes. 09:53:28 irenab, not sure what to do on this front. Maybe I'll ask Neutron to add a Dragonflow check, but I don't know if they'll approve 09:54:17 not sure if this change was communcated well enough, we should have not got by suprise 09:55:02 I think I'll free up some time and start watching the Neutron changes. 09:55:33 At least we'll know what could have broken the gate when it happens, rather than go looking for it in retrospect 09:55:45 oanson: bot is less expensive :-) 09:55:56 Not sure a bot can do that. 09:56:00 No matter. Let's move on. 09:56:03 yes. 09:56:08 #topic Open Discussion 09:56:27 Floor is for the taking. 09:56:29 do you guys go to project gathering? 09:56:37 I plan on attending, yes. 09:56:48 (I think I have to :D ) 09:57:04 cool, I don't have opportunity to attend, :-( 09:57:26 That's a shame. We'll miss you 09:57:53 :-) 09:58:23 Anyone else coming to the PTG? 09:58:52 Not all at once :( 09:58:54 no 09:59:39 I have to admit, this isn't very surprising when it's split from the summit 10:00:02 All right. That's our time. 10:00:09 Thanks everyone for coming. Thanks for the great work! 10:00:20 #endmeeting