Eva-i | flwang: 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 | *line | 00:15 |
flwang | Eva-i: paste will be removed after a period time i think | 01:03 |
flwang | try ehterpad? | 01:03 |
Eva-i | flwang: oh, that's bad. Maybe etherpad is better, yes. | 01:05 |
Eva-i | flwang: 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-i | flwang: 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 |
flwang | Eva-i: at the first glance, i don't think the msg should include a claim id | 01:17 |
Eva-i | flwang: 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 |
wanghao | flwang, Eva-i: hi, guys~ | 01:25 |
flwang | Eva-i: ok, cool, thanks. | 01:25 |
flwang | wanghao: i'm replaying your spec | 01:25 |
Eva-i | wanghao: hello | 01:25 |
wanghao | flwang, Eva-i: Great, I just want to talk this spec. | 01:26 |
flwang | wanghao: just replied | 01:27 |
wanghao | flwang, Eva-i: plz feel free to give me your ideas about this spec. Thanks. | 01:27 |
flwang | wanghao: and i would recommend to play with SNS to see how it works | 01:27 |
wanghao | flwang: Sure, I will see it. | 01:27 |
Eva-i | wanghao: yes, I'll do review tomorrow. ;) | 01:28 |
* Eva-i is very sleepy | 01:28 | |
wanghao | Eva-i: Thanks again! | 01:28 |
wanghao | Eva-i: sleep well~ | 01:29 |
Eva-i | wanghao: thank you | 01:29 |
*** wxy has joined #openstack-zaqar | 01:32 | |
flwang | wanghao: and personally, i want to see more details about the webhook confirmation | 01:41 |
wanghao | flwang: you mean let user know more clearly how to implement their code to make webhook confirmation, right? | 01:45 |
flwang | no, i mean more details in the spec for webhook confirmation design | 01:49 |
flwang | i have done some investigation for email confirmation, but i'm not really confident for the webhook part TBH | 01:50 |
wanghao | flwang: Emm, okay, I'll see more information in SNS. | 02:09 |
flwang | wanghao: cool, thanks | 02:10 |
wanghao | flwang: In my mind, the webhook confirmation will work like this: User create subscription in Zaqar ---> Zaqar send a HTTP POST request with | 02:10 |
wanghao | subscription confirmation information ---> Subscriber confirm this | 02:10 |
wanghao | subscription by doing a signature and then sending back the | 02:10 |
wanghao | subscription confirmation in response with HTTP status code 200 ---> Zaqar | 02:10 |
wanghao | begins to send notifications to this endpoint when receiving response. | 02:10 |
wanghao | flwang: do you feel any problem in it? | 02:10 |
flwang | as for 'subscription confirmation in response with HTTP status code 200' | 02:12 |
flwang | what's the content of response? | 02:13 |
flwang | because which may impact zaqar's design, how to handle the reponse | 02:13 |
*** GB21 has quit IRC | 03:12 | |
*** flwang1 has quit IRC | 03:39 | |
*** rcernin has joined #openstack-zaqar | 05:40 | |
*** gogo_ has joined #openstack-zaqar | 06:38 | |
gogo_ | help | 06:38 |
gogo_ | I am working on Zaqar. I have installed the Zaqar-ui and Zaqar as backend in OpenStack Mitaka | 06:39 |
gogo_ | I am unable to run the programs in the sample folder | 06:40 |
gogo_ | the only thing that is working is creating the queue and delete the queue | 06:40 |
gogo_ | How do I send and receive messages from the queue? | 06:41 |
*** openstackgerrit has quit IRC | 06:47 | |
*** openstackgerrit has joined #openstack-zaqar | 06:48 | |
*** tesseract has joined #openstack-zaqar | 07:01 | |
wxy | gogo_: Hi, how ddi you use zaqar, with horizon or zaqar client ? | 07:18 |
wxy | gogo_: or just curl request? | 07:18 |
gogo_ | Horizon and Zaqar is connected | 07:26 |
gogo_ | there is Zaqar-ui plugin on github | 07:26 |
gogo_ | put in the local.conf file and it'll setup in the horizon dashboard | 07:26 |
gogo_ | Can you tell how do I use curl to send and receive messages to the queue. I'm kind of new to this | 07:28 |
*** flwang1 has joined #openstack-zaqar | 07:49 | |
wxy | gogo_: 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 |
wxy | gAAAAABXMEFXDW_ip37NqPHuogZw4CJ_vSDinD16QWOmhzuVa_alwosZ7CNZ2uiCmvuPqk5MaTY6U0t5Xa8tTc8VDgnuCA4WtRyxhbueHEoy53DISr1U-4tGfJ2_vm0wgCsc1jb8W2jK-v9s8lyC0d0noppGDvK0rFd_6jztvmg8gkJorHyzp5o" -d '{"messages": [{"ttl": 3600, "body": {"test_message": "this is a test."}}]}' | 07:54 |
wxy | gogo_: this is an example to send a message to the queue named "test". | 07:55 |
wxy | to 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-oken | 08:16 |
*** openstackgerrit has quit IRC | 08:17 | |
*** openstackgerrit has joined #openstack-zaqar | 08:18 | |
gogo_ | and also how post a claim request | 08:18 |
wxy | client id could be any value, just need be uuid like. | 08:21 |
wxy | sorry, it is X-Auth-Token | 08:21 |
wxy | token could be get from keystone. | 08:22 |
wxy | try this command : "openstack token issue". the id in the response body is the token. | 08:22 |
wxy | http://paste.openstack.org/show/496442/ | 08:29 |
gogo_ | So, basically the client-id can be anything, right? | 08:30 |
wxy | basically one value for one user. It should be uuid like. | 08:32 |
gogo_ | okay | 08:41 |
gogo_ | How do you generate the uuid? | 09:31 |
gogo_ | client-id* | 09:31 |
wxy | use uuid lib. uuid.uuid4() | 09:39 |
*** khushbu has joined #openstack-zaqar | 09:51 | |
*** gogo_ has quit IRC | 10:51 | |
*** khushbu has quit IRC | 11:50 | |
*** khushbu_ has joined #openstack-zaqar | 11:55 | |
*** khushbu_ has quit IRC | 12:15 | |
*** khushbu_ has joined #openstack-zaqar | 12:27 | |
*** amitgandhinz has joined #openstack-zaqar | 13:32 | |
*** david-lyle_ has joined #openstack-zaqar | 13:48 | |
*** david-lyle has quit IRC | 13:50 | |
*** ametts has joined #openstack-zaqar | 13:53 | |
*** khushbu_ has quit IRC | 14:16 | |
*** khushbu_ has joined #openstack-zaqar | 14:59 | |
*** davideagnello has joined #openstack-zaqar | 15:24 | |
*** david_cu_ has joined #openstack-zaqar | 15:36 | |
*** khushbu_ has quit IRC | 15:42 | |
*** davideagnello has quit IRC | 15:58 | |
*** tesseract has quit IRC | 16:01 | |
*** rcernin has quit IRC | 16:06 | |
*** rcernin has joined #openstack-zaqar | 16:37 | |
*** david-lyle_ is now known as david-lyle | 16:45 | |
*** david_cu_ has quit IRC | 16:59 | |
*** pt_15 has joined #openstack-zaqar | 17:03 | |
*** itisha has joined #openstack-zaqar | 17:04 | |
*** davideagnello has joined #openstack-zaqar | 17:32 | |
*** davideagnello has quit IRC | 17:43 | |
*** davideagnello has joined #openstack-zaqar | 17:58 | |
*** stanchan has joined #openstack-zaqar | 18:12 | |
*** openstackgerrit has quit IRC | 18:33 | |
*** flwang1 has quit IRC | 18:33 | |
*** openstackgerrit has joined #openstack-zaqar | 18:33 | |
*** tqtran has joined #openstack-zaqar | 18:45 | |
*** david_cu_ has joined #openstack-zaqar | 18:55 | |
*** pt_15 has quit IRC | 19:06 | |
*** rcernin has quit IRC | 20:15 | |
openstackgerrit | Eva Balycheva proposed openstack/zaqar: Fix 503 error on claiming messages in Redis driver https://review.openstack.org/314273 | 20:48 |
flwang | kgriffs: any lucky you around? | 21:37 |
*** amitgandhinz has quit IRC | 21:56 | |
*** david_cu_ has quit IRC | 22:01 | |
*** david_cu_ has joined #openstack-zaqar | 22:10 | |
*** david_cu_ has quit IRC | 22:10 | |
*** david_cu_ has joined #openstack-zaqar | 22:13 | |
Eva-i | flwang: good day | 22:40 |
flwang | morning | 22:40 |
Eva-i | flwang: how do you think, why test fails with my patch? https://review.openstack.org/#/c/314273/ | 22:42 |
flwang | i 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.gz | 22:49 |
Eva-i | flwang: 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 IRC | 22:54 | |
flwang | Collecting 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 |
flwang | the gate is using 0.4.7 | 22:55 |
*** ametts has quit IRC | 22:58 | |
Eva-i | flwang: okay, I found the culpit: oslo.cache 1.7.0. | 23:24 |
Eva-i | flwang: tests pass with oslo.cache 1.6.0. | 23:24 |
flwang | Eva-i: hmm... why it's related to oslo.cache? | 23:26 |
Eva-i | flwang: because cached things are tested in these tests | 23:27 |
flwang | Eva-i: ok | 23:27 |
Eva-i | flwang: I'm going to send bug report to oslo.cache | 23:45 |
flwang | Eva-i: so it's not a zaqar bug? | 23:48 |
Eva-i | flwang: no, it's not | 23:54 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!