Monday, 2016-07-18

openstackgerritDan Prince proposed openstack/python-zaqarclient: Create a websocket transport  https://review.openstack.org/34240400:26
openstackgerritDan Prince proposed openstack/python-zaqarclient: Create a websocket transport  https://review.openstack.org/34240400:27
*** yanyanhu has joined #openstack-zaqar01:51
*** yanyanhu_ has joined #openstack-zaqar01:51
*** yanyanhu has left #openstack-zaqar01:51
*** pt_15 has quit IRC02:26
flwangwxy__: ping02:30
*** itisha has quit IRC02:30
flwangre the subscription confirmation patch02:30
wxy__flwang: pong02:32
flwangi'm reviewing the patch and do some manual test02:32
flwangso after this patch, if user POST same body for subscriptions without enable the confirm, what's the response code?02:33
openstackgerritMerged openstack/python-zaqarclient: Updated from global requirements  https://review.openstack.org/32173702:33
wxy__flwang:PUT02:34
flwangPUT?02:34
flwangsorry02:35
wxy__flwang: will return 400 BedRequest02:35
flwangi make it confused02:35
flwang i mean02:35
wxy__Oh , I see02:35
flwangif user didn't enable the confirm,  and he POST same body02:35
flwangbefore this patch, we return 40902:35
flwangafter this patch, what's the resp?02:35
wxy__20102:36
wxy__https://review.openstack.org/#/c/316601/51/zaqar/tests/unit/transport/wsgi/v2_0/test_subscriptions.py02:36
wxy__the subscription is not confirmed, So the second request will retry confirm and return 201 again.02:36
wxy__IT's the retry mechanism.02:37
flwangwxy__: ok, got02:37
flwangbtw, if you have time, could you pls work on the  flavour's api ref02:37
flwangor wanghao has already started on that>02:37
flwangi will work on the message api ref02:38
wxy__flwang:Sure, I'll ask him or work it by myself02:38
flwangwxy__: cool, thanks02:38
flwang1wxy__: i'm reviewing https://review.openstack.org/#/c/316601/51/zaqar/notification/notifier.py line 100-10102:48
flwang1is it the proxy issue you mentioned before?02:48
flwang1besides, it's not secure to expose IP address02:49
wxy__flwang1: yes ,I know. But if the subscriber need to confirm automatically, it must know Zaqar's address02:51
flwang1why can't it be an domain name?02:52
flwang1IP address is not acceptable02:52
*** pt_15 has joined #openstack-zaqar02:54
wxy__flwang1: Domain name is better.02:55
flwang1yep, so i'm thinking if we should make it configurable02:56
*** itisha has joined #openstack-zaqar03:09
openstackgerritOpenStack Proposal Bot proposed openstack/python-zaqarclient: Updated from global requirements  https://review.openstack.org/34341803:11
*** david-lyle has quit IRC03:11
flwang1wxy__: when I tried to confirm the subscription, i got 40303:13
flwang1any idea?03:13
wxy__flwang1: in a meeting just now.03:38
flwang1ok, ttyl03:39
wxy__flwang1: could you please show your request? or you used the sample service in my patch?03:39
flwang1no, i confirm the subscription manually03:40
flwang1maybe i should try the script in your patch03:40
wxy__flwang1: It's strange. Need you reproduce. And paste the information to me .Thanks03:42
flwang1wxy__: http://paste.openstack.org/show/536042/03:44
openstackgerritMerged openstack/zaqar: This patch removes extra spaces from files.  https://review.openstack.org/34267003:45
wxy__flwang1: confirm request should not execute notification/tasks/webhook.py 's code. I don't know how it did.03:50
wxy__flwang1: I'll add some tempest tests for this patch03:50
flwang1cool, thanks03:50
wxy__flwang1: BTW, how can I get the port value from cfg?03:52
flwang1port of zaqar?03:52
wxy__flwang1: yes03:52
flwang1https://github.com/openstack/zaqar/blob/master/zaqar/transport/wsgi/driver.py#L4203:54
flwang1are you looking for this?03:54
wxy__flwang1: Yes, I used "conf['drivers:transport:wsgi'].port" to get it, but it doesn't work.04:00
flwang1in test?04:01
flwang1i mean in unit test or the real logic code?04:01
wxy__flwang1: https://review.openstack.org/#/c/316601/51/zaqar/notification/notifier.py  L10104:02
wxy__flwang1: Maybe I missed something04:02
flwang1wxy__: i guess you missed this line                  self._conf.register_opts(_WSGI_OPTIONS, group=_WSGI_GROUP)04:03
flwang1without register, you can't access it04:03
wxy__flwang1: Got it, So I'm totally wrong before. IMO, the config option only need to register once in the project. :(04:04
flwang1if you're using a global conf, it should be, I'm not 100% sure, you can test it04:06
wxy__flwang1:OK04:09
*** kong has joined #openstack-zaqar04:09
*** adu has joined #openstack-zaqar04:58
*** flwang1 has quit IRC05:03
*** adu has quit IRC05:09
*** rcernin has joined #openstack-zaqar05:57
*** david-lyle has joined #openstack-zaqar06:02
*** flwang1 has joined #openstack-zaqar06:03
*** rcernin has quit IRC06:04
*** rcernin has joined #openstack-zaqar06:17
*** flwang1 has quit IRC06:28
*** pcaruana has joined #openstack-zaqar06:29
*** Ravikiran_K has joined #openstack-zaqar06:30
*** david-lyle has quit IRC06:32
*** flwang1 has joined #openstack-zaqar06:45
*** tesseract- has joined #openstack-zaqar06:45
*** rcernin has quit IRC06:48
*** pcaruana has quit IRC06:48
*** pcaruana has joined #openstack-zaqar07:02
*** rcernin has joined #openstack-zaqar07:03
*** flwang1 has quit IRC07:03
*** flwang1 has joined #openstack-zaqar07:22
*** jtomasek has joined #openstack-zaqar08:13
openstackgerritwangxiyuan proposed openstack/zaqar: Subscription Confirmation Support-1  https://review.openstack.org/31660110:15
*** yanyanhu_ has quit IRC10:20
*** yanyanhu_ has joined #openstack-zaqar10:21
*** yanyanhu_ has quit IRC10:21
*** pt_15 has quit IRC10:36
*** itisha has quit IRC10:40
*** Ravikiran_K has quit IRC10:58
*** dynarro has joined #openstack-zaqar11:51
openstackgerritwangxiyuan proposed openstack/zaqar: Subscription Confirmation Support-1  https://review.openstack.org/31660112:02
*** Ravikiran_K has joined #openstack-zaqar13:09
*** pt_15 has joined #openstack-zaqar13:19
*** JAHoagie has joined #openstack-zaqar13:38
*** mpanetta has joined #openstack-zaqar13:53
*** mpanetta has quit IRC13:54
*** mpanetta has joined #openstack-zaqar13:54
*** JAHoagie has quit IRC14:00
*** JAHoagie has joined #openstack-zaqar14:02
*** JAHoagie has quit IRC14:36
*** dynarro has quit IRC15:53
*** pt_15 has quit IRC16:06
*** tesseract- has quit IRC16:10
*** JAHoagie has joined #openstack-zaqar16:47
*** rcernin has quit IRC16:53
*** pcaruana has quit IRC16:59
*** kong has quit IRC17:04
*** flaper87 has quit IRC17:05
*** zigo has quit IRC17:06
*** godlike has quit IRC17:06
*** ameade has quit IRC17:06
*** zigo has joined #openstack-zaqar17:06
*** godlike has joined #openstack-zaqar17:07
*** godlike has joined #openstack-zaqar17:07
*** kong has joined #openstack-zaqar17:09
*** flaper87 has joined #openstack-zaqar17:10
*** ameade has joined #openstack-zaqar17:10
*** flaper87 is now known as Guest5358617:11
flwang1meeting reminder: #openstack-meeting-3 after 25 mins17:36
*** rcernin has joined #openstack-zaqar17:37
flwang1Eva-i: Guest53586: therve: vkmc: wxy__: wanghao: ryansb: meeting in 5 mins17:55
therveflwang1, Dinner time, sorry :/18:00
flwang1therve: no problem :) i can sync with you later :)18:01
therveCool, thanks18:01
*** pcaruana has joined #openstack-zaqar18:34
*** pt_15 has joined #openstack-zaqar18:35
*** itisha has joined #openstack-zaqar18:39
*** ametts has joined #openstack-zaqar18:49
*** Ravikiran_K has quit IRC18:52
*** rcernin has quit IRC18:57
*** rcernin has joined #openstack-zaqar19:15
*** rcernin has quit IRC19:16
*** rcernin has joined #openstack-zaqar19:16
*** rcernin has quit IRC20:38
*** Eva-i has quit IRC21:09
*** Eva-i has joined #openstack-zaqar21:13
*** rcernin has joined #openstack-zaqar21:49
*** rcernin has quit IRC21:49
*** ametts has quit IRC21:56
*** mpanetta has quit IRC21:56
*** pcaruana has quit IRC23:05
*** wanghao_ has joined #openstack-zaqar23:10

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