Wednesday, 2017-04-19

*** yanyanhu has joined #openstack-zaqar01:30
*** Kevin_Zheng has joined #openstack-zaqar01:31
*** mpanetta has quit IRC02:23
*** mpanetta has joined #openstack-zaqar02:24
*** nadya has joined #openstack-zaqar04:36
*** mpanetta_ has joined #openstack-zaqar04:55
*** mpanetta has quit IRC04:57
*** zhurong has joined #openstack-zaqar05:42
*** nadya has quit IRC05:46
*** rcernin has joined #openstack-zaqar06:08
*** pcaruana has joined #openstack-zaqar06:33
*** tesseract has joined #openstack-zaqar07:01
*** XueFeng has quit IRC07:31
*** XueFeng has joined #openstack-zaqar07:54
*** nadya has joined #openstack-zaqar08:20
*** yanyanhu has quit IRC09:54
*** nadya has quit IRC10:04
*** mpanetta_ has quit IRC10:14
*** mpanetta has joined #openstack-zaqar10:14
*** zhurong has quit IRC10:34
*** nadya has joined #openstack-zaqar10:35
*** nadya has quit IRC10:43
*** nadya has joined #openstack-zaqar10:43
*** zhurong has joined #openstack-zaqar12:31
*** zhurong has quit IRC12:45
*** nadya has quit IRC13:49
*** shu-mutou has quit IRC14:13
*** mpanetta has quit IRC14:21
*** mpanetta has joined #openstack-zaqar14:21
*** nadya has joined #openstack-zaqar14:37
*** nadya has quit IRC14:38
*** rcernin has quit IRC15:03
*** pcaruana has quit IRC15:28
*** nadya has joined #openstack-zaqar15:31
*** nadya has quit IRC15:31
*** wxy| has joined #openstack-zaqar15:41
*** tesseract has quit IRC15:59
*** wanghao has joined #openstack-zaqar16:07
*** wanghao has quit IRC16:13
*** wanghao has joined #openstack-zaqar16:23
*** wxy| has quit IRC16:25
*** wanghao has quit IRC16:38
*** wanghao has joined #openstack-zaqar16:40
*** nadya has joined #openstack-zaqar16:43
*** wanghao has quit IRC17:07
*** harlowja_ has quit IRC17:13
*** harlowja has joined #openstack-zaqar17:15
*** harlowja has quit IRC17:17
*** harlowja has joined #openstack-zaqar17:17
*** nadya has quit IRC17:49
honzaI'm having a hard time posting new messages (message_post) via the websocket transport.  Is there a document that outlines the message format?  Or examples?18:30
vkmchonza, with kind of errors are you getting?18:33
honzavkmc: All kinds as I'm trying different options.  Mostly it's 400 validation errors, and quite a few 500s (related to some GET operation that didn't succeed)18:33
vkmchonza, can you paste me how are you formatting your message?18:34
vkmchonza, http://paste.openstack.org18:34
honzavkmc: http://paste.openstack.org/show/607202/18:36
vkmchonza, and the errors you are getting18:37
honzavkmc: http://paste.openstack.org/show/607203/18:39
vkmchonza, are you sure you have Zaqar up and running? seems it cannot reach the endpoint18:45
honzavkmc: yes, other messages (auth, subscription, queue create) are working fine in the same session18:45
vkmchonza, so it's only for message_post18:46
honzayes18:46
vkmchonza, if you do a queue_get, what do you see?18:46
honzavkmc: works fine, returns 20018:48
vkmchonza, are there more logs for zaqar-server?18:49
honzavkmc: http://paste.openstack.org/show/607204/18:52
vkmchonza, that seems to come from Swift18:53
vkmcnot from Zaqar18:53
vkmcare you using Swift as a backend?18:53
honzahmmm18:55
honzaYes, I am but why is this trying to get something from Swift when I'm trying to post a message?18:57
vkmchonza, https://github.com/openstack/zaqar/blob/master/zaqar/storage/swift/messages.py#L207 it first do an exists, then tries to post the message18:59
vkmcfor some reason it's failing to perform that op18:59
vkmcthat's why I asked you to do a queue_get19:00
vkmcI don't know why doing the get works and posting the message doesn't work19:00
honzavkmc: and the message format looks like it's in the right format?19:00
vkmchonza, it does19:00
vkmcthis is the validation schema https://github.com/openstack/zaqar/blob/master/zaqar/api/v1/request.py#L242-L26019:01
honzaI have to go afk for a few hours but this is helpful.  I'll keep looking and circle back later.19:01
vkmcand your message looks correct19:01
vkmcsure, ping me and we can keep on debugging19:01
honzayep found this earlier, too19:01
honzaawesome, thank you!19:01
vkmcanytime o/19:01
flwanghonza: still around?21:15
flwanghonza: pls ping me when you're available21:15
honzaflwang: hey21:57
flwanghonza: hey there21:58
flwanghonza: as for your issue, did you try to use mongo as backend?21:58
honzaflwang: no, this is in the context of tripleo, so the choice of backend is pretty much set for now21:59
flwanghonza: ah, i see.22:00
flwangare you using pooling?22:00
therveNo22:01
thervehonza, I just noticed that queue_name is empty in your body?22:01
honzatherve: in which paste?22:02
thervehonza, http://paste.openstack.org/show/607203/22:02
therveMaybe it's not returned properly22:02
honzatherve: that may have been me "obfuscating"22:02
therveAh ok22:03
honzalet me double check22:03
honzatherve: yes, queue_name in the message body is in fact "tripleo", sorry for the confusion22:04
honzaso, in tripleo, mistral and other components post messages to the zaqar queue all the time without issues (ie swift should be configured properly)22:05
honzait's just the websocket interface that's giving me a headache22:05
thervehonza, You're using js I guess?22:07
honzatherve: yes22:07
therveUnfortunate :)22:07
honzaindeed :)22:08
therveLet me try something quickly22:10
honzasweet22:11
*** mpanetta has quit IRC22:14
thervehonza, so http://paste.openstack.org/show/607225/ seems to work for me22:15
*** mpanetta has joined #openstack-zaqar22:15
*** mpanetta has quit IRC22:15
therveI'm running a master undercloud (mostly?)22:15
*** mpanetta has joined #openstack-zaqar22:15
honzatherve: perfect, thanks22:17
honzamaybe my undercloud is foobared22:17
honzafubared22:17
honzalet me try that snippet, too22:18
honzapython script works22:19
* honza dies22:19
therveSo yeah that's weird22:21
therveMaybe we could inspect the swift logs a bit more, if you can isolate them22:22
openstackgerritFeilong Wang proposed openstack/zaqar master: Fix failure when adding swift/redis as pool  https://review.openstack.org/45343923:48

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