Tuesday, 2015-09-22

*** nikhil has quit IRC00:45
*** david-ly_ has joined #openstack-searchlight02:39
*** david-lyle has quit IRC02:40
*** david-ly_ is now known as david-lyle03:17
*** nikhil has joined #openstack-searchlight03:22
*** lakshmiS has joined #openstack-searchlight04:34
*** david-lyle has quit IRC06:58
*** david-lyle has joined #openstack-searchlight07:14
*** lakshmiS has quit IRC11:35
*** lakshmiS has joined #openstack-searchlight11:45
nikhilTravT sjmc7 rosmaita fyi, https://review.openstack.org/#/c/221307/13:36
nikhillakshmiS oops ^13:37
lakshmiSnikhil: yeah oops exact time commit13:37
nikhillakshmiS haha, what did you change?13:37
lakshmiSmember repo from inside location.py was going through the all the layers including policy for retrieving members13:38
nikhilI see13:38
nikhilack13:38
lakshmiSbut in original code it was just going through location and then db13:38
nikhiljust noticed that, I made a relatively naive change to it but yours looks much better13:39
lakshmiSwhat was your change13:39
nikhilthe self.store_api was being set twice13:39
nikhilin the original patch so I changed it13:39
nikhillakshmiS13:39
lakshmiSyeah i remove that too13:39
lakshmiSremoved13:39
nikhilcool13:39
lakshmiSthanks for catch. just reaffirms  i am not doing something crazy13:44
nikhil:)13:48
lakshmiSdown to 3 errors now. atleast it shows the errors13:48
lakshmiSdo you know what this might be. CantStartEngineError: No sql_connection parameter is established13:49
lakshmiShttps://jenkins05.openstack.org/job/gate-glance-python27/1541/console13:49
lakshmiSnikhil:13:52
*** GB21 has joined #openstack-searchlight14:45
*** GB21_ has joined #openstack-searchlight14:45
*** TravT has quit IRC14:49
*** nikhil has quit IRC14:58
*** nikhil has joined #openstack-searchlight14:58
*** GB21_ has quit IRC15:01
*** TravT has joined #openstack-searchlight15:02
*** TravT has quit IRC15:17
lakshmiSnikhil: i think i found the next issue. lets see the patch tests run15:20
nikhillakshmiS thanks!15:28
lakshmiSnikhil: py27 finally passed. time for some serious reviews on location.py code15:35
lakshmiSmanually i only tested image member CRUD. not sure how to test location/store code15:36
*** TravT has joined #openstack-searchlight15:36
lakshmiSimage member CRUD and notifications15:36
nikhillakshmiS umm, I rhink we will need to test the image data after CRUD on the image15:42
nikhilbasically, I am trying to grasp what the store_api is needed for .. to generate image notifications15:42
openstackgerritSteve McLellan proposed openstack/searchlight: Fix sorting behavior for common problematic fields  https://review.openstack.org/22637815:43
nikhilif the image data is deleted on image member delete then we have some serious issue15:43
nikhilhowever, if it's just manipulating the access to that data -- it's okay15:44
lakshmiSnotifications itself dont need them15:44
nikhilyeah, I figured it must be the domain model that's enforcing you to impl it so15:44
lakshmiSbut to seperate image_members as its own gateway layer i added to the layer list since it has other methods in it glance.location.ImageMemberRepoProxy15:44
nikhilI see15:46
lakshmiSglance.location.ImageMemberRepoProxy._set_acls is called for member add and remove functions15:46
*** TravT has quit IRC15:46
nikhiland do you think we absolutely need the store api there?15:46
lakshmiSit was already there and i just seperated it to its own layer model15:47
lakshmiSthe only difference between the old code and the new patch in location.py is  --- instead of calling get_member_repo on image, it now gets its own member_repo proxy15:48
*** TravT has joined #openstack-searchlight15:48
nikhilI understand the change better now15:50
nikhilyou have separated it at the gateway layer15:50
lakshmiSyes15:50
lakshmiSsimilar to other repo's15:50
nikhiland moved the static method in API to rather use from that gateway15:50
lakshmiSyes15:51
nikhiland i understand that you needed to do that for separating ti from images15:51
nikhilguess, that's where the notification proxy was not getting wrapped for members15:51
lakshmiSyes15:51
nikhilawesome, thanks!15:51
nikhilI think we should be okay store wise15:51
lakshmiSthat was tricky without separting it as its own repo15:52
nikhilHemanth is testing it15:52
nikhildef15:52
lakshmiSgreat. thanks15:52
nikhildid they work locally for you?15:52
nikhilI mean tests15:52
lakshmiSi tested image_member CRUD and notifications15:52
lakshmiSand all tests passed15:53
nikhilcan you please run the whole suite once?15:53
nikhilhe was sorta worried that it will take forever to check at the gate15:53
lakshmiSsure i can. zuul already passed on py27 and py3415:53
nikhilah cool, please check locally too15:54
lakshmiSok. will let you know once its done locally15:54
nikhilthanks@15:55
*** TravT has quit IRC16:00
lakshmiSnikhil: local py27 and py34 passed. anything else your run beyond that?16:20
nikhillakshmiS no, thank you very much!16:20
nikhilwaiting for jenkins16:21
lakshmiScool16:21
*** TravT has joined #openstack-searchlight16:24
*** TravT has quit IRC16:28
*** TravT has joined #openstack-searchlight16:42
*** david-lyle has quit IRC16:46
sjmc7TravT - for https://bugs.launchpad.net/searchlight/+bug/1496464.. you're saying do the same thing as e.g. the nova api?16:49
openstackLaunchpad bug 1496464 in OpenStack Search (Searchlight) "Admin rbac filtering too lenient " [Undecided,New]16:49
TravTperhaps. that's the initial idea i have.16:50
TravTdo you have other ideas?16:50
TravTis there another project around that's actually implemented domains properly that we should consider as well?16:51
sjmc7you can still achieve that by filtering on tenant16:51
sjmc7not that i know of16:51
TravTi know you can achieve filtering by tenant from query,16:51
sjmc7so it's a usability question then16:52
TravTThat means a couple things:16:52
sjmc7what's the common case as an admin? to see everything? or only your stuff16:52
TravT1) Every client will have to figure out their token scoping before making a query16:52
TravT2) Every client will have to know the proper query for each resource type to then applying query16:53
TravTas an admin in horizon, i typically and logged into a certain project.16:53
sjmc7yeah, you have to16:54
TravTwhen i'm in the project dashboard, all the data returned should be scoped to my currently scoped project16:54
TravTwhen i'm in the admin dashboard, i should be able to see across projects.16:54
TravTfor images it is more complex16:54
TravTbecause of membership16:55
sjmc7ok. i don't have particularly strong feelings either way. i think it'll get a bit muddy if there's a global search box16:55
TravTyeah, that's definitely true.16:55
TravTmy leaning is to be more restrictive by default16:55
sjmc7no.. we just dont' treat admins as special unless the magic all_projects flag is set16:55
sjmc7i don't think it'll be complex for images16:55
TravThas any project besides keystone implemented domains?16:58
TravTif david-lyle was online, i'd ask him....16:59
TravTmaybe dan is around?16:59
sjmc7not that i'm aware of16:59
sjmc7heat has, a bit16:59
sjmc7but primarily for internal use16:59
TravTall_projects seems pretty harmless... as long as it doesn't back us into a corner17:00
nikhillakshmiS just commentec17:43
nikhillakshmiS I think it's worth a new PS, but I can quickly +2 it and let hemanth know too17:43
lakshmiSsure. thanks i will put the modified patchset17:46
nikhilthanks17:47
*** GB21 has quit IRC18:18
openstackgerritSteve McLellan proposed openstack/searchlight: Standardize created_at, updated_at  https://review.openstack.org/22652419:47
*** rosmaita has quit IRC20:29
*** rosmaita has joined #openstack-searchlight20:33
lakshmiSnikhil, rosmaita: thanks for the reviews20:34
*** lakshmiS has quit IRC20:37
*** TravT has quit IRC20:45
openstackgerritSteve McLellan proposed openstack/searchlight: Add faceting  https://review.openstack.org/22238820:50
openstackgerritSteve McLellan proposed openstack/searchlight: Add faceting  https://review.openstack.org/22238820:54
openstackgerritSteve McLellan proposed openstack/searchlight: Add faceting  https://review.openstack.org/22238820:59
openstackgerritSteve McLellan proposed openstack/searchlight: Standardize created_at, updated_at  https://review.openstack.org/22652421:00
*** TravT has joined #openstack-searchlight21:50

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!