Friday, 2015-09-25

*** achanda has quit IRC00:38
*** david-lyle has quit IRC01:01
*** mpanetta_ has quit IRC01:16
*** kgriffs is now known as kgriffs|afk01:30
*** kgriffs|afk is now known as kgriffs01:30
*** achanda has joined #openstack-zaqar01:31
*** itisha has quit IRC01:43
*** Qiming has joined #openstack-zaqar01:44
flwangmdnadeem: i think the flavor doesn't work02:06
flwanganything i should know?02:06
mdnadeemflwang: i too face the same error as mentioned in https://bugs.launchpad.net/python-zaqarclient/+bug/149173802:13
openstackLaunchpad bug 1491738 in Python client library for Zaqar "zaqarclient token authorization failing at zaqar-server" [Undecided,New]02:13
flwangmdnadeem: can you show me your zaqar conf?02:16
flwangi think it's caused by the conf of keystone_authtoken02:17
mdnadeemflawng: Please find it : http://paste.openstack.org/show/473978/02:18
flwang1mdnadeem: can you try this http://paste.openstack.org/show/473979/ ?02:22
mdnadeemflawng1: Sure. I ll update you in a minute02:23
flwang1cool02:28
mdnadeemflwang1: Got same Error , Please have a look : http://paste.openstack.org/show/473980/02:30
flwang1mdnadeem: can you reproduce this with a http client?02:31
flwang1i mean a http client plugin in browser02:32
mdnadeemflwang1: 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
mdnadeemflawng1: did you mean by dashboard?02:41
flwang1mdnadeem: do you have chrome installed?02:42
mdnadeemflwang1: yes02:42
flwang1mdnadeem: https://chrome.google.com/webstore/detail/dhc-resthttp-api-client/aejoelaoggembcahagimdiliamlcdmfm02:43
flwang1mdnadeem: any lucky?02:52
flwang1after installed, you just need to set the token to talk to zaqar02:53
mdnadeemflawng1: 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
mdnadeemflawng1: ohhh, i am doing some thing wrong, it chrome Request out put: " No response. Is the certificate valid? Click here to check."02:56
flwang1why run command?02:59
flwang1you need to use the DHC add on02:59
mdnadeemflawng1: Thanks got it, the error reproduce it shows Response: 401 Unauthorized03:04
mdnadeemflwang1: while debugging code: I find  zaqarclient/auth/__init__.py  ----> get_backend() is used "noauth" Option, I think it should be "keystone"03:10
flwang1mdnadeem: but03:10
mdnadeemflwang1: yes03:11
flwang1did you mean you got 401 even with the DHC addon?03:11
mdnadeemflwang1: yes sir :)03:11
flwang1so it's not related to zaqar client03:12
flwang1it's related to your zaqar conf03:12
mdnadeemflwang1: DHC is at the end use same curl command rt?03:12
flwang1yep03:12
flwang1it will send a HTTP request to talk with rest api of zaqar directly03:13
flwang1instead of via zaqar client03:13
flwang1let me review your zaqar conf again, wait a min03:13
flwangbtw, can you see any error from the zaqar log?03:14
mdnadeemflwang1: let me check03:15
flwangmdnadeem: ah03:15
flwangyou're using websocket?03:15
flwangmdnadeem: i think we only support wsgi/http for now03:17
flwangmdnadeem: i will submit a patch to make wsgi as the default transport protocol03:18
flwangjust checked, you have to set the service you want to run03:21
flwangcan you show me your localrc file of devstack?03:21
mdnadeemflwang: sure, wait a moment03:23
mdnadeemflwang: please find local.conf file http://paste.openstack.org/show/473983/03:27
flwangmdnadeem: can you run   'ps -ef | grep zaqar'03:28
mdnadeemflwang: here is the output of ^^ command : http://paste.openstack.org/show/473984/03:31
flwangcool, to double confirm, pls run 'netstat -anop | grep 8888'03:32
mdnadeemstack@vm2:/opt/stack/python-zaqarclient$ sudo netstat -anop | grep 888803:33
mdnadeemtcp        0      0 10.0.2.15:8888          0.0.0.0:*               LISTEN      10548/uwsgi      off (0.00/0/0)03:33
flwangawesome03:33
flwangso can you open the DHC panel?03:34
mdnadeemflwang: yes already open03:34
flwanginput 10.0.2.15:8888/v2/queues   use GET method03:35
flwangand for the headers, add X-AUTH-TOKEN <your token>03:35
flwangthen you should be able to talk with zaqar03:36
mdnadeemjust need to confirm, <your token > should replaced by the id of the token generated by "keystone token-get" command03:37
mdnadeem?03:37
flwangyes :)03:38
mdnadeemflwang: cool.Great its work: 200 OK03:39
mdnadeem:(03:39
flwang03:39
flwangyou're not happy?03:39
mdnadeemflwang: there is a prob, i have just created a queue successfully, however when do queue list , it shows me empty03:42
flwangdifferent tenant?03:43
mdnadeemflwang: i am not mentioned any tenant name , i think it took default one "admin"03:44
mdnadeemflwang: for creation using "10.0.2.15:8888/v2/queues/myqueue" and PUT method03:46
flwangit's using the tenant which you're using to get the token03:46
flwangmdnadeem: yep, you can create a new queue and list it to see what happened03:47
mdnadeemflwang: yes i got the tenent id, so while listing am i supposed to supply this id?03:47
flwangmdnadeem: nope03:49
flwangyou don't have to provide the tenant id03:49
mdnadeemflwang: It dont list created queue03:51
*** achanda has quit IRC03:54
flwangmdnadeem: you mean you can't list the queue you just created?03:58
mdnadeemflwang: yes sir03:59
flwangand there is no error when you create it?03:59
flwangit's weird03:59
mdnadeemit shows "queues":[],"links":[]} in body03:59
flwangmdnadeem: can you see the queue in mongodb://localhost:27017/zaqar_mgmt ?04:01
mdnadeemflwang: let me check04:02
mdnadeemflwang: it shows in DB but list does not return04:14
mdnadeemflwang: let me debug the list API and i will let you know soon04:14
flwangmdnadeem: cool04:16
flwangit maybe related to pooling04:16
mdnadeemflwang: Thanks a lot flwang, I ll try to debug the code and update you soon :)04:18
flwangmdnadeem: no worries, just ping me if you have any question04:21
mdnadeemflwang: Sure sir :)04:23
*** csoukup has joined #openstack-zaqar04:35
*** diga has joined #openstack-zaqar04:47
*** achanda has joined #openstack-zaqar05:00
*** flwang1 has quit IRC05:04
*** achanda has quit IRC05:09
*** achanda has joined #openstack-zaqar05:24
*** csoukup has quit IRC05:55
*** openstackgerrit has quit IRC06:01
*** openstackgerrit has joined #openstack-zaqar06:01
*** khushbu_ has joined #openstack-zaqar08:00
*** exploreshaifali has joined #openstack-zaqar08:09
*** achanda has quit IRC08:12
*** openstackgerrit has quit IRC08:16
*** openstackgerrit has joined #openstack-zaqar08:16
*** exploreshaifali has quit IRC08:32
*** csoukup has joined #openstack-zaqar08:51
*** csoukup has quit IRC08:56
*** flwang1 has joined #openstack-zaqar09:36
*** khushbu_ has quit IRC09:41
*** Qiming has quit IRC10:29
flwang1morning10:53
*** diga has quit IRC11:18
*** Qiming has joined #openstack-zaqar11:26
*** njohnston is now known as nate_gone11:37
*** itisha has joined #openstack-zaqar12:20
*** sriram has joined #openstack-zaqar13:00
*** csoukup has joined #openstack-zaqar13:17
*** exploreshaifali has joined #openstack-zaqar13:54
*** achanda has joined #openstack-zaqar13:56
*** achanda has quit IRC13:57
*** nate_gone is now known as njohnston14:02
*** ametts has joined #openstack-zaqar14:03
*** davideagnello has joined #openstack-zaqar14:16
*** david-lyle has joined #openstack-zaqar14:23
*** ametts has quit IRC14:28
*** david-lyle has quit IRC14:35
*** diga has joined #openstack-zaqar14:39
digaflaper87: vkmc : Hi14:39
digahope you are doing well14:39
*** ametts has joined #openstack-zaqar14:41
*** boris-42 has quit IRC14:49
*** david-lyle has joined #openstack-zaqar15:02
*** exploreshaifali has quit IRC15:08
*** david-lyle has quit IRC15:18
*** david-lyle has joined #openstack-zaqar15:20
*** mpanetta has joined #openstack-zaqar15:28
*** david-lyle has quit IRC15:34
*** davideagnello has quit IRC15:42
*** david-lyle has joined #openstack-zaqar15:44
*** dynarro has joined #openstack-zaqar15:46
*** david-lyle has quit IRC15:48
*** dynarro has quit IRC16:43
*** Qiming has quit IRC16:46
*** AAzza has quit IRC16:47
*** davideagnello has joined #openstack-zaqar16:48
*** AAzza has joined #openstack-zaqar16:50
*** diga has quit IRC17:00
*** achanda has joined #openstack-zaqar17:11
*** achanda has quit IRC17:39
*** achanda has joined #openstack-zaqar17:45
*** achanda has quit IRC18:21
*** achanda has joined #openstack-zaqar18:35
*** AAzza has quit IRC18:55
*** AAzza has joined #openstack-zaqar18:57
*** achanda has quit IRC19:09
*** njohnston is now known as nate_gone19:49
*** achanda has joined #openstack-zaqar20:09
*** achanda has quit IRC20:14
*** kgriffs is now known as kgriffs|afk20:24
*** kgriffs|afk is now known as kgriffs20:27
*** zxyf has joined #openstack-zaqar20:54
*** mpanetta has quit IRC21:03
*** achanda has joined #openstack-zaqar21:07
*** openstackgerrit has quit IRC21:16
*** openstackgerrit has joined #openstack-zaqar21:16
*** achanda has quit IRC21:19
*** ametts has quit IRC21:38
*** achanda has joined #openstack-zaqar21:44
*** openstackgerrit has quit IRC22:01
*** openstackgerrit has joined #openstack-zaqar22:01
*** mpanetta has joined #openstack-zaqar22:04
*** mpanetta_ has joined #openstack-zaqar22:06
*** mpanetta has quit IRC22:09
*** sriram has quit IRC22:19
*** openstack has joined #openstack-zaqar22: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#gettinghelp22:34
*** mpanetta has joined #openstack-zaqar22:36
*** mpanetta_ has quit IRC22:38
*** mpanetta_ has joined #openstack-zaqar22:42
*** mpanetta has quit IRC22:44
*** openstackstatus has quit IRC22:47
*** openstack has joined #openstack-zaqar22:49
*** openstackstatus has joined #openstack-zaqar22:49
*** ChanServ sets mode: +v openstackstatus22:49
*** csoukup has quit IRC22:51
*** kgriffs is now known as kgriffs|afk23:10
*** kgriffs|afk is now known as kgriffs23:11
*** boris-42 has joined #openstack-zaqar23:31
*** sriram has joined #openstack-zaqar23:32
*** davideagnello has quit IRC23:47
*** achanda has quit IRC23:55

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