13:01:32 #startmeeting neutron_db 13:01:33 Meeting started Mon Jun 16 13:01:32 2014 UTC and is due to finish in 60 minutes. The chair is HenryG. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:34 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 13:01:37 The meeting name has been set to 'neutron_db' 13:01:50 o/ 13:01:59 akamyshnikova: jlibosva: hi 13:02:04 hello 13:02:09 rpodolyaka: hi 13:02:16 salv-orlando: around? 13:02:53 #topic Blueprint 13:03:17 salv-orlando has provided details comments on the spec 13:03:35 I will address them and update it shortly 13:03:56 There is not much change affecting the implementation 13:04:19 aloha 13:04:25 But he did bring up an interesting idea about dealing with downgrades 13:04:40 salv-orlando: hi, good to have you here 13:04:54 and on the other hand I think we should not add too much to a single blueprint 13:05:25 my comments were aimed at getting rid of the plugin specific migrations which exist up to icehouse 13:05:25 So we'll look into the downgrade idea in a separate blueprint 13:05:35 this could be or could not be part of that blueprint 13:05:44 but I think efforts and assignees could be divided 13:06:06 the healing migration is already going to be quite an effort - better not to overload this blueprint 13:06:18 OK. I am leaning towards a separate BP 13:06:29 the only thing I would add to the current spec is to include also trunk chasers (see comment inline) 13:06:35 +1 13:06:50 But it would need to go into Juno to be effective, right? 13:07:36 I am just about to push a new patch of the spec to adress all your comments 13:08:10 I think healing at the end of current trunk timeline will require to collect models from current codebase, right? 13:08:38 I think we'll need that anyway 13:08:47 We will need models from Icehouse 13:08:51 (if we are going to take the 'alembic-driven' approach) 13:09:01 Idk what’s the delta between icehouse and now 13:09:26 probably not much, a few migrations 13:09:39 * rpodolyaka didn't check 13:10:09 So the two healings would differ by that delta? 13:10:38 why would we need two healings? 13:10:44 rigth. We can’t ignore trunk chasers; but on the other hand we can’t chase the head of the migration history. 13:11:09 rpodolyaka: for deployers who run openstack off trunk and might alrady be past-icehouse. 13:11:16 rpodolyaka: see salv-orlando comment in spec about trunk chasing 13:11:32 so why not putting it to trunk head only? 13:11:34 salv-orlando: right, but we are going to add another migration script which will just call healing right? 13:11:38 but on the other hand if we decide not to care about them, we’d give just instructions to downgrade to icehouse, and then upgrade again 13:11:43 and deal with potential data loss 13:11:52 salv-orlando: so we need to heal up to the 'current' moment 13:11:56 not icehouse 13:12:02 rpodolyaka: yes indeed. 13:12:20 I guess that is option 3 13:12:23 we might just stick the migration in the current point in the timeline when it’s merged 13:12:25 and we’re done. 13:12:46 on the other hand I don’t want you guys to keep chasing a moving target. 13:13:01 Are we agreeing on that? Sounds easiest to me. 13:13:12 we could 'freeze' new migrations for a week or two maybe? 13:13:15 I’ll try and get in touch with the people who can decide actual stuff for neutron and then get an embargo on migrations for new patches. 13:13:17 akamyshnikova's script is already at the head. 13:13:17 when the healing script is ready 13:14:10 I mean, if you use alembic, this part with which state of models to use is kind of orthogonal to actual healing going, you can use whichever state you want, just need to have it fixed up to some point 13:14:35 #agree to insert healing at head when it merges. 13:14:42 Thanks 13:14:57 rpodolyaka: if people in the meanwhile keep pushing migrations which need healing, you’ll chase a moving target. 13:15:20 I think it’s reasonable to ask that no new migration will have the migration_for_plugins stuff 13:15:21 salv-orlando: agreed, but maybe we could -2 them for a short period of time? 13:15:58 salv-orlando: isn't it happening every time someone sends a patch to migrations? There needs to be HEAD file updated 13:16:06 rpodolyaka: yes, we could. But the last time I started throwing -2s around I was surrounded by an angry mob ;) 13:16:13 heh 13:16:39 jlibosva: that’s the standard issue, and it’s fairly easy to deal with. The problematic one is if one adds a migration which is plugin specific. 13:16:53 That will require us to change also the healing migration, not just the down revision 13:17:20 aha 13:17:48 When the code is closer to "ready" we can require patches with migrations to be dependent on the healing patch? 13:18:45 That way they can't merge until the healing is merged, yet they won't get a -2. 13:19:15 +1 13:19:46 HenryG: no worries I’m not afraid of angry mobs 13:20:00 I grew up in a bad neighborhood 13:20:21 :_ 13:20:23 :) 13:20:51 OK, we have both alternatives. 13:21:02 Anything else about the BP? 13:21:20 nope. I’m ready to +2 once these little tweaks are made. 13:21:34 #topic Work in progress 13:21:37 Then we’ll have it verified and possibly approved by markmcclain 13:21:49 akamyshnikova: any updates? 13:23:06 rpodolyaka: What is the status of oslo.db ? 13:23:37 HenryG: we've uploaded the initial release on PyPi but found a small issue :( 13:24:03 rpodolyaka: small == soon fixed? 13:24:12 HenryG: yep, it's already on review 13:24:23 rpodolyaka: thanks 13:24:25 HenryG: the next release should be good to use 13:24:38 rpodolyaka: nice 13:24:38 HenryG: will tag as soon as the fix is merged 13:25:17 Meanwhile we should all pull akamyshnikova's WIP patch and try it out. 13:25:35 And provide feedback. 13:26:17 #topic Open discussion 13:26:35 oslo.db? 13:27:09 salv-orlando: we plan to use it for testing. It has a framework for unit testing of migrations. 13:27:46 It's mentioned in the spec 13:27:50 HenryG: using it for testing? but not switching to it from neutron.openstakc.common 13:27:56 not referring to the spec. 13:28:08 I’m saying: should we migrate to it? 13:28:17 or is this meeting just about migrations? 13:29:08 salv-orlando: the migration should be easy. I'm ready to help here 13:29:58 HenryG: actually, model/migrations comparison test didn't make it into the initial release, but we are ready to merge it/tag a new release soon 13:31:05 OK, we'll monitor the situation and use oslo.db only if it doesn't impede our progress 13:32:22 If there are no further questions I'll end here 13:32:57 #endmeeting