Monday, 2016-05-09

Eva-iflwang: flaper87: it's a bad idea to make links to paste.openstack.org inside bug reports? I just like paste.openstack.org formatting more, especially because it hasn't ine length limit.00:15
Eva-i*line00:15
flwangEva-i: paste will be removed after a period time i think01:03
flwangtry ehterpad?01:03
Eva-iflwang: oh, that's bad. Maybe etherpad is better, yes.01:05
Eva-iflwang: is it okay, when I try to lists messages and one of the messages is with expired claim, href link is still showing claim_id?01:15
Eva-iflwang: for example: {"messages": [{"body": "verynice", "age": 170, "href": "/v2/queues/my-lovely-queue/messages/572fe15892d702510a04545d?claim_id=572fe18392d702510a04545e", "id": "572fe15892d702510a04545d", "ttl": 800}], "links": [{"href": "/v2/queues/my-lovely-queue/messages?marker=1&echo=true", "rel": "next"}]}01:15
flwangEva-i: at the first glance, i don't think the msg should include a claim id01:17
Eva-iflwang: okay, I'll fill a bug report for it, then we decide. The problem occurs with both Redis and Mongo storage drivers, but on API v1.1 and API v2 only. API v1 is unaffected.01:22
wanghaoflwang, Eva-i: hi, guys~01:25
flwangEva-i: ok, cool, thanks.01:25
flwangwanghao: i'm replaying your spec01:25
Eva-iwanghao: hello01:25
wanghaoflwang, Eva-i: Great, I just want to talk this spec.01:26
flwangwanghao: just replied01:27
wanghaoflwang, Eva-i: plz feel free to give me your ideas about this spec. Thanks.01:27
flwangwanghao: and i would recommend to play with SNS to see how it works01:27
wanghaoflwang: Sure, I will see it.01:27
Eva-iwanghao: yes, I'll do review tomorrow. ;)01:28
* Eva-i is very sleepy01:28
wanghaoEva-i: Thanks again!01:28
wanghaoEva-i: sleep well~01:29
Eva-iwanghao: thank you01:29
*** wxy has joined #openstack-zaqar01:32
flwangwanghao: and personally, i want to see more details about the webhook confirmation01:41
wanghaoflwang: you mean let user know more clearly how to implement their code to make webhook confirmation, right?01:45
flwangno, i mean more details in the spec for webhook confirmation design01:49
flwangi have done some investigation for email confirmation, but i'm not really confident for the webhook part TBH01:50
wanghaoflwang: Emm, okay, I'll see more information in SNS.02:09
flwangwanghao: cool, thanks02:10
wanghaoflwang: In my mind, the webhook confirmation will work like this: User create subscription in Zaqar ---> Zaqar send a HTTP POST request with02:10
wanghaosubscription confirmation information ---> Subscriber confirm this02:10
wanghaosubscription by doing a signature and then sending back the02:10
wanghaosubscription confirmation in response with HTTP status code 200 ---> Zaqar02:10
wanghaobegins to send notifications to this endpoint when receiving response.02:10
wanghaoflwang: do you feel any problem in it?02:10
flwangas for 'subscription confirmation in response with HTTP status code 200'02:12
flwangwhat's the content of response?02:13
flwangbecause which may impact zaqar's design, how to handle the reponse02:13
*** GB21 has quit IRC03:12
*** flwang1 has quit IRC03:39
*** rcernin has joined #openstack-zaqar05:40
*** gogo_ has joined #openstack-zaqar06:38
gogo_help06:38
gogo_I am working on Zaqar. I have installed the Zaqar-ui and Zaqar as backend in OpenStack Mitaka06:39
gogo_I am unable to run the programs in the sample folder06:40
gogo_the only thing that is working is creating the queue and delete the queue06:40
gogo_How do I send and receive messages from the queue?06:41
*** openstackgerrit has quit IRC06:47
*** openstackgerrit has joined #openstack-zaqar06:48
*** tesseract has joined #openstack-zaqar07:01
wxygogo_: Hi, how ddi you use zaqar, with horizon or zaqar client ?07:18
wxygogo_: or just curl request?07:18
gogo_Horizon and Zaqar is connected07:26
gogo_there is Zaqar-ui plugin on github07:26
gogo_put in the local.conf file and it'll setup in the horizon dashboard07:26
gogo_Can you tell how do I use curl to send and receive messages to the queue. I'm kind of new to this07:28
*** flwang1 has joined #openstack-zaqar07:49
wxygogo_: curl -i -X POST http://10.229.49.117:8888/v2/queues/test/messages -H "Content-type: application/json" -H "Client-ID: de305d54-75b4-431b-adb2-eb6b9e546014" -H "X-Auth-oken:07:54
wxygAAAAABXMEFXDW_ip37NqPHuogZw4CJ_vSDinD16QWOmhzuVa_alwosZ7CNZ2uiCmvuPqk5MaTY6U0t5Xa8tTc8VDgnuCA4WtRyxhbueHEoy53DISr1U-4tGfJ2_vm0wgCsc1jb8W2jK-v9s8lyC0d0noppGDvK0rFd_6jztvmg8gkJorHyzp5o" -d '{"messages": [{"ttl": 3600, "body": {"test_message": "this is a test."}}]}'07:54
wxygogo_: this is an example to send a message to the queue named "test".07:55
wxyto receive a message, you should post a claim request.07:56
gogo_okay. Tell me how do you get the client-id and the X-Auth-oken08:16
*** openstackgerrit has quit IRC08:17
*** openstackgerrit has joined #openstack-zaqar08:18
gogo_and also how post a claim request08:18
wxyclient id could be any value, just need be uuid like.08:21
wxysorry, it is X-Auth-Token08:21
wxytoken could be get from keystone.08:22
wxytry this command : "openstack token issue". the id in the response body is the token.08:22
wxyhttp://paste.openstack.org/show/496442/08:29
gogo_So, basically the client-id can be anything, right?08:30
wxybasically one value for one user. It should be uuid like.08:32
gogo_okay08:41
gogo_How do you generate the uuid?09:31
gogo_client-id*09:31
wxyuse uuid lib.   uuid.uuid4()09:39
*** khushbu has joined #openstack-zaqar09:51
*** gogo_ has quit IRC10:51
*** khushbu has quit IRC11:50
*** khushbu_ has joined #openstack-zaqar11:55
*** khushbu_ has quit IRC12:15
*** khushbu_ has joined #openstack-zaqar12:27
*** amitgandhinz has joined #openstack-zaqar13:32
*** david-lyle_ has joined #openstack-zaqar13:48
*** david-lyle has quit IRC13:50
*** ametts has joined #openstack-zaqar13:53
*** khushbu_ has quit IRC14:16
*** khushbu_ has joined #openstack-zaqar14:59
*** davideagnello has joined #openstack-zaqar15:24
*** david_cu_ has joined #openstack-zaqar15:36
*** khushbu_ has quit IRC15:42
*** davideagnello has quit IRC15:58
*** tesseract has quit IRC16:01
*** rcernin has quit IRC16:06
*** rcernin has joined #openstack-zaqar16:37
*** david-lyle_ is now known as david-lyle16:45
*** david_cu_ has quit IRC16:59
*** pt_15 has joined #openstack-zaqar17:03
*** itisha has joined #openstack-zaqar17:04
*** davideagnello has joined #openstack-zaqar17:32
*** davideagnello has quit IRC17:43
*** davideagnello has joined #openstack-zaqar17:58
*** stanchan has joined #openstack-zaqar18:12
*** openstackgerrit has quit IRC18:33
*** flwang1 has quit IRC18:33
*** openstackgerrit has joined #openstack-zaqar18:33
*** tqtran has joined #openstack-zaqar18:45
*** david_cu_ has joined #openstack-zaqar18:55
*** pt_15 has quit IRC19:06
*** rcernin has quit IRC20:15
openstackgerritEva Balycheva proposed openstack/zaqar: Fix 503 error on claiming messages in Redis driver  https://review.openstack.org/31427320:48
flwangkgriffs: any lucky you around?21:37
*** amitgandhinz has quit IRC21:56
*** david_cu_ has quit IRC22:01
*** david_cu_ has joined #openstack-zaqar22:10
*** david_cu_ has quit IRC22:10
*** david_cu_ has joined #openstack-zaqar22:13
Eva-iflwang: good day22:40
flwangmorning22:40
Eva-iflwang: how do you think, why test fails with my patch? https://review.openstack.org/#/c/314273/22:42
flwangi don't think it's related based on the error http://logs.openstack.org/73/314273/1/check/gate-zaqar-python27/32fa400/testr_results.html.gz22:49
Eva-iflwang: I can't reproduce it locally. Maybe msgpack lib updated in a non backward compatible way. I'll try to update it locally and see the result.22:51
*** david_cu_ has quit IRC22:54
flwangCollecting msgpack-python>=0.4.0 (from -r /home/jenkins/workspace/gate-zaqar-python27/requirements.txt (line 11))   Downloading http://mirror.dfw.rax.openstack.org/pypi/packages/f8/db/20f9f719ca0fbd2a8934d672a3a198e992e77039ac019cd1cd829e405d2c/msgpack_python-0.4.7-cp27-cp27mu-manylinux1_x86_64.whl (245kB)22:55
flwangthe gate is using 0.4.722:55
*** ametts has quit IRC22:58
Eva-iflwang: okay, I found the culpit: oslo.cache 1.7.0.23:24
Eva-iflwang: tests pass with oslo.cache 1.6.0.23:24
flwangEva-i: hmm... why it's related to oslo.cache?23:26
Eva-iflwang: because cached things are tested in these tests23:27
flwangEva-i: ok23:27
Eva-iflwang: I'm going to send bug report to oslo.cache23:45
flwangEva-i: so it's not a zaqar bug?23:48
Eva-iflwang: no, it's not23:54

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