15:01:10 #startmeeting openstack search 15:01:10 Meeting started Thu Feb 18 15:01:10 2016 UTC and is due to finish in 60 minutes. The chair is TravT. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:01:11 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:01:14 The meeting name has been set to 'openstack_search' 15:01:21 o/ 15:01:23 Hello! 15:01:24 o/ 15:01:31 o/ 15:01:33 hey 15:01:41 o/ 15:01:49 FYI rosmaita just said he'll be 10 - 15 mins late (depending on icy road conditions) 15:02:06 Agenda is here, feel free to add to it: https://etherpad.openstack.org/p/search-team-meeting-agenda 15:02:39 #topic general updates 15:02:46 Time is getting tight. 15:02:49 http://releases.openstack.org/mitaka/schedule.html 15:03:16 I think we'll need to be considering a few feature freeze exceptions 15:03:34 we can evaluate that in a week or so 15:03:56 #topic client release schedule 15:04:08 #link http://lists.openstack.org/pipermail/openstack-dev/2016-February/086362.html 15:04:55 Of note in that email: Final release for client libraries: Mar 2 15:05:28 There is only one patch under review for client: https://review.openstack.org/#/c/275046/ 15:05:50 yingjun: thanks for updating it today 15:05:55 i'll definitely review it later 15:06:12 yep, me too. i think that gets us to the minimal set of stuff we wanted to do 15:06:46 i think so too, but i'm wondering about versioning, backwards compatibility, and deprecation. 15:07:14 we haven't yet decided if searchlight itself will stay 0.2 as it has been tagged thus far or will go to 1.0. 15:08:13 so, i'm not sure we should tag client as anything more than 0.1 or 0.2, both due to the service and due to us wanting one more release for wiggle room on the CLI 15:08:48 i’d be fine with that 15:09:10 we should look back at this again 15:09:12 #link https://review.openstack.org/#/c/226157/ 15:09:47 * TravT briefly reading 15:10:52 so we have to make sure we don’t break stuff? we can do that 15:11:29 i think that's the gist of it... 15:11:52 but my other concern is that we have no external feedback on the CLI itself 15:12:27 it’s the first version 15:12:41 if we have to make changes, we’ll make them 15:12:54 so, maybe planning to tag it at 0.2 will make sense 15:12:59 yingjun: any thoughts here? 15:13:18 no, 0.2 is ok for me 15:13:42 So also as FYI 15:13:51 there is a standard deprecation policy tag 15:13:59 we haven't asserted it for searchlight yet 15:14:00 https://openstack.nimeyo.com/60351/openstack-asserting-projects-follow-least-deprecation-policy 15:14:15 but it is something that deployers will likely consider 15:16:10 so, the versions we use (pre-1.0) aren't quite as important as understanding whether or not we follow deprecation and using semver 15:16:27 so major bump 0.1 to 1.0 signifies non-compatible changes 15:16:57 http://semver.org/ 15:17:13 i think more it signifies that from that point on we’re following deprecation and semver 15:17:22 TravT: Does a major bump in the version always imply a non-compatible change? 15:17:40 RickA-HP_: i don't think strictly 15:17:52 because many project increment the full version with each openstack release 15:18:17 they used to follow kind of a versioning that tracked the release year and milestone 15:18:29 e.g. 2012.1.x for first release in 2012 15:18:35 2012.2.x for second 15:19:06 but i think with liberty most projects switched to semver notation and just automatically jumped to a release number that equated to the number of release cycles they'd been a part of 15:19:20 so things like nova went to 12.x.x and horizon went to 8.x.x 15:20:18 http://releases.openstack.org/ 15:20:44 see here are kilo numbers: http://releases.openstack.org/kilo/index.html 15:20:58 Here are liberty numbers: http://releases.openstack.org/liberty/index.html 15:21:15 and here are current mitaka numbers: http://releases.openstack.org/mitaka/index.html 15:21:55 the client versions are all over the place 15:22:59 rosmaita: yeah, there doesn't seem to be any correlation 15:23:06 which is a true observation, but not very helpful 15:23:31 i see the project senlin went straight to a 1.0. 15:23:36 in liberty 15:23:58 from mailing list, it looks like dev started pre-liberty though 15:24:35 i think at this point, i'm inclined to bump the searchlight service to 1.0 15:24:48 and just start incrementing major every single release like other projects 15:25:02 but hold off on deprecation policy tag for another release 15:25:39 we have about two weeks to finalize on that decision 15:25:57 but how does that "feel" to everybody? 15:26:20 If we use Semver then it should 15:26:36 I like the bump to 1.0 for the version. Is there a reason to not apply the deprecation tag? 15:26:51 be straightforward, no? 15:26:58 i’m pretty ambivalent about versioning, i can go either way. i kind of feel like until we’ve got more real world usage a 1.0 tag is premature but i don’t feel that strongly about it 15:27:14 well, if you think about semver 15:27:29 we have already made some major changes since liberty. 15:27:31 sjmc7: you have expressed my feelings exactly 15:27:39 so major version increment seems to apply 15:28:14 the thing is incr major would result into more scrutiny in community 15:28:51 which is good and bad :) 15:28:51 nikhil: ++ 15:28:55 nikhil: and that could be a good thing or a bad thing depending on how you look at it. 15:29:00 yep 15:29:01 sjmc7: :) 15:29:01 :) 15:29:25 we seem to have a consensus here! it's good or bad! 15:29:35 well at least we have that figured out 15:29:35 :) 15:29:37 :D 15:30:03 i don't seem to be bringing a lot of value to this discussion 15:30:12 * TravT disagrees 15:30:42 me too 15:30:46 ok well at least is seems we can agree that client will be 0.2? 15:30:51 don't bring value 15:31:16 agreeing with me is always valuable! yeah, i can go with 0.2 15:31:21 okay. 15:31:23 sjmc7: ++ 15:31:41 well, we'll review that last patch from yingjun 15:31:57 i have not explicitly tested the client with just v2 and just v3 keystone 15:32:01 0.2 lgtm, too 15:32:02 have you done that yingjun? 15:32:25 #agreed (initial python-searchlightclient will be version 0.2) 15:33:09 yes, all tested, didn’t find any issue yet 15:33:41 okay, great! 15:33:57 allright, next topic 15:34:15 #topic searchlight panel 15:34:28 i haven't set up a repo for it separate from horizon yet 15:34:40 it is still two patches deep in the patch chain on horizon 15:34:54 the other patches being ones that definitely need to be in core horizon 15:35:09 but the horizon mid cycle is next week 15:35:25 so will be lobbying hard to get those two parent patches in 15:35:43 making it more reasonable to separate out 15:36:06 i'll go ahead and put in the governance request change for the repo though 15:36:24 we have a really nice demo we'll be doing of it at the horizon midcycle 15:36:39 i will see about making a youtube version of it as well to share with everybody 15:36:49 (after next week) 15:37:08 that's all for that 15:37:16 #topic blueprints and reviews 15:37:34 https://review.openstack.org/#/q/project:%255E.*searchlight.*+status:open,n,z 15:37:56 So top priorities in reviews IMO: 15:38:06 Support DSL query for the query CLI 15:38:18 Fix role based indexing for designate 15:38:33 Use external version to ensure index updates 15:38:42 Zero Downtime Re-indexing changes 15:38:57 external versioning is the one that most worries me on that list 15:39:17 lei-zh: are you here? 15:39:24 yes 15:39:29 https://review.openstack.org/#/c/255751/ 15:39:29 there’ve been some roadbumps along the way 15:39:57 it feels like it’s close but i don’t know how we get it done - lei-zh, would it help to discuss anything here? 15:40:31 or perhaps if i come online later tonight (my time, your morning)? 15:40:53 most things happen in glance plugins 15:40:58 yep :) 15:42:10 the doc consists of different resources, which sometimes we cannot get a acurrate version when updating 15:42:30 specifically image members? 15:43:01 also metadef things I think 15:43:05 like properties 15:43:30 so images first 15:43:46 are you thinking members should be child plugin to images? 15:44:27 I think they should be separated 15:44:30 the alternative to that would be forcing an update from the glance API? 15:44:43 so on an image member change, reindex the image entirely 15:45:03 i dislike having image member be its own entity 15:45:14 this would then make the rbac query filter for images be something like (total pseudo of course) or has_child match project id 15:45:15 it seems like an implementation detail leaking into the model 15:45:30 that would slow it down a little because child queries are a little slower according to ES docs 15:46:41 it’s not speed that concerns me particularly, more complexity 15:47:31 the problem is that the image updated_at timestamp doesn’t change when image members are added or deleted 15:47:36 the problem is if we try to use external version, we should keep using it all the time 15:48:33 if a member changes, we still don't have a new image version, because nothing changes in image 15:48:53 so sjmc7 this seems to lead towards separating them, but i'm not sure based on your comments whether you are advocating for parent child or for keeping them together 15:49:06 i would prefer to keep them together, trying to think of how 15:49:28 would it help if glance updated the image updated_at on a member change? 15:49:31 yes 15:49:34 that would solve all 15:49:40 great rejoicing etc 15:49:49 less gnashing of the teeth 15:50:04 i will file a bug and see what happens 15:50:29 too bad the glance meeting already happened this morning 15:50:49 ok. in the meantime, one thing we could do is a scripted update without a version, which will increment by one 15:51:08 that would be good... because then at least the glance team can debate on whether or not this is intended functionality for glance 15:51:19 yeah.. but we need an interim solution 15:51:35 first off, am i incorrect to want to keep them together? 15:52:15 a version/increment update on the value would need a test and set 15:52:34 and that would require a temp column in the table 15:52:52 so, I doubt if this is small change 15:53:25 well, this meets the criteria of a parent child relationship... but what I really don't like about it is that it becomes a new resource type that will now show up in search results potentially unless we exclude them by default 15:53:32 is keeping them separate going to be better? image members don’t need to be their own plugin 15:53:46 just because they’re child documents for update purposes doesn’t mean making them a whole plugin 15:54:16 sjmc7: that's true 15:54:17 they are useless on their own, ergo i don’t think they should be a full plugin 15:54:40 I think current datastructure makes sense, the only reason to seperate is the external version thing 15:55:07 me too, but i can’t think of a good solution other than allowing the version increment behavior 15:55:10 which maybe that’s ok? 15:55:15 for visibility testing in the UI (I just wrote the new angular filter for standard glance in horizon) we have to have image members in the result 15:55:31 well i take that back 15:55:35 we derive it 15:55:53 lei-zh: how about this - for now, we making updating image members a special case where we do an update without specifying the version (which will increment by one) 15:56:12 since we’re only removing or adding the individual id it should be ok 15:57:28 if we REALLY need to do so we can store the timestamps with each member 15:57:39 and only update when appropriate, although for deletes that will be difficult 15:58:06 it may have a rare chance that it will conflict with other image updates? 15:58:12 not really 15:58:23 sjmc7: so basically this takes the chance of other image update conflict down to 1 millisecond 15:58:28 incrementing by 1 is equal to a nanosecond after the previous update 15:58:38 or.. yeah, millisecond i guess. but after the last notification 15:58:40 yes, very rare 15:58:44 so any REAL image update will overwrite it 15:58:49 becaues the image timestamp will be older 15:59:07 errr.. younger, sorry 15:59:22 this seems reasonable to me. 15:59:25 i would like to get the patch in and fix specific edge cases separately 15:59:32 as long as there aren't 400000 member updates 15:59:35 this seems like a reasonable compromise 16:00:03 time’s up 16:00:07 out of time here, can we jump over to #openstack-searchlight to finish? 16:00:16 lei-zh: can you stick around for a few more minutes to talk about metadefs? 16:00:17 ok, I think it's the quickest way to solve it. 16:00:29 #endmeeting