*** achanda has quit IRC | 00:38 | |
*** david-lyle has quit IRC | 01:01 | |
*** mpanetta_ has quit IRC | 01:16 | |
*** kgriffs is now known as kgriffs|afk | 01:30 | |
*** kgriffs|afk is now known as kgriffs | 01:30 | |
*** achanda has joined #openstack-zaqar | 01:31 | |
*** itisha has quit IRC | 01:43 | |
*** Qiming has joined #openstack-zaqar | 01:44 | |
flwang | mdnadeem: i think the flavor doesn't work | 02:06 |
---|---|---|
flwang | anything i should know? | 02:06 |
mdnadeem | flwang: i too face the same error as mentioned in https://bugs.launchpad.net/python-zaqarclient/+bug/1491738 | 02:13 |
openstack | Launchpad bug 1491738 in Python client library for Zaqar "zaqarclient token authorization failing at zaqar-server" [Undecided,New] | 02:13 |
flwang | mdnadeem: can you show me your zaqar conf? | 02:16 |
flwang | i think it's caused by the conf of keystone_authtoken | 02:17 |
mdnadeem | flawng: Please find it : http://paste.openstack.org/show/473978/ | 02:18 |
flwang1 | mdnadeem: can you try this http://paste.openstack.org/show/473979/ ? | 02:22 |
mdnadeem | flawng1: Sure. I ll update you in a minute | 02:23 |
flwang1 | cool | 02:28 |
mdnadeem | flwang1: Got same Error , Please have a look : http://paste.openstack.org/show/473980/ | 02:30 |
flwang1 | mdnadeem: can you reproduce this with a http client? | 02:31 |
flwang1 | i mean a http client plugin in browser | 02:32 |
mdnadeem | flwang1: Sorry i have no idea regarding http client plugin in browser, i have executed command only by zaqarclient or curl command. Can you give me hints how to do that? | 02:38 |
mdnadeem | flawng1: did you mean by dashboard? | 02:41 |
flwang1 | mdnadeem: do you have chrome installed? | 02:42 |
mdnadeem | flwang1: yes | 02:42 |
flwang1 | mdnadeem: https://chrome.google.com/webstore/detail/dhc-resthttp-api-client/aejoelaoggembcahagimdiliamlcdmfm | 02:43 |
flwang1 | mdnadeem: any lucky? | 02:52 |
flwang1 | after installed, you just need to set the token to talk to zaqar | 02:53 |
mdnadeem | flawng1: i have create token by "keystone token-get" command and use token id and run the command on chrome "10.0.2.15:443/v1/queues -H "X-Auth-Token:4d933370d73e49b4b414513935bdb8d4" | 02:55 |
mdnadeem | flawng1: ohhh, i am doing some thing wrong, it chrome Request out put: " No response. Is the certificate valid? Click here to check." | 02:56 |
flwang1 | why run command? | 02:59 |
flwang1 | you need to use the DHC add on | 02:59 |
mdnadeem | flawng1: Thanks got it, the error reproduce it shows Response: 401 Unauthorized | 03:04 |
mdnadeem | flwang1: while debugging code: I find zaqarclient/auth/__init__.py ----> get_backend() is used "noauth" Option, I think it should be "keystone" | 03:10 |
flwang1 | mdnadeem: but | 03:10 |
mdnadeem | flwang1: yes | 03:11 |
flwang1 | did you mean you got 401 even with the DHC addon? | 03:11 |
mdnadeem | flwang1: yes sir :) | 03:11 |
flwang1 | so it's not related to zaqar client | 03:12 |
flwang1 | it's related to your zaqar conf | 03:12 |
mdnadeem | flwang1: DHC is at the end use same curl command rt? | 03:12 |
flwang1 | yep | 03:12 |
flwang1 | it will send a HTTP request to talk with rest api of zaqar directly | 03:13 |
flwang1 | instead of via zaqar client | 03:13 |
flwang1 | let me review your zaqar conf again, wait a min | 03:13 |
flwang | btw, can you see any error from the zaqar log? | 03:14 |
mdnadeem | flwang1: let me check | 03:15 |
flwang | mdnadeem: ah | 03:15 |
flwang | you're using websocket? | 03:15 |
flwang | mdnadeem: i think we only support wsgi/http for now | 03:17 |
flwang | mdnadeem: i will submit a patch to make wsgi as the default transport protocol | 03:18 |
flwang | just checked, you have to set the service you want to run | 03:21 |
flwang | can you show me your localrc file of devstack? | 03:21 |
mdnadeem | flwang: sure, wait a moment | 03:23 |
mdnadeem | flwang: please find local.conf file http://paste.openstack.org/show/473983/ | 03:27 |
flwang | mdnadeem: can you run 'ps -ef | grep zaqar' | 03:28 |
mdnadeem | flwang: here is the output of ^^ command : http://paste.openstack.org/show/473984/ | 03:31 |
flwang | cool, to double confirm, pls run 'netstat -anop | grep 8888' | 03:32 |
mdnadeem | stack@vm2:/opt/stack/python-zaqarclient$ sudo netstat -anop | grep 8888 | 03:33 |
mdnadeem | tcp 0 0 10.0.2.15:8888 0.0.0.0:* LISTEN 10548/uwsgi off (0.00/0/0) | 03:33 |
flwang | awesome | 03:33 |
flwang | so can you open the DHC panel? | 03:34 |
mdnadeem | flwang: yes already open | 03:34 |
flwang | input 10.0.2.15:8888/v2/queues use GET method | 03:35 |
flwang | and for the headers, add X-AUTH-TOKEN <your token> | 03:35 |
flwang | then you should be able to talk with zaqar | 03:36 |
mdnadeem | just need to confirm, <your token > should replaced by the id of the token generated by "keystone token-get" command | 03:37 |
mdnadeem | ? | 03:37 |
flwang | yes :) | 03:38 |
mdnadeem | flwang: cool.Great its work: 200 OK | 03:39 |
mdnadeem | :( | 03:39 |
flwang | ? | 03:39 |
flwang | you're not happy? | 03:39 |
mdnadeem | flwang: there is a prob, i have just created a queue successfully, however when do queue list , it shows me empty | 03:42 |
flwang | different tenant? | 03:43 |
mdnadeem | flwang: i am not mentioned any tenant name , i think it took default one "admin" | 03:44 |
mdnadeem | flwang: for creation using "10.0.2.15:8888/v2/queues/myqueue" and PUT method | 03:46 |
flwang | it's using the tenant which you're using to get the token | 03:46 |
flwang | mdnadeem: yep, you can create a new queue and list it to see what happened | 03:47 |
mdnadeem | flwang: yes i got the tenent id, so while listing am i supposed to supply this id? | 03:47 |
flwang | mdnadeem: nope | 03:49 |
flwang | you don't have to provide the tenant id | 03:49 |
mdnadeem | flwang: It dont list created queue | 03:51 |
*** achanda has quit IRC | 03:54 | |
flwang | mdnadeem: you mean you can't list the queue you just created? | 03:58 |
mdnadeem | flwang: yes sir | 03:59 |
flwang | and there is no error when you create it? | 03:59 |
flwang | it's weird | 03:59 |
mdnadeem | it shows "queues":[],"links":[]} in body | 03:59 |
flwang | mdnadeem: can you see the queue in mongodb://localhost:27017/zaqar_mgmt ? | 04:01 |
mdnadeem | flwang: let me check | 04:02 |
mdnadeem | flwang: it shows in DB but list does not return | 04:14 |
mdnadeem | flwang: let me debug the list API and i will let you know soon | 04:14 |
flwang | mdnadeem: cool | 04:16 |
flwang | it maybe related to pooling | 04:16 |
mdnadeem | flwang: Thanks a lot flwang, I ll try to debug the code and update you soon :) | 04:18 |
flwang | mdnadeem: no worries, just ping me if you have any question | 04:21 |
mdnadeem | flwang: Sure sir :) | 04:23 |
*** csoukup has joined #openstack-zaqar | 04:35 | |
*** diga has joined #openstack-zaqar | 04:47 | |
*** achanda has joined #openstack-zaqar | 05:00 | |
*** flwang1 has quit IRC | 05:04 | |
*** achanda has quit IRC | 05:09 | |
*** achanda has joined #openstack-zaqar | 05:24 | |
*** csoukup has quit IRC | 05:55 | |
*** openstackgerrit has quit IRC | 06:01 | |
*** openstackgerrit has joined #openstack-zaqar | 06:01 | |
*** khushbu_ has joined #openstack-zaqar | 08:00 | |
*** exploreshaifali has joined #openstack-zaqar | 08:09 | |
*** achanda has quit IRC | 08:12 | |
*** openstackgerrit has quit IRC | 08:16 | |
*** openstackgerrit has joined #openstack-zaqar | 08:16 | |
*** exploreshaifali has quit IRC | 08:32 | |
*** csoukup has joined #openstack-zaqar | 08:51 | |
*** csoukup has quit IRC | 08:56 | |
*** flwang1 has joined #openstack-zaqar | 09:36 | |
*** khushbu_ has quit IRC | 09:41 | |
*** Qiming has quit IRC | 10:29 | |
flwang1 | morning | 10:53 |
*** diga has quit IRC | 11:18 | |
*** Qiming has joined #openstack-zaqar | 11:26 | |
*** njohnston is now known as nate_gone | 11:37 | |
*** itisha has joined #openstack-zaqar | 12:20 | |
*** sriram has joined #openstack-zaqar | 13:00 | |
*** csoukup has joined #openstack-zaqar | 13:17 | |
*** exploreshaifali has joined #openstack-zaqar | 13:54 | |
*** achanda has joined #openstack-zaqar | 13:56 | |
*** achanda has quit IRC | 13:57 | |
*** nate_gone is now known as njohnston | 14:02 | |
*** ametts has joined #openstack-zaqar | 14:03 | |
*** davideagnello has joined #openstack-zaqar | 14:16 | |
*** david-lyle has joined #openstack-zaqar | 14:23 | |
*** ametts has quit IRC | 14:28 | |
*** david-lyle has quit IRC | 14:35 | |
*** diga has joined #openstack-zaqar | 14:39 | |
diga | flaper87: vkmc : Hi | 14:39 |
diga | hope you are doing well | 14:39 |
*** ametts has joined #openstack-zaqar | 14:41 | |
*** boris-42 has quit IRC | 14:49 | |
*** david-lyle has joined #openstack-zaqar | 15:02 | |
*** exploreshaifali has quit IRC | 15:08 | |
*** david-lyle has quit IRC | 15:18 | |
*** david-lyle has joined #openstack-zaqar | 15:20 | |
*** mpanetta has joined #openstack-zaqar | 15:28 | |
*** david-lyle has quit IRC | 15:34 | |
*** davideagnello has quit IRC | 15:42 | |
*** david-lyle has joined #openstack-zaqar | 15:44 | |
*** dynarro has joined #openstack-zaqar | 15:46 | |
*** david-lyle has quit IRC | 15:48 | |
*** dynarro has quit IRC | 16:43 | |
*** Qiming has quit IRC | 16:46 | |
*** AAzza has quit IRC | 16:47 | |
*** davideagnello has joined #openstack-zaqar | 16:48 | |
*** AAzza has joined #openstack-zaqar | 16:50 | |
*** diga has quit IRC | 17:00 | |
*** achanda has joined #openstack-zaqar | 17:11 | |
*** achanda has quit IRC | 17:39 | |
*** achanda has joined #openstack-zaqar | 17:45 | |
*** achanda has quit IRC | 18:21 | |
*** achanda has joined #openstack-zaqar | 18:35 | |
*** AAzza has quit IRC | 18:55 | |
*** AAzza has joined #openstack-zaqar | 18:57 | |
*** achanda has quit IRC | 19:09 | |
*** njohnston is now known as nate_gone | 19:49 | |
*** achanda has joined #openstack-zaqar | 20:09 | |
*** achanda has quit IRC | 20:14 | |
*** kgriffs is now known as kgriffs|afk | 20:24 | |
*** kgriffs|afk is now known as kgriffs | 20:27 | |
*** zxyf has joined #openstack-zaqar | 20:54 | |
*** mpanetta has quit IRC | 21:03 | |
*** achanda has joined #openstack-zaqar | 21:07 | |
*** openstackgerrit has quit IRC | 21:16 | |
*** openstackgerrit has joined #openstack-zaqar | 21:16 | |
*** achanda has quit IRC | 21:19 | |
*** ametts has quit IRC | 21:38 | |
*** achanda has joined #openstack-zaqar | 21:44 | |
*** openstackgerrit has quit IRC | 22:01 | |
*** openstackgerrit has joined #openstack-zaqar | 22:01 | |
*** mpanetta has joined #openstack-zaqar | 22:04 | |
*** mpanetta_ has joined #openstack-zaqar | 22:06 | |
*** mpanetta has quit IRC | 22:09 | |
*** sriram has quit IRC | 22:19 | |
*** openstack has joined #openstack-zaqar | 22:34 | |
-cameron.freenode.net- [freenode-info] channel flooding and no channel staff around to help? Please check with freenode support: http://freenode.net/faq.shtml#gettinghelp | 22:34 | |
*** mpanetta has joined #openstack-zaqar | 22:36 | |
*** mpanetta_ has quit IRC | 22:38 | |
*** mpanetta_ has joined #openstack-zaqar | 22:42 | |
*** mpanetta has quit IRC | 22:44 | |
*** openstackstatus has quit IRC | 22:47 | |
*** openstack has joined #openstack-zaqar | 22:49 | |
*** openstackstatus has joined #openstack-zaqar | 22:49 | |
*** ChanServ sets mode: +v openstackstatus | 22:49 | |
*** csoukup has quit IRC | 22:51 | |
*** kgriffs is now known as kgriffs|afk | 23:10 | |
*** kgriffs|afk is now known as kgriffs | 23:11 | |
*** boris-42 has joined #openstack-zaqar | 23:31 | |
*** sriram has joined #openstack-zaqar | 23:32 | |
*** davideagnello has quit IRC | 23:47 | |
*** achanda has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!