13:00:40 #startmeeting neutron_db 13:00:41 Meeting started Mon Jul 28 13:00:40 2014 UTC and is due to finish in 60 minutes. The chair is HenryG. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:00:42 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:00:44 The meeting name has been set to 'neutron_db' 13:01:02 Agenda #link https://wiki.openstack.org/wiki/Meetings/NeutronDB#Agenda 13:01:44 Basically just want to go over how things are going 13:01:54 #topic Unit Tests 13:02:45 akamyshnikova: what dependencies need to get approved here? 13:03:08 We need this requirements https://review.openstack.org/109238 13:03:43 HenryG, akamyshnikova it should be approved soon 13:03:53 akamyshnikova: salv-orlando: thanks 13:03:57 then three changes: https://review.openstack.org/81334, https://review.openstack.org/109253, https://review.openstack.org/108731 13:04:35 also there is problem with functional tests and mysql_python requirements 13:05:01 akamyshnikova: do you habe a bug and/or a patch for that? 13:06:04 akamyshnikova: I have not followed up with Maru on that yet. I will try again this week. 13:06:27 salv-orlando, I just talked with SergeyLukjanov and marun. marun said that he will investigate this error. But I didn't heard anything since that time :( 13:07:38 akamyshnikova: that is good. If there is a bug that can be filed for this I would advice to do that and target juno-3 so that the core team and the PTL will be aware that there’s this thing to look at 13:08:06 * salv-orlando I can barely remember my name these days... 13:08:23 salv-orlando, ok, I will file a bug about that 13:08:36 salv-orlando: Maru is probably lumping it under https://bugs.launchpad.net/neutron/+bug/1336172 13:08:38 Launchpad bug 1336172 in neutron "Neutron functional job is broken" [Critical,In progress] 13:10:10 hm.. error log seems to be different from that I got 13:10:46 akamyshnikova: cool… perhaps file the bug anyway and then we’ll look at it with marun and see what to do with it 13:10:57 worst case we’ll mark it as invlalid… 13:11:09 * salv-orlando adds dislexia to his problems. 13:11:34 salv-orlando, ok 13:11:49 #action akamyshnikova to file bug for functional tests with mysql_python requirements 13:12:36 OK, looks like unit tests work is progressing. Let's move to the next topic. 13:12:50 #topic Cleanup 13:13:47 Lots of separate things going on to clean things up after healing. 13:14:06 Anything in particular that anyone wants to discuss? 13:15:01 I think we’re moving pretty well 13:15:05 How are we gonna test consolidation of DB models? 13:15:13 3rd party CI is enough? 13:15:27 jlibosva: How big is the change? Will people be shocked when they see it? 13:15:55 jlibosva: what do you mean aby testing consolation? have you got already a patch for that? 13:16:00 HenryG: I plan to do a lot of "small" patches. People will be definitely shocked :) 13:16:23 salv-orlando: I'm working on that. I have local changes, haven't pushed it to review yet 13:16:54 jlibosva: no problem I don’t need to see code now. I just want to understand what you’re trying to do. 13:17:02 some plugins contain modules with models only, so it's more like movement of file and updating path where models are used 13:17:03 this way I will make sure nobody is shocked 13:17:19 salv-orlando: I'm talking about https://bugs.launchpad.net/neutron/+bug/1346658 13:17:20 Launchpad bug 1346658 in neutron "All DB model classes should be consolidated into one directory" [Undecided,New] 13:17:47 jlibosva: I think the existing testing should be OK. If we can move the models and nothing breaks, we should be OK. 13:17:57 jlibosva: right. Yes this is something we need to do for alembic autogenerate 13:18:17 jlibosva: discussion on this can be moved to the bug report or offline I guess 13:18:24 ok 13:18:26 thanks 13:19:06 #topic Grenade 13:19:25 salv-orlando and akamyshnikova are doing other cleanup activity as stated in the blueprint reorganize-migrations. But if that’s not relevant for this meeting we’ll skip on that 13:19:59 #topic Cleanup 13:20:38 salv-orlando: This is the time when everyone is together, so please feel free to discuss or ask questions now if needed. 13:20:48 there are two things for wider discussion 13:21:27 akamyshnikova has a patch that will allow us to have an additional healing step, which will be needed for enabling us to remove conditional logic from havana to icehouse migrations 13:21:59 the code is good but I think we can make it better by reducing the size of the module for icehouse models leveraging the frozen models we already have (or viceversa) 13:22:16 on the other hand I have a patc for removing conditional migrations from icehouse to healing 13:22:35 which can stay as it is or leverage akamyshnikova work. Your opinion is welcome. 13:23:08 Further, one thing that came out of all this work is that we need to document that we won’t support offline migrations for juno. But I think we all already agree on that 13:23:12 And last thing 13:23:46 I am about to push a rather large change with a havana_initial migration. I will remove all folsom and grizzly migrations. Does anybody has an opinion on this? 13:25:30 salv-orlando: No opinion from me, other than I would like to see it made available. 13:26:18 I wonder how are you gonna do that? similar to folsom_initial? 13:27:36 salv-orlando: This will be for new deployments? Folks will get havana_initial and then migrate to icehouse and then juno? 13:28:02 HenryG, jlibosva: it will be just a new starting point in the migration history. 13:28:28 we have no point in keeping history for unsupported releases. I think also nova has a similar concept. 13:29:00 so havana_initial will replace all migrations up to havana_release including folsom_initial 13:29:12 salv-orlando: Great! I remember this from your spec. 13:29:33 and while I was doing this patch I realized that I’m also doing the poor man’s version of model consolidation 13:29:54 which is importing all modules with models in the alembic env 13:30:12 but that can be adjusted according to which patch betweend this and jlibosva’s land first 13:30:17 salv-orlando: you still can do that by importing head 13:30:24 neutron.db.migration.models.head 13:30:27 there’s no need to enforce a precise order I guess 13:30:46 jlibosva: right. I realized that once I manually imported all models and put the donkey hat on my head 13:30:52 :) 13:32:29 Sounds good. Anything else on the cleanup topic? 13:33:13 nope from me 13:33:28 #topic Grenade 13:33:36 I didn't have Grenade in the agenda but I wanted to give the opportunity for any status. 13:35:04 I see https://review.openstack.org/106000 has merged 13:36:34 And grenade seems to be passing generally in the gate! 13:36:44 Time to set it back to voting? 13:37:45 HenryG: I think it is ok to switch it back to voting. markmcclain also wanted to do a patch around the same kind of work jlibosva did but I don’t think it’s a requirement to make it voting 13:38:03 jlibosva: did you already had a patch to make grenade job voting? 13:38:15 Who has the power to flip the switch? 13:39:05 HenryG: you need to submit a patch to openstack-infra/config 13:39:17 if nobody has done that yet I’ll do that. I’ve done it befor.e 13:40:52 salv-orlando: OK, thanks. Seems jlibosva may have stepped out, but I don't see any patches from him for this. 13:41:00 sorry, I'm back 13:41:47 I haven't sent patch to enable voting for grenade this time 13:42:32 I still see an issue with grenade time to time that it randomly doesn't start one of neutron service/agents after upgrade. I have no idea what the culprit could be 13:43:03 jlibosva: indeed I was pointing out I see a 26% failure rate 13:43:10 I'd rather enable voting once we nail this down. It doesn't happen with nova-network. 13:43:26 jlibosva: sounds a sensible thing to do. 13:43:44 jlibosva: Is there a bug filed for that? 13:43:47 HenryG: no 13:43:50 btw https://review.openstack.org/109238 is now going trough the gate queue 13:43:51 I'll file one 13:44:32 jlibosva: thanks 13:44:40 salv-orlando: Yay! 13:44:47 salv-orlando, great! 13:45:00 #topic Open discussion 13:45:16 I've got one thing for open discussion 13:45:27 go ahead akamyshnikova 13:46:34 I was doing reviews on Friday and find out a lot of changes with migrations where downgrade does not work at all. So today I filed a bug about this https://bugs.launchpad.net/neutron/+bug/1349345 13:46:36 Launchpad bug 1349345 in neutron "Neutron does not contain checks for running migration upgrade->downgrade->upgrade" [Medium,New] 13:46:55 I think this is kind of testing we also need 13:47:22 akamyshnikova: I very strongly agree. 13:47:28 The question could also be "who needs downgrades?", are there any ops using that? 13:48:18 it's a controversial question :) 13:48:53 we had a discussion on that at Hong Kong summit 13:49:10 the outcome was: generally, you don't need them and backup would be a better choice 13:49:14 but if you do rolling upgrades 13:49:18 they might be useful 13:49:43 as while you are doing an upgrade, the data changes 13:49:52 Downgrading is more like a "panic button"? ;) 13:49:54 and if you need a roll back, backup won't be enough 13:50:04 Im not sure this works 13:50:13 but rackspace guys claim they do that :P 13:50:47 ok, if there is a usecase for it, we should support it I guess 13:51:31 jlibosva, in fact most part of projects have this kind of testing (nova, ceilometer, etc) so it seems to be reasonable for as to have it 13:51:49 I have been disconnected for a bit. My opinion on downgrade is that if they are possible they should be supported properly. 13:52:06 It is not up to us to state whether people need them or not. 13:52:12 Yes. If we provide downgrade() functions then they should work properly. 13:52:15 I agree that testing is needed if we support the feature. So in this case, yeah, I agree :) 13:53:29 I saw many of akamyshnikova's comments on the broken downgrades in reviews. IMO people were just being lazy :( 13:54:24 Unit tests for downgrade would solve that. 13:55:06 HenryG, yes :) so it better to test this :) I start working on this today. 13:55:53 Also it would be nice if the autogeneration did 99% of the work in creating the downgrade(). 13:58:27 Anything else? 13:58:37 HenryG, no 13:58:56 Thanks everyone! 13:59:02 #endmeeting