14:00:38 #startmeeting network_common_flow_classifier 14:00:41 Meeting started Tue Oct 17 14:00:38 2017 UTC and is due to finish in 60 minutes. The chair is davidsha. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:00:42 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 14:00:45 The meeting name has been set to 'network_common_flow_classifier' 14:00:58 Hey everyone! 14:01:17 howdy davidsha 14:01:47 not too bad, you bcafarel? 14:02:22 nice summer weather here, I'm not complaining :) 14:04:04 I'll wait 2 mins for the others then we'll start, It's nice weather here now as well, we had a Hurricane yesterday... 14:04:58 And meant to have another big storm on Friday. 14:05:10 yeah I saw that, looks like it was not a good day to visit Connemara 14:06:10 Yup, looking at the power lines that are down, the damage looks very spread out though 14:06:31 tmorin reedip: ping 14:06:53 davidsha: hi everyone 14:06:56 o/ 14:07:04 Hey 14:07:10 hi tmorin 14:07:15 hi bcafarel ! 14:07:40 We'll start now 14:07:47 hello all 14:07:53 Agenda is here: https://wiki.openstack.org/wiki/Neutron/CommonClassificationFramework#All_Meetings.27_Agendas 14:08:06 #topic CCF v0 - Update 14:08:31 So The database migration patch looks ready 14:08:52 https://review.openstack.org/#/c/498471/ 14:08:59 #link https://review.openstack.org/#/c/498471/ 14:09:38 Will I can merge the patch or will I ask a neutron core to have a look and have the final approval? 14:09:46 loosk so, and if needed it can be fixed/updated until there is an "official" v0 14:10:52 +1 14:11:06 +1 for neutron core or me? 14:11:26 the non-question :p 14:11:33 so bcafarel 14:11:37 Ah 14:11:57 So I'll merge it then and we can modify going forward 14:12:29 I'm almost finished updating the follow up patch https://review.openstack.org/#/c/499571/ 14:13:12 I'm going to draft the functional tests separate and submit a patch to infra to enable functional testing and py35 14:13:53 tmorin: have you any tips? 14:14:52 davidsha: I haven't looked at this one for a while 14:15:18 davidsha: I assume I'd better wait for you to finish the udpate first 14:15:38 davidsha: are you asking me about functional testing specifically ? 14:15:51 True, are there any questions? 14:15:58 tmorin: yup functional test 14:16:06 We'll wait for next topic 14:16:17 davidsha: I think that now that you can have in-repo zuulv3 test job definition, this is perhaps what you should target 14:16:50 py35 is a standard job and should be enabled via a change in project-config 14:17:02 tmorin: ack 14:17:36 If there are no questions we'll move on 14:17:55 #topic Functional tests 14:18:33 So we've kind of covered this, I should have waited till this topic before I brought it up. 14:18:51 any feedback on OVOs by iharchys? (sorry catching up) 14:19:10 bcafarel: I haven't asked yet, wanted to have the patch updated first. 14:19:38 ack 14:20:27 It should be up within the next 2 hours, I just caught somethings that needed to be changed. 14:21:01 I'll add some unit tests for it now and have it up soon. 14:21:47 If there's nothing on functional tests I'll move this to open discussion. 14:21:55 about OVO: to allow the push/pull RPC framework to work on objects defined outside neutron, I think that https://review.openstack.org/#/c/512336/ will be needed 14:22:11 this is at least what I concluded when working on OVO for BGPVPN 14:22:14 #topic Open discussion 14:23:06 there is one topic that I want to bring up related to DB, foreign keys and projects consuming CCF 14:23:42 tmorin: ok, sorry just looking at the patch 14:23:49 * bcafarel gets the coffee ready in the meantime 14:24:30 tmorin: go ahead, sorry 14:24:41 ideally we would like consuming projects to have foreign keys to cg or classifications 14:25:09 tmorin: yes 14:25:46 Well, it would cause an issue for DB migration though wouldn't it? 14:25:57 but there is I think one obstacle: I haven't found anything that would guarantee that the DB migration scripts creating the CCF tables will be run *before* the DB migration script of the project consuming CCF which would have foreign keys to CCF tables 14:26:06 davidsha: yes :) 14:27:39 tmorin: Ya, they would need to just be normal strings then. 14:28:37 tmorin: "DB migration scripts creating the CCF tables" - do you mean the initial migration? 14:28:51 igordc: yes. 14:29:25 yes 14:30:27 davidsha: yes, not having a foreign key is a solution, but it means we will possibly need more "book-keeping" code to preserve consistency 14:32:32 tmorin: what if ccf was under core neutron? 14:32:36 tmorin: True, you mean similar to how QoS does it with policies in the L2 - extension 14:32:51 igordc: that would be better I think 14:33:02 hi 14:33:08 we've discussed this briefly in Denver in fact 14:33:26 moving the ccf in neutron itself? 14:33:33 tmorin: outside of the live stream? 14:33:54 davidsha: yes, with FWaaS guys during lunch 14:34:13 tmorin: Oh yes, you mentioned that. 14:34:53 bcafarel: yes, it was on the books, but it was later after it had been established and stable. 14:35:07 davidsha: well, we discussed how to check with consuming project whether we could delete a CCF resource, but we assumed we would have foreign keys 14:35:45 tmorin: is the migration sequence tighly coupled to which repo the code belongs to? 14:35:49 tmorin: atm 14:35:53 tmorin: We could add the classification base table into core neutron... 14:36:52 davidsha: the group* 14:37:05 igordc: Was just about to correct it! 14:37:13 igordc: each repo can define one (or more, but usually one) entry point for neutron-db-manage 14:38:06 on installaion/upgrade neutron-db-manage needs to be called for each neutron-related project 14:38:32 neutron-db-manager --subproject foo 14:38:59 I don't know if there is a short cut to tell neutron-db-manage to do this for all subprojects 14:39:48 I haven't investigated deeply yet, but I don't know how to control the order in which subprojects db migration is trigger for the various subprojects 14:39:53 in devstack 14:39:57 tmorin: Are you proposing ordering the set up to put classifier first? 14:40:13 this would be a solution yes 14:40:30 if that was possible it would be nice 14:40:40 but this is a topic/question that needs to be shared with the rest of neutron community 14:40:46 tmorin: I don't think this will work, the QoS extension is in neutron's main repo, the neutron repo needs to go first doesn't it? 14:40:50 definitely 14:41:42 yes 14:42:47 I think asking if we can add the classification group table to neutron's database migrations is probably the best solution. 14:43:45 since this table has FK to other CCF tables, this would apply to all tables I think 14:44:02 For the moment though, we'll keep going with the patch we have and we can change it when we're ready 14:44:14 tmorin: I don't think classification groups do 14:44:51 No foreign keys in classification groups: https://review.openstack.org/#/c/498471/12/neutron_classifier/db/migration/alembic_migrations/versions/queens/expand/4e97d48da530_initial_ccf_database_.py 14:44:55 davidsha: we need to look closely to have an idea if FK are needed, really-better or sugar-on-top 14:45:50 davidsha: ah, ok, indeed the FK with the other is in the other direction 14:46:21 tmorin: ack, you think it's the best way to know if a CG or classification can be deleted though correct? 14:48:38 davidsha: I'm not 100% sure, but it seems hard to prevent races if we don't have FKs: we can have code to check if a consuming project using CG X, and if not then delete, but in the intermediate time between check&delete, the consuming project may be using it again 14:49:08 tmorin: kk 14:49:16 tmorin: but there may be a way to do without FKs that I haven't thought about 14:50:12 I'm trying to think of a similar resource and how they do it. 14:50:49 maybe QoS policies? 14:51:27 so the thinking was: have FKs to be raceproof, then add hooks so that on failure to delete CG X (because one of the consuming project is using CG X), ask all consuming projects whether and why they use CG X to provide the user with useful feedback on why the CG can't be deleted 14:51:54 davidsha: all QoS stuff is in neutron repo, so they're likely to use FKs 14:52:04 True 14:52:19 the issue is a foreign key to a resource defined outside neutron repo 14:52:55 kk 14:55:28 I was going to suggest asking mlavalle to join but he isn't in the channel. 14:57:31 If we have Classification Groups in the core Neutron migration, does this avoid the race condition of neutron-db-manage? 14:59:24 We're going to have to wrap this up 14:59:33 30 seconds left ... 14:59:37 Thanks everyone for attending! 14:59:43 bye all 14:59:45 #endmeeting