*** wanghao has joined #openstack-zaqar | 00:39 | |
wanghao | yangzhenyu: ping | 00:53 |
---|---|---|
wanghao | yangzhenyu: how is going your issue? | 00:53 |
openstackgerrit | Merged openstack/zaqar-ui master: Imported Translations from Zanata https://review.openstack.org/477803 | 01:01 |
openstackgerrit | Merged openstack/zaqar-ui master: Updated from global requirements https://review.openstack.org/478125 | 01:02 |
*** shu-mutou-AWAY is now known as shu-mutou | 02:24 | |
*** lei-zh has joined #openstack-zaqar | 02:35 | |
yangzhenyu | wanghao, I find the reason,The uwsgi need a auth token. | 03:11 |
yangzhenyu | wanghao, I follow the offcial ref doc, The uwsgi conf and pre-singed have conflicts. | 03:13 |
*** wanghao has quit IRC | 03:17 | |
*** wanghao has joined #openstack-zaqar | 03:18 | |
yangzhenyu | wanghao, ping | 03:18 |
yangzhenyu | wanghao, I find the reason,The uwsgi need a auth token. | 03:18 |
yangzhenyu | wanghao, I follow the offcial ref doc, The uwsgi conf and pre-singed have conflicts. | 03:18 |
openstackgerrit | Shu Muto proposed openstack/zaqar-ui master: Switch from oslosphinx to openstackdocstheme https://review.openstack.org/478354 | 03:21 |
*** XueFeng has quit IRC | 03:25 | |
*** wanghao has quit IRC | 03:37 | |
*** wanghao has joined #openstack-zaqar | 03:39 | |
openstackgerrit | Van Hung Pham proposed openstack/zaqar master: Switch from oslosphinx to openstackdocstheme https://review.openstack.org/478362 | 03:39 |
*** Kevin_Zheng has quit IRC | 03:59 | |
*** lei-zh has quit IRC | 04:03 | |
flwang | yangzhenyu: does that need a fix in zaqar? | 04:29 |
flwang | or it's just a config change? | 04:29 |
wanghao | flwang: yangzhenyu I will test it under uwsgi to ensure if it's a bug. | 05:39 |
*** XueFeng has joined #openstack-zaqar | 05:57 | |
yangzhenyu | flwang, wanghao https://github.com/openstack/zaqar/blob/master/install-guide/source/install-rdo.rst about zaqar_uwsgi.py , I think at least we should revise the instructions. | 06:00 |
*** rcernin has joined #openstack-zaqar | 06:02 | |
wanghao | yangzhenyu: I think now don't need the zaqar_uwsgi.py | 06:06 |
yangzhenyu | wanghao, ok I will report the bug and revise the instructions | 06:08 |
wanghao | thanks | 06:09 |
wanghao | yangzhenyu: I tested it in my ubuntu env, with the /etc/zaqar/uwsgi.conf, it works fine. | 06:27 |
wanghao | I use '/usr/local/bin/uwsgi --ini /etc/zaqar/uwsgi.conf' | 06:27 |
yangzhenyu | wanghao, ok | 06:35 |
*** wanghao has quit IRC | 07:03 | |
*** wanghao has joined #openstack-zaqar | 07:05 | |
*** tesseract has joined #openstack-zaqar | 07:08 | |
openstackgerrit | yangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions https://review.openstack.org/478409 | 07:27 |
openstackgerrit | yangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions https://review.openstack.org/478409 | 07:33 |
openstackgerrit | yangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions https://review.openstack.org/478409 | 07:36 |
therve | flwang, Around now | 07:38 |
openstackgerrit | yangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions https://review.openstack.org/478409 | 07:43 |
openstackgerrit | wanghao proposed openstack/zaqar-specs master: Support notification delivery policy https://review.openstack.org/449514 | 08:28 |
*** zengjianfang has joined #openstack-zaqar | 08:40 | |
zengjianfang | hi | 08:40 |
zengjianfang | wanghao, around? | 08:40 |
wanghao | hi | 08:41 |
zengjianfang | ask a question | 08:41 |
wanghao | yeah | 08:41 |
zengjianfang | use noauth to start zaqar | 08:42 |
zengjianfang | with wsgi mode | 08:42 |
zengjianfang | how to set the config file | 08:42 |
zengjianfang | default is auth_strategy = keystone | 08:42 |
zengjianfang | before I delete this line, it's ok | 08:44 |
zengjianfang | but now, it will fail | 08:44 |
wanghao | well, I didn't retry noauth way, let'm check it. | 08:44 |
wanghao | I think shouldn't delete it... | 08:44 |
zengjianfang | yes, before I delete this line, it can work with noauth mode | 08:45 |
zengjianfang | But today, I update my devdtack, it can't work when I delete this line | 08:45 |
wanghao | did you see this error: Error response from Zaqar. Code: 400. Title: Project-Id Missing. Description: The header X-PROJECT-ID was missing. | 08:53 |
wanghao | ? | 08:53 |
wanghao | after checking the code, if you want use noauth, you should keep the auth_strategy empty. | 08:53 |
XueFeng | auth_strategy = ? | 08:57 |
XueFeng | use this? | 08:58 |
wanghao | can delete this | 09:02 |
wanghao | I tested it, you can delete it from the conf file, default is empty | 09:03 |
wanghao | but when you call zaqar with noauth, you should take X-Project-Id in http header. | 09:03 |
wanghao | I use rest tool to test it, it works fine. | 09:04 |
wanghao | but if you use the openstackclient, it will fail. | 09:04 |
zengjianfang | i use curl, return err:HTTP/1.1 401 Unauthorized | 09:05 |
wanghao | do you use uwsgi? | 09:08 |
zengjianfang | i delete this line, but it seem no work. | 09:08 |
zengjianfang | no, i use zaqar-wsgi.service | 09:08 |
wanghao | it's a little weird, I use it too, and also master code | 09:12 |
yangzhenyu | wanghao, I fail too, when I add OS-PROJECT_ID to keystonerc_admin file, It is ok. | 09:14 |
wanghao | you need to specify the os-project-id in http header, that is zaqar needed. | 09:17 |
wanghao | could you paste your curl command? | 09:17 |
zengjianfang | curl -i -X GET http://192.168.17.71:8888/v2/queues \ -H "Content-type: application/json" \ -H "X-PROJECT-ID: 4976c10fe0c74f15975a37b39e1fbfcf" \ -H "Client-ID: de305d54-75b4-431b-adb2-eb6b9e546014" | 09:18 |
*** pcaruana has joined #openstack-zaqar | 09:28 | |
wanghao | curl -i -X GET http://192.168.1.104:8888/v2/queues -H "Content-type: application/json" -H "X-PROJECT-ID: e06c06c0851543479f23167032b6aade" -H "Client-ID: de305d54-75b4-431b-adb2-eb6b9e546014" | 09:30 |
wanghao | HTTP/1.0 200 OK | 09:30 |
wanghao | well. it also work fine in my devstack. | 09:30 |
wanghao | ps -ef | grep zaqar | 09:31 |
wanghao | what is the output | 09:31 |
wanghao | or you can just try this: /usr/bin/python /usr/local/bin/zaqar-server --config-file /etc/zaqar/zaqar.conf | 09:34 |
wanghao | to see if the config change works. | 09:35 |
*** wanghao has quit IRC | 09:35 | |
XueFeng | ps -ef|grep zaqar root 670 617 0 17:34 pts/9 00:00:00 grep --color=auto zaqar stack 27250 1 0 17:03 ? 00:00:04 /usr/local/bin/uwsgi --ini /etc/zaqar/uwsgi.conf --pidfile2 /tmp/uwsgizaqarmasterprocess.pid stack 27379 27250 0 17:04 ? 00:00:00 /usr/local/bin/uwsgi --ini /etc/zaqar/uwsgi.conf --pidfile2 /tmp/uwsgizaqarmasterprocess.pid stack 27380 27250 0 17:04 ? 00:00:00 /usr/l | 09:35 |
*** jtomasek has quit IRC | 09:52 | |
openstackgerrit | Shu Muto proposed openstack/zaqar-ui master: Switch from oslosphinx to openstackdocstheme https://review.openstack.org/478354 | 09:52 |
*** jtomasek has joined #openstack-zaqar | 09:53 | |
*** rcernin has quit IRC | 09:55 | |
*** jtomasek has quit IRC | 09:59 | |
*** jtomasek has joined #openstack-zaqar | 09:59 | |
*** rcernin has joined #openstack-zaqar | 10:03 | |
*** rcernin has quit IRC | 10:09 | |
*** rcernin has joined #openstack-zaqar | 10:11 | |
*** shu-mutou is now known as shu-mutou-AWAY | 10:24 | |
*** XueFengLiu has joined #openstack-zaqar | 10:33 | |
*** yangzhenyu has quit IRC | 10:53 | |
*** yangzhenyu has joined #openstack-zaqar | 11:02 | |
*** pcaruana has quit IRC | 12:02 | |
*** pcaruana has joined #openstack-zaqar | 12:02 | |
*** pcaruana has quit IRC | 12:16 | |
*** pcaruana has joined #openstack-zaqar | 12:23 | |
*** pcaruana has quit IRC | 12:23 | |
*** pcaruana has joined #openstack-zaqar | 12:23 | |
*** pcaruana has quit IRC | 12:29 | |
*** pcaruana has joined #openstack-zaqar | 12:37 | |
*** pcaruana has quit IRC | 12:43 | |
*** pcaruana has joined #openstack-zaqar | 12:44 | |
*** pcaruana has quit IRC | 12:53 | |
*** pcaruana has joined #openstack-zaqar | 13:05 | |
*** pcaruana has quit IRC | 13:13 | |
*** pcaruana has joined #openstack-zaqar | 13:14 | |
*** zhurong_ has joined #openstack-zaqar | 13:38 | |
*** pcaruana has quit IRC | 13:40 | |
*** pcaruana has joined #openstack-zaqar | 13:46 | |
*** zhurong_ has quit IRC | 15:03 | |
*** rcernin has quit IRC | 15:06 | |
*** tesseract has quit IRC | 19:13 | |
*** pcaruana has quit IRC | 21:01 | |
openstackgerrit | Merged openstack/zaqar master: Allow configuration of websocket notification https://review.openstack.org/476827 | 21:21 |
*** david_cu has joined #openstack-zaqar | 22:09 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!