15:01:32 #startmeeting openstack search 15:01:33 Meeting started Thu Jul 6 15:01:32 2017 UTC and is due to finish in 60 minutes. The chair is sjmc7. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:01:34 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:01:37 The meeting name has been set to 'openstack_search' 15:02:54 o/ 15:03:17 morning lei-zh 15:03:24 give it a minute or two, see if anyone else is around 15:03:30 morning : ) 15:04:06 are you guys back from holiday? 15:05:35 yeah. but i’m british, i don’t celebrate independence day :) 15:05:39 travis is away this week 15:06:22 lol, that's kind of interesting 15:08:00 :) joking 15:08:13 mostly an excuse to eat too much and watch fireworks 15:09:12 i guess it’s just us 15:09:15 road to be a professional photographer : ) 15:09:19 yep 15:09:29 can maybe take a quick look at the review board 15:10:06 kevin did the documentation rework that the TC requested from all projects 15:10:19 to organize documentation better 15:10:31 https://review.openstack.org/477069 and https://review.openstack.org/480006 15:10:45 yeah, I'll will have a look at them tomorrow 15:11:01 they’re pretty straightforward. i checked that they still render 15:11:21 ah, you put up a zaqar publisher 15:11:27 that's cool 15:11:39 yeah, it's not complete yet 15:11:54 I just upload some work I've been doing 15:12:18 there's one thing I find a little tedious 15:12:25 just one? :) 15:12:45 lol, perhaps for now 15:13:30 you have to find out projects the publishers are going to notify 15:14:07 for example, if a nova server is updated, the owner of the instance should be notified 15:14:12 right 15:14:25 but things are not all that simple for some resources 15:14:45 the admin ones? hypervisors etc? 15:15:18 if it's a neutron network, I have something more to dig 15:15:55 basically I have to rewrite the logic of every plugin's rbac filters to find affected projects 15:16:21 ah, yeah 15:16:34 the weird owner inheritance 15:17:14 yeah, like neutron, swift, and so on 15:17:43 swift i wouldn’t bother with for now; it’s not really usable 15:18:33 yeah, neutron’s a bit tricky. so if you update a port you’d notify the network owner? 15:20:01 https://github.com/openstack/searchlight/blob/master/searchlight/elasticsearch/plugins/neutron/ports.py#L144 15:20:25 it seems port is simple because we assume users are not admin 15:20:50 yeah 15:20:53 https://github.com/openstack/searchlight/blob/master/searchlight/elasticsearch/plugins/neutron/subnets.py#L140 15:20:58 but the rule about who to notify would be different i guess 15:21:18 if i’m logged in and someone adds a port to my network, tell me 15:22:29 even if that port is not belonged to my project? 15:22:41 dunno. that’s a tough one i suppose 15:22:46 maybe just keep it simple for now 15:23:46 yeah, the way I could figure out is write rules according to rbac filters first 15:24:02 yeah, see what that looks like 15:24:16 ok 15:24:45 sad thing is this leaves two similar rbac logic in the plugin 15:25:04 yeah.. you could, for now, just use the project id of the thing that changed 15:25:46 that’ll cover everything except some networking operations 15:26:49 for some public resources like flavor it may need to ask keystone to get all the projects 15:27:14 if it's exposed to everyone 15:27:17 yeah, i’d miss those for now 15:27:26 the most interesting ones will be servers, volumes, networks 15:27:50 anyway, I'll try to cover things as much as I can 15:28:34 ok. only other thing was the nova notifications patch 15:28:50 i fixed the status thing as well as some other mapping issues - the API fields differ from the notifications 15:28:59 cool 15:29:25 I'll look at it along with kevin's documentation patches 15:32:02 ok. i didn’t have anything else to talk about 15:32:16 me neither : ) 15:32:34 ok, let’s end it here 15:32:37 thanks! have a good weekend 15:32:45 yeah, you too 15:32:46 #endmeeting