| *** yanyanhu has joined #openstack-zaqar | 01:30 | |
| *** Kevin_Zheng has joined #openstack-zaqar | 01:31 | |
| *** mpanetta has quit IRC | 02:23 | |
| *** mpanetta has joined #openstack-zaqar | 02:24 | |
| *** nadya has joined #openstack-zaqar | 04:36 | |
| *** mpanetta_ has joined #openstack-zaqar | 04:55 | |
| *** mpanetta has quit IRC | 04:57 | |
| *** zhurong has joined #openstack-zaqar | 05:42 | |
| *** nadya has quit IRC | 05:46 | |
| *** rcernin has joined #openstack-zaqar | 06:08 | |
| *** pcaruana has joined #openstack-zaqar | 06:33 | |
| *** tesseract has joined #openstack-zaqar | 07:01 | |
| *** XueFeng has quit IRC | 07:31 | |
| *** XueFeng has joined #openstack-zaqar | 07:54 | |
| *** nadya has joined #openstack-zaqar | 08:20 | |
| *** yanyanhu has quit IRC | 09:54 | |
| *** nadya has quit IRC | 10:04 | |
| *** mpanetta_ has quit IRC | 10:14 | |
| *** mpanetta has joined #openstack-zaqar | 10:14 | |
| *** zhurong has quit IRC | 10:34 | |
| *** nadya has joined #openstack-zaqar | 10:35 | |
| *** nadya has quit IRC | 10:43 | |
| *** nadya has joined #openstack-zaqar | 10:43 | |
| *** zhurong has joined #openstack-zaqar | 12:31 | |
| *** zhurong has quit IRC | 12:45 | |
| *** nadya has quit IRC | 13:49 | |
| *** shu-mutou has quit IRC | 14:13 | |
| *** mpanetta has quit IRC | 14:21 | |
| *** mpanetta has joined #openstack-zaqar | 14:21 | |
| *** nadya has joined #openstack-zaqar | 14:37 | |
| *** nadya has quit IRC | 14:38 | |
| *** rcernin has quit IRC | 15:03 | |
| *** pcaruana has quit IRC | 15:28 | |
| *** nadya has joined #openstack-zaqar | 15:31 | |
| *** nadya has quit IRC | 15:31 | |
| *** wxy| has joined #openstack-zaqar | 15:41 | |
| *** tesseract has quit IRC | 15:59 | |
| *** wanghao has joined #openstack-zaqar | 16:07 | |
| *** wanghao has quit IRC | 16:13 | |
| *** wanghao has joined #openstack-zaqar | 16:23 | |
| *** wxy| has quit IRC | 16:25 | |
| *** wanghao has quit IRC | 16:38 | |
| *** wanghao has joined #openstack-zaqar | 16:40 | |
| *** nadya has joined #openstack-zaqar | 16:43 | |
| *** wanghao has quit IRC | 17:07 | |
| *** harlowja_ has quit IRC | 17:13 | |
| *** harlowja has joined #openstack-zaqar | 17:15 | |
| *** harlowja has quit IRC | 17:17 | |
| *** harlowja has joined #openstack-zaqar | 17:17 | |
| *** nadya has quit IRC | 17:49 | |
| honza | I'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 |
|---|---|---|
| vkmc | honza, with kind of errors are you getting? | 18:33 |
| honza | vkmc: 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 |
| vkmc | honza, can you paste me how are you formatting your message? | 18:34 |
| vkmc | honza, http://paste.openstack.org | 18:34 |
| honza | vkmc: http://paste.openstack.org/show/607202/ | 18:36 |
| vkmc | honza, and the errors you are getting | 18:37 |
| honza | vkmc: http://paste.openstack.org/show/607203/ | 18:39 |
| vkmc | honza, are you sure you have Zaqar up and running? seems it cannot reach the endpoint | 18:45 |
| honza | vkmc: yes, other messages (auth, subscription, queue create) are working fine in the same session | 18:45 |
| vkmc | honza, so it's only for message_post | 18:46 |
| honza | yes | 18:46 |
| vkmc | honza, if you do a queue_get, what do you see? | 18:46 |
| honza | vkmc: works fine, returns 200 | 18:48 |
| vkmc | honza, are there more logs for zaqar-server? | 18:49 |
| honza | vkmc: http://paste.openstack.org/show/607204/ | 18:52 |
| vkmc | honza, that seems to come from Swift | 18:53 |
| vkmc | not from Zaqar | 18:53 |
| vkmc | are you using Swift as a backend? | 18:53 |
| honza | hmmm | 18:55 |
| honza | Yes, I am but why is this trying to get something from Swift when I'm trying to post a message? | 18:57 |
| vkmc | honza, https://github.com/openstack/zaqar/blob/master/zaqar/storage/swift/messages.py#L207 it first do an exists, then tries to post the message | 18:59 |
| vkmc | for some reason it's failing to perform that op | 18:59 |
| vkmc | that's why I asked you to do a queue_get | 19:00 |
| vkmc | I don't know why doing the get works and posting the message doesn't work | 19:00 |
| honza | vkmc: and the message format looks like it's in the right format? | 19:00 |
| vkmc | honza, it does | 19:00 |
| vkmc | this is the validation schema https://github.com/openstack/zaqar/blob/master/zaqar/api/v1/request.py#L242-L260 | 19:01 |
| honza | I have to go afk for a few hours but this is helpful. I'll keep looking and circle back later. | 19:01 |
| vkmc | and your message looks correct | 19:01 |
| vkmc | sure, ping me and we can keep on debugging | 19:01 |
| honza | yep found this earlier, too | 19:01 |
| honza | awesome, thank you! | 19:01 |
| vkmc | anytime o/ | 19:01 |
| flwang | honza: still around? | 21:15 |
| flwang | honza: pls ping me when you're available | 21:15 |
| honza | flwang: hey | 21:57 |
| flwang | honza: hey there | 21:58 |
| flwang | honza: as for your issue, did you try to use mongo as backend? | 21:58 |
| honza | flwang: no, this is in the context of tripleo, so the choice of backend is pretty much set for now | 21:59 |
| flwang | honza: ah, i see. | 22:00 |
| flwang | are you using pooling? | 22:00 |
| therve | No | 22:01 |
| therve | honza, I just noticed that queue_name is empty in your body? | 22:01 |
| honza | therve: in which paste? | 22:02 |
| therve | honza, http://paste.openstack.org/show/607203/ | 22:02 |
| therve | Maybe it's not returned properly | 22:02 |
| honza | therve: that may have been me "obfuscating" | 22:02 |
| therve | Ah ok | 22:03 |
| honza | let me double check | 22:03 |
| honza | therve: yes, queue_name in the message body is in fact "tripleo", sorry for the confusion | 22:04 |
| honza | so, 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 |
| honza | it's just the websocket interface that's giving me a headache | 22:05 |
| therve | honza, You're using js I guess? | 22:07 |
| honza | therve: yes | 22:07 |
| therve | Unfortunate :) | 22:07 |
| honza | indeed :) | 22:08 |
| therve | Let me try something quickly | 22:10 |
| honza | sweet | 22:11 |
| *** mpanetta has quit IRC | 22:14 | |
| therve | honza, so http://paste.openstack.org/show/607225/ seems to work for me | 22:15 |
| *** mpanetta has joined #openstack-zaqar | 22:15 | |
| *** mpanetta has quit IRC | 22:15 | |
| therve | I'm running a master undercloud (mostly?) | 22:15 |
| *** mpanetta has joined #openstack-zaqar | 22:15 | |
| honza | therve: perfect, thanks | 22:17 |
| honza | maybe my undercloud is foobared | 22:17 |
| honza | fubared | 22:17 |
| honza | let me try that snippet, too | 22:18 |
| honza | python script works | 22:19 |
| * honza dies | 22:19 | |
| therve | So yeah that's weird | 22:21 |
| therve | Maybe we could inspect the swift logs a bit more, if you can isolate them | 22:22 |
| openstackgerrit | Feilong Wang proposed openstack/zaqar master: Fix failure when adding swift/redis as pool https://review.openstack.org/453439 | 23:48 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!