18:01:04 #startmeeting sahara 18:01:05 Meeting started Thu Feb 4 18:01:04 2016 UTC and is due to finish in 60 minutes. The chair is elmiko. Information about MeetBot at http://wiki.debian.org/MeetBot. 18:01:06 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 18:01:09 The meeting name has been set to 'sahara' 18:01:20 o/ 18:01:21 #chair SergeyLukjanov 18:01:21 Current chairs: SergeyLukjanov elmiko 18:01:23 hi 18:01:23 hello 18:01:24 hi 18:01:25 hi 18:01:28 Hi 18:01:37 Hi 18:01:38 #link https://wiki.openstack.org/wiki/Meetings/SaharaAgenda 18:01:58 let's give folks a minute or 2 to arrive 18:02:11 hi! 18:02:48 hi folks 18:03:24 my ZNC seems broken... 18:03:26 hey guys 18:03:32 hey 18:03:41 * elmiko hands microphone to SergeyLukjanov 18:03:44 #topic News / updates 18:03:50 tmckay: i added your topic to the agenda 18:03:56 elmiko, nice, thanks 18:04:04 elmiko thx for starting meetings, seems like it's my tradition to be few mins late ;) 18:04:10 hi 18:04:15 SergeyLukjanov: hehe, no problem at all =) 18:04:16 I've been working on substring searches ... have a few words about that 18:04:30 mainly api v2 and security bugs for me 18:04:33 I am working on the cluster health checks, basic things are almost done, waiting for the reviews 18:04:59 I've participated PTLs interview series and talk a short story about v2 API there and security improvements 18:05:00 question, it looks to me like heat is still broken in the gate, any update on that? 18:05:00 I am working on improving anti-affinity spec 18:05:05 working on HDP HA for ResoureceManager and Name, need to make a final push on it 18:05:16 (at least last evening we had a lot of broken tests still) 18:05:26 Working on EDP improvement 18:05:44 working on updating of spark sahara plugin for using latest spark version (1.6.0) 18:05:46 #info We have 2 more weeks before the final releases for non-client libraries for this cycle, and 3 weeks before the final releases for client libraries 18:05:54 #info We have 3 more weeks before the Mitaka-3 milestone and overall 18:05:55 feature freeze. 18:06:04 tmckay, it looks like there keystone v3 stuff was reverted in devstack, so everything should be ok, basically 18:06:06 #undo 18:06:07 Removing item from minutes: 18:06:10 #info We have 3 more weeks before the Mitaka-3 milestone and overall feature freeze. 18:06:16 mionkin: is that for the cdh plugin? 18:06:27 vgridnev how is it going with client? are we ready to release it 18:06:28 ? 18:06:33 AndreyPavlov ^^ 18:06:52 https://review.openstack.org/#/c/272503/ is on review 18:06:56 SergeyLukjanov, what is "non-client libraries" vs "client libraries" ? 18:07:03 the last thing i guess 18:07:10 tmckay oslo.msg vs python-saharaclient 18:07:13 import/export spec will be added to backlog 18:07:24 SergeyLukjanov, there is an update on health checks stuff, but we can release that it in the final release I guess 18:07:25 elmiko: it is for spark plugin 18:07:26 we don't actually have non-client libs 18:07:26 ah, thanks 18:07:53 mionkin: ah, got it. thanks! 18:08:15 and yay spark 1.6.0 \o/ 18:08:45 elmiko, I bet Spark will not work with Swift again 18:08:48 elmiko yay! 18:09:11 vgridnev: most likely, but that probably has more to do with the inclusion of the hadoop-openstack.jar 18:09:15 at a guess 18:09:24 elmiko do we need "API v2 progress" topic today? 18:09:51 SergeyLukjanov: i'd like to keep it on the agenda until we get it out of experimental. (kinda like how we kept sahara@horizon) 18:09:59 just to help keep the train rolling 18:10:58 unless there are objections to having it there for awhile 18:11:25 elmiko sure 18:11:26 #topic API v2 progress 18:11:43 hey! 18:11:48 I'm absolutely ok with and it's an important complex part to be tracked well 18:11:57 cool, thanks 18:12:14 i've updated the initial commit POC #link https://review.openstack.org/#/c/273316/ 18:12:26 basically addressing some comments that SergeyLukjanov had 18:12:32 i do have a question though 18:12:55 SergeyLukjanov: you had mentioned on review dropping the project id stuff in the new AuthValidatorV2. what did you mean by that? 18:13:04 elmiko I'll re-iterate on it 18:13:07 cool 18:13:22 also, i've broken out all the endpoints hierarchies into separate python modules 18:13:39 i'd like a few opions on whether this seems like a good solution 18:13:48 elmiko I mean that probably not need the AuthValidator at all, it was a hacky way to handle something and I honestly don't remember what was the real issue 18:14:03 elmiko I think with this ACLs based auth we don't need it 18:14:10 SergeyLukjanov: seemed to me the issue was assuring that the requested project id is the same as the one in the token 18:14:20 ok 18:14:52 i need to update the wiki page with a few more work items, but otherwise the initial commit seems to be working well so far 18:15:02 that's all i have, unless there are questions 18:15:51 elmiko I expect that it'll be checked by ACL code as well :) 18:16:00 most likely 18:16:12 i should review the acl stuff a little deeper 18:18:23 that's all for api v2 18:19:23 #topic Anti-affinity spec 18:19:35 #link https://review.openstack.org/#/c/269202/ 18:19:43 Akanksha08 18:19:58 elmiko, yes 18:20:15 I have added a comment in the spec https://review.openstack.org/#/c/269202/5 18:20:36 vgridnev, you had some questions there 18:20:48 yes, I do 18:20:53 sorry, I've been looking on a v2 patch :) 18:21:01 and I still have them 18:21:26 vgridnev, did you read the comment I made 18:22:01 The general problem: all instances of the node group are combined into one ResourceGroup, and we can't specify Server group for each instance separately 18:22:14 I've not yet looked at the spec 18:22:20 but we must keep backward compat 18:22:28 Any ideas how to resolve that? 18:22:46 but I think server group should not be tied to the node group 18:23:08 I did not understand why this has been done - https://github.com/openstack/sahara/commit/8f965bfd5e5ada9cdf6a26dd150ddb0294817ee1 18:24:31 we can specify server group for each instance separately in the scheduler hints 18:24:40 I have explained that in the comment 18:24:53 We can't do this 18:25:43 vgridnev, is it a restriction in heat? 18:25:43 vgridnev, will it have any negative impact on current functionalities? 18:25:45 All instances of the node group are combined into one OS::Heat::ResourceGroup 18:25:49 yes 18:25:57 I understand that 18:26:33 ok, and how to specify server group for each instance then? 18:27:02 If the value of the get_resource is a variable say "SERVER_GROUP_NAME" + instance_index 18:27:47 instance_index or any value like for server_group_1 it will be 1 and for server_group_2 it will be 2 18:29:17 vgridnev, elmiko does that look okay 18:29:25 Akanksha08, can we discuss that a little bit later? I need to make some research on heat again 18:29:39 vgridnev, okay 18:29:41 in #openstack-sahara maybe 18:29:46 Akanksha08: from my understanding of what you have defined, yes 18:30:19 vgridnev, I still have a question on why this change was made - https://github.com/openstack/sahara/commit/8f965bfd5e5ada9cdf6a26dd150ddb0294817ee1 18:31:01 here what I understand is the server group param is being tied to a node group 18:31:17 or should we discuss this as well on #openstack-sahara 18:31:50 Akanksha08, server group was defined outside of the ResourceGroup, so that heat can't find definition of the server group 18:33:03 so does heat expects the same to be defined inside the ResourceGroup 18:35:15 Akanksha08, no, we can pass server group as property of the ResourceGroup, so it can be defined outside 18:36:41 okay 18:37:08 are we good on this topic for now? 18:37:34 for me yes. I wanted to clear vgridnev's doubts 18:37:41 k, thanks 18:37:47 and clear my doubts as well 18:37:53 #topic Substring search options 18:38:00 #link https://review.openstack.org/#/q/status:open+project:openstack/sahara+branch:master+topic:bug/1503345 18:38:03 tmckay 18:38:12 thanks Akanksha08 and vgridnev 18:39:19 :) thanks elmiko and vgridnev 18:39:31 tmckay: this is your topic =) 18:39:31 elmiko, thanks 18:39:35 k 18:39:54 okay, here is the summary. I was using Nova as a model for how to do substring matching 18:40:22 I looked at the code quickly and initially assumed nova was using a LIKE filter with % chars for simple matching 18:40:50 But, it isn't. It's actually using regular expressions for certain fields, like name (other fields are exact match) 18:40:57 So here is what I propose: 18:41:10 we use regular expressions, too, for certain defined fields 18:41:16 we support this for mysql and postgres 18:41:27 if you use a different database, you only get exact matches 18:41:45 Nova uses LIKE as a fallback for other databases, but I'm not sure I see the point .... 18:41:59 (they also use regex for sqlite, which we could do) 18:42:24 so, the initial patches are trying to use LIKE, but I need to modify them to use regex. Pretty easy change. 18:43:14 i'm +1 for the regex approach 18:43:39 so, any questions, objections? We will have regex matching for things like name, description, plugin_name, etc and exact matching for things like uuids and version numbers 18:44:00 only mysql and postgres will have this. Other stuff ... so sorry :) 18:44:37 I set initial patches to WIP to modify ... 18:45:13 tmckay: for database we use like, for Sahara level we use regex? 18:45:14 sounds good to me 18:45:54 huichun, there is one place LIKE is being used currently, it could be modified (this is in counting data source references in a certain case with proxy users) 18:46:22 huichun, so all of the pattern-matching get_all() methods would use regular expressions 18:46:46 Clear for me 18:47:02 huichun, this will be hardwired for any calls through the REST api. Internal calls which use the conductor will have pattern matching turned off by default, but could turn it on with a flag 18:48:04 it turns out that using regex is actually simpler :) using like raises some questions 18:48:18 those questions go away with regex ;-) 18:49:19 tmckay: do we need to add any indexes to db, to make this work properly? 18:49:49 NikkitaKonovalov, no, we just have to use the correct query filters for certain columns 18:50:04 oops, too many ks 18:51:34 9min left 18:53:12 any other questions on this topic? 18:53:39 #topic Open discussion 18:53:49 6 mins left 18:54:35 We have two specs on the review, both have 2 +2: https://review.openstack.org/#/c/254956/ and https://review.openstack.org/#/c/266557/ . Let's concentrate and make additional reviews to approve them! 18:55:13 vgridnev: +1 18:59:17 i suppose we're done? 18:59:26 Bye 18:59:28 have a good weekend all ;) 18:59:43 We have spring festival this week 18:59:56 ooh, that's right new year is this weekend right? 19:00:00 \o/ 19:00:04 yes 19:00:04 out of time :( 19:00:07 gong xi fasai 19:00:10 #endmeeting