Tuesday, 2016-08-16

openstackgerritRick Aulino proposed openstack/searchlight: Standard error logging  https://review.openstack.org/35568901:51
openstackgerritRick Aulino proposed openstack/searchlight: Document the Searchlight architecture  https://review.openstack.org/35033602:39
*** alisha has joined #openstack-searchlight03:52
*** GB21 has joined #openstack-searchlight04:01
*** yingjun has quit IRC04:13
*** yingjun has joined #openstack-searchlight04:13
*** GB21 has quit IRC04:17
*** yingjun has quit IRC04:18
*** GB21 has joined #openstack-searchlight05:03
*** yingjun has joined #openstack-searchlight05:23
*** alisha has quit IRC05:46
*** alisha has joined #openstack-searchlight06:08
*** alisha has quit IRC06:13
*** alisha has joined #openstack-searchlight06:43
*** alisha has quit IRC06:51
*** GB21 has quit IRC07:28
*** GB21 has joined #openstack-searchlight07:50
*** shu-mutou is now known as shu-mutou-AFK08:07
*** yingjun has quit IRC08:11
*** yingjun has joined #openstack-searchlight08:11
*** yingjun has quit IRC08:16
*** yingjun has joined #openstack-searchlight08:23
*** GB21 has quit IRC09:18
*** yingjun has quit IRC09:34
*** GB21 has joined #openstack-searchlight09:51
*** GB21 has quit IRC11:24
*** GB21 has joined #openstack-searchlight11:29
*** GB21 has quit IRC11:37
*** matt-borland has joined #openstack-searchlight12:49
*** itisha has quit IRC12:50
*** yingjun has joined #openstack-searchlight13:47
*** TravT has joined #openstack-searchlight13:47
*** sjmc7 has joined #openstack-searchlight14:06
*** yingjun has quit IRC14:12
openstackgerritMatt Borland proposed openstack/searchlight-ui: Adding summary views for Searchlight resources  https://review.openstack.org/35011514:12
*** yingjun has joined #openstack-searchlight14:12
*** yingjun has quit IRC14:17
*** yingjun has joined #openstack-searchlight14:30
*** yingjun has quit IRC14:35
*** yingjun has joined #openstack-searchlight14:37
*** tyr_ has joined #openstack-searchlight15:02
*** lcastell has quit IRC15:03
*** itisha has joined #openstack-searchlight15:09
*** lcastell has joined #openstack-searchlight15:14
openstackgerritMatt Borland proposed openstack/searchlight-ui: Adding summary views for Searchlight resources  https://review.openstack.org/35011516:02
*** yingjun has quit IRC16:22
*** yingjun has joined #openstack-searchlight16:23
*** alisha has joined #openstack-searchlight16:24
*** yingjun has quit IRC16:27
*** alisha has quit IRC16:35
*** tyr_ has quit IRC16:56
*** david-lyle_ has joined #openstack-searchlight17:09
*** sjmc7 has quit IRC17:13
*** david-lyle has quit IRC17:13
*** david-lyle_ is now known as david-lyle17:13
openstackgerritMatt Borland proposed openstack/searchlight-ui: Adding summary views for Searchlight resources  https://review.openstack.org/35011517:21
*** tyr_ has joined #openstack-searchlight17:50
*** sjmc7 has joined #openstack-searchlight18:16
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Toggle Live Search  https://review.openstack.org/34163818:17
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Poll "dirty" items on paused searches  https://review.openstack.org/35265018:18
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Show items in-transition  https://review.openstack.org/35366118:18
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Add a unique hit identifier to search results  https://review.openstack.org/35377718:18
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Toggle Live Search  https://review.openstack.org/34163818:19
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Poll "dirty" items on paused searches  https://review.openstack.org/35265018:19
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Show items in-transition  https://review.openstack.org/35366118:19
openstackgerritMerged openstack/searchlight-ui: Add translation support  https://review.openstack.org/35307018:48
openstackgerritMerged openstack/searchlight: Add nova server groups plugin  https://review.openstack.org/33487118:52
*** tyr__ has joined #openstack-searchlight19:21
*** tyr_ has quit IRC19:22
david-lylehey sjmc7 I finally submitted some feedback on policy, was OOO for a bit19:35
openstackgerritRick Aulino proposed openstack/searchlight: Standard error logging  https://review.openstack.org/35568919:35
david-lylecan discuss if I'm crazy or off base19:35
sjmc7i saw, thanks! i glanced over it, makes sense19:35
david-lyleok, I'm not sure if trying to extract rule values is the right path, wonder if just another composite rule for the actual check in searchlight (in the case of no policy) would be a better path19:36
sjmc7one sec while i parse the comment :)19:37
sjmc7it is possible to parse rules as long as they are as simple as “!” (i.e. not composite or references to other targets)19:38
RickA-HPdavid-lyle: We do we need to do a separate check for the "!" rule?19:38
david-lyleRickA-HP: well, if I read correctly, and I must admit I looked mostly at patch set 4 because gerrit sucks19:39
RickA-HPSteve gets the blame for Gerrit suc king :)19:39
david-lylesjmc7 is building in logic to short-circuit policy file support by blocking all access in etc/policy.json by using !19:40
sjmc7well, you could put whatever rule in19:40
sjmc7but yeah, that’d be the primary usage, or restricting to admins19:40
RickA-HPDo you mean that in addition to a rule for a specific resource type, that all resource types can be blocked by a "!" rule?19:41
david-lyleit seems to be serving two purposes IMO19:41
david-lyleyes, even if say nova_policy.json is present19:41
david-lylecould be I'm missing something19:42
sjmc7right. yes, if no policy file is there, it’s the only rule. if there is a policy file, it becomes the first rule evaluated before any in the policy file19:42
sjmc7where there is no policy file is where the question arises19:43
david-lyleright which should take precedence19:43
sjmc7(or even where there is one but it doesn’t define a target)19:43
david-lyleneutron sub-entities start to get interesting19:44
sjmc7right now things can only be overridden to be more restrictive, so you can’t use SL’s policy to be more permissive than nova’s19:44
david-lylefor example with targets19:44
david-lyleor more open, no?19:44
sjmc7no, it can’t be more open19:44
sjmc7the checks can only shortcut to deny access, not allow it19:44
david-lyleright because the short-circuit is only negative19:44
sjmc7so a SL policy rule of “” is essentially a no-op, it won’t bypass nova's19:45
sjmc7yeah19:45
sjmc7yes, neutron’s subtypes are also unpleasant, although that starts to go to phase 2 - turning policy into RBAC filtering19:45
david-lylebut if there are no policy files in place, does it fallback to the old mechanism in the plugin?19:46
david-lylemaybe I'm over-thinking it19:46
david-lyleor under-thinking it19:46
sjmc7if there’s no policy file we can either deny or allow19:46
sjmc7your question i guess was whether to make that configurable as policy?19:47
sjmc7like “has_nova_policy AND whatever_nova_says”19:48
* david-lyle looking again19:49
sjmc7if you’ve configured to say “there is a nova policy file” and it isn’t there, the server won’t start19:49
sjmc7so it does fail safe in that regard19:49
david-lyleok19:50
sjmc7where there is no service file defined, that’s where we need to decide allow or reject19:51
sjmc7i guess that could be a setting19:51
sjmc7if in doubt, more settings :)19:52
david-lyleit may be fine19:56
david-lyleI forget about the policy fallback in the plugin19:56
david-lyleso the "" is really just not making it more restrictive19:57
sjmc7yeah, the “” means “do whatever is configured by service policy file”, where it not being configured is treated as allow19:59
sjmc7this also won’t replace the ‘default’ RBAC19:59
david-lylesjmc7: I'll change my feedback then20:08
sjmc7i just added reply comments20:08
david-lyleok20:08
sjmc7the policy stuff is a bit weird. that admin_or_owner thing, particularly20:08
sjmc7if all you’re doing is listing servers, it evaluates to “are you some kind of admin or is this a tenant-scoped token"20:09
david-lylehow does this work for true plugins then?20:09
sjmc7true plugins as in out of tree?20:09
david-lylethat the resource type isn't registered in the default policy.json20:09
david-lyleyeah20:09
david-lylejust bops along20:09
sjmc7the default policy.json should just be a suggestion, same as horizon20:09
david-lyleI guess20:09
sjmc7yeah, if the default is to allow it’ll allow it20:09
sjmc7if you’re deploying anything i’d expect you not to use the default settings files20:10
david-lyleWFM20:10
sjmc7incidentally, on this note - was there ever any thought in horizon to multi-region setups where the region policy files aren’t the same for a service?20:10
sjmc7say nova in one of them doens’t allow resize, migrate etc20:10
david-lyledon't you bring this back on me :P20:11
sjmc7it’s kismet i spent an hour yesterday updating all our horizon policy files20:11
david-lyleno, I must admit that case isn't covered20:12
david-lyleunless you rerouted to particular horizon servers20:12
sjmc7yeah. it’s a bit of an edge case20:12
sjmc7every time i say that it happens a week later20:13
david-lylehehe20:13
david-lylethat's because your PMs monitoring these rooms trolling for sadistic ideas20:14
sjmc7:)20:14
*** TravT has quit IRC20:19
*** TravT has joined #openstack-searchlight20:22
openstackgerritRick Aulino proposed openstack/searchlight: Document the Searchlight architecture  https://review.openstack.org/35033621:38
*** matt-borland has quit IRC21:51
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Add a unique hit identifier to search results  https://review.openstack.org/35377721:51
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Poll "dirty" items on paused searches  https://review.openstack.org/35265021:53
openstackgerritTyr Johanson proposed openstack/searchlight-ui: Show items in-transition  https://review.openstack.org/35366121:54
openstackgerritMerged openstack/searchlight-ui: Adding summary views for Searchlight resources  https://review.openstack.org/35011521:58
openstackgerritRick Aulino proposed openstack/searchlight: Standard error logging  https://review.openstack.org/35568922:39
openstackgerritRick Aulino proposed openstack/searchlight: Fix security group rule update defect  https://review.openstack.org/35568922:41
*** sjmc7 has quit IRC22:48
openstackgerritMerged openstack/searchlight-ui: Add a unique hit identifier to search results  https://review.openstack.org/35377723:30
*** tyr__ has quit IRC23:30
openstackgerritTravis Tripp proposed openstack/searchlight-ui: Toggle Live Search  https://review.openstack.org/34163823:37
*** yingjun has joined #openstack-searchlight23:47
*** shu-mutou-AFK is now known as shu-mutou23:48
openstackgerritMerged openstack/searchlight-ui: Toggle Live Search  https://review.openstack.org/34163823:54

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