Tuesday, 2017-06-20

*** openstack has joined #openstack-zaqar00:16
*** zigo has quit IRC00:17
*** david_cu has quit IRC00:17
*** vipul has quit IRC00:17
*** zigo has joined #openstack-zaqar00:24
*** david_cu has joined #openstack-zaqar00:24
*** vipul has joined #openstack-zaqar00:24
*** david_cu has quit IRC00:28
*** wanghao has joined #openstack-zaqar00:37
*** harlowja has joined #openstack-zaqar01:04
*** Kevin_Zheng has joined #openstack-zaqar01:30
flwang2wanghao: did you see my comments on the service queue spec? does that make sense for you?02:04
*** yangzhenyu has quit IRC02:06
*** yangzhenyu has joined #openstack-zaqar02:06
*** lei-zh has joined #openstack-zaqar02:12
flwang2lei-zh: hello02:22
lei-zhflwang2, hi02:24
flwang2lei-zh: did you get a chance to test the poc of service queue?02:25
flwang2does that work for you?02:25
flwang2if we can get this feature done in pike-3, do you think the zaqar publisher feature can be merged in searchlight as well?02:26
lei-zhyeah, I did some tests on the api, it works fine02:28
lei-zhbut there lacks some fine grained role control, like access control by a user's role02:30
flwang2could you please explain it a bit?02:33
flwang2what do you mean access control by a user's role?02:33
flwang2can searchlight get the user's role based on the notification?02:33
lei-zhthere are some admin only fields in the message searchlight are going to publish, we don't want non admin users see these fields02:35
flwang2lei-zh: ah, yep, i see. so there are some notifications are for admin user, and we don't want to expose them to the user's queue, right?02:37
flwang2do you have any idea for that?02:37
lei-zhflwang2, yes, of course searchlight could create a dedicated queue to store these messages, but there is concern that non admin user could also see the messages.02:38
flwang2lei-zh: for those notifications, can't you just create queues in the service tenant?02:39
flwang2if the notifications are not allowed to be shown to end user, then there is no reason to create queues in customer tenant02:40
lei-zhflwang2, sorry, I have to pick up a call, will be back later02:41
flwang2ok02:41
lei-zhflwang2, ping03:01
flwang2yes03:01
lei-zhit's kind like api query, there are some fields only expose to user with admin role03:02
lei-zhif you are a admin role user, you will see them03:03
lei-zhsearchlight api just mimic behavior of openstack service apis like nova03:04
flwang2lei-zh: ok, for that case, I can't see zaqar can do much things03:05
flwang2in zaqar, you can't manage the message at the field level03:05
lei-zhthis is something needs to have a look at, at first maybe searchlight could choose not to expose these admin fields until we find a solution for this case03:06
openstackgerritwangxiyuan proposed openstack/zaqar master: Update subscription confirm doc  https://review.openstack.org/47562903:08
wanghaoflwang2: yes, I see your comments,  that make sense to me03:08
wanghaoflwang2: trust way seems a little complex for service03:08
flwang2lei-zh: yep, that's what I'm thinking03:09
flwang2for the case of Horizon, we don't really need the 'admin' fields03:09
flwang2horizon just cares about the notification to update resource status03:09
wanghaolei-zh: yes, I get your issue too,  in nova or cinder,  that will be controllers by project before showing them to user.03:10
flwang2and we can definitely improve later03:10
openstackgerritwangxiyuan proposed openstack/zaqar master: Update subscription confirm doc  https://review.openstack.org/47562903:10
*** wxy has joined #openstack-zaqar03:11
lei-zhflwang2, I thought horizon is going to use the notification for display purpose, to get rid of api pollings03:13
lei-zhif so, they may need these admin fields03:13
flwang2lei-zh: why? IMHO, they just care about the new status and the resource id03:14
flwang2why do they need the admin fields?03:14
lei-zhflwang2, ok, if so that's fine03:14
lei-zhI may misunderstand, because what searchlight publishes is not simply a notification03:15
lei-zhit's enriched resource information, like what you query from openstack service api03:15
flwang2interesting, you mean, the data forwarded to zaqar queues' are not notifications, but the whole resource object info, like we run 'nova show xxx'?03:17
wanghaoyou mean some messages are notifications,  some are resource obejct info?03:18
lei-zhyeah, that's searchlight trying to do, index all the openstack resources03:19
lei-zhwanghao, searchlight listen on mq for notifications, and turn notifications into resource info03:19
lei-zhand we index and publish resource info03:20
wanghaolei-zh: ok i see,  like user stop a vm,   so the message is not only the acton notification, but also including the vm infor. right>03:20
wanghaoright?03:20
lei-zhyes03:20
flwang2lei-zh: but that doesn't block the user case of horizon i think03:21
flwang2if horizon can get the latest status, then should be fine03:21
wanghaoem argee03:21
flwang2no matter it's a notification or a full object03:22
wanghaohorizon can just take what it want from the message.03:22
flwang2exactly03:22
flwang2lei-zh: did you update your patch based on wanghao's poc patch?03:22
lei-zhflwang2, if horizon only wants latest status, that's fine, if they also want resource detail, the admin case matters03:23
flwang2lei-zh: as far as know, for now, there are 2 user cases03:23
flwang21. update resource status03:23
flwang22. a central notification center03:23
flwang2like a message box on dashboard03:23
flwang2and using zaqar as the backend03:24
wanghaoI got a question,  if horizon need some admin fields to show, that means user could see them.  Then it's ok we post those fileds to queue.03:26
wanghaoif horizon didn't want user to see those,  them shouldn't post those filelds to queue.03:27
lei-zhbut these fields should be exposed to admin role users, if searchlight posts them to the queue, is there a potential security issue that non admin users of same project could get the message from the queue03:28
lei-zhflwang2, I haven't update my patch, it's based on zaqarclient to operate queues, I'll continue works on it03:30
wanghaolei-zh: yes, I see this,  could we ensure what admin fields are,  and to check if horizon need them?03:31
lei-zhwanghao, sure, I'll ping them to figure it out03:31
flwang2i don't want to go further before we figure out the exact user case03:36
flwang2lei-zh: wanghao: so let's contact with horizon team and get feedback from them instead of thinking a loud :D03:36
lei-zhflwang2, ++03:40
flwang2lei-zh: so could you please reply the thread and said you have tested the wanghao's patch, and it works. now we need feedback from Horizon team to move on03:44
wanghaolei-zh: flwang2: agree with you04:21
*** flwang has quit IRC05:11
*** pcaruana has joined #openstack-zaqar05:14
*** pcaruana has quit IRC05:30
*** tesseract has joined #openstack-zaqar06:40
*** pcaruana has joined #openstack-zaqar06:49
*** rcernin_ has joined #openstack-zaqar06:53
openstackgerritwangxiyuan proposed openstack/zaqar master: Update subscription confirm doc  https://review.openstack.org/47562907:00
*** lei-zh has quit IRC07:30
*** lei-zh1 has joined #openstack-zaqar07:30
*** pcaruana|afk| has joined #openstack-zaqar07:35
*** pcaruana|afk| has quit IRC07:35
*** pcaruana has quit IRC07:36
*** wanghao_ has joined #openstack-zaqar07:36
*** wanghao has quit IRC07:39
*** pcaruana has joined #openstack-zaqar07:40
*** wanghao_ has quit IRC07:51
*** wanghao has joined #openstack-zaqar07:51
*** gengchc has joined #openstack-zaqar07:54
*** wanghao has quit IRC07:56
openstackgerritwangxiyuan proposed openstack/zaqar master: Update subscription confirm doc  https://review.openstack.org/47562907:57
*** gengchc_ has joined #openstack-zaqar07:58
*** gengchc has quit IRC07:58
*** gengchc_ has quit IRC08:02
*** wanghao has joined #openstack-zaqar08:05
wanghaowxy: ping08:08
wanghaowxy: plz have a look this bug: https://review.openstack.org/#/c/473651/08:08
wanghaowxy: thanks08:08
wxywanghao: Done.08:14
wanghaothanks08:14
openstackgerritwanghao proposed openstack/python-zaqarclient master: Fix the creation issue when special meanings words in queue name  https://review.openstack.org/47365108:31
openstackgerritMerged openstack/python-zaqarclient master: Add subscription other properties  https://review.openstack.org/47493608:36
openstackgerritMerged openstack/zaqar master: Fix some typos in zaqar  https://review.openstack.org/47481808:39
*** openstackgerrit has quit IRC08:48
*** wanghao has quit IRC09:08
*** wanghao has joined #openstack-zaqar09:08
*** lei-zh1 has quit IRC09:28
*** wanghao has quit IRC09:33
*** Aaaa has joined #openstack-zaqar09:46
*** Aaaa has quit IRC10:07
*** flwang has joined #openstack-zaqar10:09
*** lhx has joined #openstack-zaqar10:32
*** lhx is now known as Guest4253810:32
*** openstackgerrit has joined #openstack-zaqar11:55
openstackgerritOpenStack Proposal Bot proposed openstack/python-zaqarclient master: Updated from global requirements  https://review.openstack.org/45601311:55
*** flwang has quit IRC11:55
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar master: Updated from global requirements  https://review.openstack.org/47469911:56
*** therve_ is now known as therve12:41
*** Guest42538 has quit IRC12:54
-openstackstatus- NOTICE: restarting gerrit to address slowdown issues12:57
openstackgerritHoupeng Liu proposed openstack/zaqar master: Fix html_last_updated_fmt for Python3.  https://review.openstack.org/47582514:31
*** mpanetta_ has joined #openstack-zaqar14:34
*** rcernin_ has quit IRC14:47
*** pcaruana has quit IRC16:19
*** tesseract has quit IRC17:00
*** yangzhenyu has quit IRC20:03
*** flwang has joined #openstack-zaqar21:07
*** yangzhenyu has joined #openstack-zaqar22:06
*** openstack has joined #openstack-zaqar22:15
*** yangzhenyu has quit IRC22:17
*** yangzhenyu has joined #openstack-zaqar22:30
*** yangzhenyu has quit IRC22:55
*** mpanetta_ has quit IRC23:07
*** harlowja has quit IRC23:19
*** wanghao has joined #openstack-zaqar23:43
*** mpanetta has joined #openstack-zaqar23:58

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