Wednesday, 2017-06-28

*** wanghao has joined #openstack-zaqar00:39
wanghaoyangzhenyu: ping00:53
wanghaoyangzhenyu: how is going your issue?00:53
openstackgerritMerged openstack/zaqar-ui master: Imported Translations from Zanata  https://review.openstack.org/47780301:01
openstackgerritMerged openstack/zaqar-ui master: Updated from global requirements  https://review.openstack.org/47812501:02
*** shu-mutou-AWAY is now known as shu-mutou02:24
*** lei-zh has joined #openstack-zaqar02:35
yangzhenyuwanghao, I find the reason,The uwsgi need a auth token.03:11
yangzhenyuwanghao, I follow the offcial ref doc, The uwsgi conf and pre-singed have conflicts.03:13
*** wanghao has quit IRC03:17
*** wanghao has joined #openstack-zaqar03:18
yangzhenyuwanghao, ping03:18
yangzhenyuwanghao, I find the reason,The uwsgi need a auth token.03:18
yangzhenyuwanghao, I follow the offcial ref doc, The uwsgi conf and pre-singed have conflicts.03:18
openstackgerritShu Muto proposed openstack/zaqar-ui master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47835403:21
*** XueFeng has quit IRC03:25
*** wanghao has quit IRC03:37
*** wanghao has joined #openstack-zaqar03:39
openstackgerritVan Hung Pham proposed openstack/zaqar master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47836203:39
*** Kevin_Zheng has quit IRC03:59
*** lei-zh has quit IRC04:03
flwangyangzhenyu: does that need a fix in zaqar?04:29
flwangor it's just a config change?04:29
wanghaoflwang: yangzhenyu I will test it under uwsgi to ensure if it's a bug.05:39
*** XueFeng has joined #openstack-zaqar05:57
yangzhenyuflwang, 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-zaqar06:02
wanghaoyangzhenyu: I think now don't need the zaqar_uwsgi.py06:06
yangzhenyuwanghao, ok I will report the bug and revise the instructions06:08
wanghaothanks06:09
wanghaoyangzhenyu: I tested it in my ubuntu env, with the /etc/zaqar/uwsgi.conf,  it works fine.06:27
wanghaoI use '/usr/local/bin/uwsgi --ini /etc/zaqar/uwsgi.conf'06:27
yangzhenyuwanghao, ok06:35
*** wanghao has quit IRC07:03
*** wanghao has joined #openstack-zaqar07:05
*** tesseract has joined #openstack-zaqar07:08
openstackgerrityangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions  https://review.openstack.org/47840907:27
openstackgerrityangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions  https://review.openstack.org/47840907:33
openstackgerrityangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions  https://review.openstack.org/47840907:36
therveflwang, Around now07:38
openstackgerrityangzhenyu proposed openstack/zaqar master: revise uwsgi deployment instructions  https://review.openstack.org/47840907:43
openstackgerritwanghao proposed openstack/zaqar-specs master: Support notification delivery policy  https://review.openstack.org/44951408:28
*** zengjianfang has joined #openstack-zaqar08:40
zengjianfanghi08:40
zengjianfangwanghao,  around?08:40
wanghaohi08:41
zengjianfangask a question08:41
wanghaoyeah08:41
zengjianfanguse noauth to start zaqar08:42
zengjianfangwith wsgi mode08:42
zengjianfanghow to set the config file08:42
zengjianfangdefault is auth_strategy = keystone08:42
zengjianfangbefore I delete this line, it's ok08:44
zengjianfangbut now, it will fail08:44
wanghaowell, I didn't retry noauth way, let'm check it.08:44
wanghaoI think shouldn't delete it...08:44
zengjianfangyes, before I delete this line, it can work with noauth mode08:45
zengjianfangBut today, I update my devdtack, it can't work when I delete this line08:45
wanghaodid 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
wanghaoafter checking the code,  if you want use noauth, you should keep the auth_strategy empty.08:53
XueFengauth_strategy = ?08:57
XueFenguse this?08:58
wanghaocan delete this09:02
wanghaoI tested it,  you can delete it from the conf file,  default is empty09:03
wanghaobut when you call zaqar with noauth,  you should take X-Project-Id in http header.09:03
wanghaoI use rest tool to test it,  it works fine.09:04
wanghaobut if you use the openstackclient,  it will fail.09:04
zengjianfangi use curl, return err:HTTP/1.1 401 Unauthorized09:05
wanghaodo you use uwsgi?09:08
zengjianfangi delete this line, but it seem no work.09:08
zengjianfangno, i use zaqar-wsgi.service09:08
wanghaoit's a little weird, I use it too,  and also master code09:12
yangzhenyuwanghao, I fail too, when I add OS-PROJECT_ID to keystonerc_admin file, It is ok.09:14
wanghaoyou need to specify the os-project-id in http header, that is zaqar needed.09:17
wanghaocould you paste your curl command?09:17
zengjianfangcurl -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-zaqar09:28
wanghaocurl -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
wanghaoHTTP/1.0 200 OK09:30
wanghaowell.  it also work fine in my devstack.09:30
wanghaops -ef | grep zaqar09:31
wanghaowhat is the output09:31
wanghaoor you can just try this: /usr/bin/python /usr/local/bin/zaqar-server --config-file /etc/zaqar/zaqar.conf09:34
wanghaoto see if the config change works.09:35
*** wanghao has quit IRC09:35
XueFengps -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/l09:35
*** jtomasek has quit IRC09:52
openstackgerritShu Muto proposed openstack/zaqar-ui master: Switch from oslosphinx to openstackdocstheme  https://review.openstack.org/47835409:52
*** jtomasek has joined #openstack-zaqar09:53
*** rcernin has quit IRC09:55
*** jtomasek has quit IRC09:59
*** jtomasek has joined #openstack-zaqar09:59
*** rcernin has joined #openstack-zaqar10:03
*** rcernin has quit IRC10:09
*** rcernin has joined #openstack-zaqar10:11
*** shu-mutou is now known as shu-mutou-AWAY10:24
*** XueFengLiu has joined #openstack-zaqar10:33
*** yangzhenyu has quit IRC10:53
*** yangzhenyu has joined #openstack-zaqar11:02
*** pcaruana has quit IRC12:02
*** pcaruana has joined #openstack-zaqar12:02
*** pcaruana has quit IRC12:16
*** pcaruana has joined #openstack-zaqar12:23
*** pcaruana has quit IRC12:23
*** pcaruana has joined #openstack-zaqar12:23
*** pcaruana has quit IRC12:29
*** pcaruana has joined #openstack-zaqar12:37
*** pcaruana has quit IRC12:43
*** pcaruana has joined #openstack-zaqar12:44
*** pcaruana has quit IRC12:53
*** pcaruana has joined #openstack-zaqar13:05
*** pcaruana has quit IRC13:13
*** pcaruana has joined #openstack-zaqar13:14
*** zhurong_ has joined #openstack-zaqar13:38
*** pcaruana has quit IRC13:40
*** pcaruana has joined #openstack-zaqar13:46
*** zhurong_ has quit IRC15:03
*** rcernin has quit IRC15:06
*** tesseract has quit IRC19:13
*** pcaruana has quit IRC21:01
openstackgerritMerged openstack/zaqar master: Allow configuration of websocket notification  https://review.openstack.org/47682721:21
*** david_cu has joined #openstack-zaqar22:09

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