Ask Your Question
0

Zaqar cli/curl Issue

asked 2015-12-29 03:49:17 -0500

Neerja Narayan gravatar image

updated 2016-01-11 03:25:22 -0500

Bipin gravatar image

Hey I am currently working on Devstack liberty release.

I have added the following to my localrc file,

enable_plugin zaqar https://github.com/openstack/zaqar

keystone service-list 

|                id                |       name      |         type        |            description            |

| 11c3ee58a7334ced823166954695fac3 |      cinder     |        volume       |       Cinder Volume Service       |
| 5a75519d5cfa414da7df7ab464bf4e3c |     cinderv2    |       volumev2      |      Cinder Volume Service V2     |
| 7acc86160a4c481aa8ca31fd783d6a55 |       ec2       |         ec2         |      EC2 Compatibility Layer      |
| 47a4afd104544e8cb4304b0df50e7bf4 |      glance     |        image        |        Glance Image Service       |
| 8751be7950b14c0d978db50bd1cf727e |     keystone    |       identity      |     Keystone Identity Service     |
| 572abe022de34422ae35eb119caa18af |     neutron     |       network       |          Neutron Service          |
| b8c13cce28564827838971e915b406d7 |       nova      |       compute       |        Nova Compute Service       |
| 8042ca1cafaf4d62afbb5cafe9da7bd4 |   nova_legacy   |    compute_legacy   | Nova Compute Service (Legacy 2.0) |
| 5d88d2d7cfff4e888b044afd0749e3ad |      zaqar      |      messaging      |           Zaqar Service           |
| 6a9dc6ce72954964bea4a54f4e20ab54 | zaqar-websocket | messaging-websocket |      Zaqar Websocket Service      |



openstack  queue create  sample123

+-------+-----------+

| Field | Value     |

+-------+-----------+

| Name  | sample123 |

+-------+-----------+

 openstack queue list

Gives me no output.

Similarly while using the curl command,

Using the PUT function,

curl -i -X PUT http://10.20.33.6:8888/v1/queues/sample -H "X-Auth-Token: 43b746c69bf94a7881749fdeb6aa8a6d" -H "Content-type: application/json" -d '{"metadata": "My Queue"}'
HTTP/1.1 201 Created
content-length: 0
location: http://10.20.33.6:8888/v1/queues/sample

Using the GET function,

curl -i -X GET http://10.20.33.6:8888/v1/queues -H "X-Auth-Token: 43b746c69bf94a7881749fdeb6aa8a6d"

HTTP/1.1 204 No Content

How do i fix this issue? Is it a bug in Zaqar?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-01-09 07:16:43 -0500

ubershy gravatar image

It was a bug in Zaqar client and now it's fixed in master branch. See https://bugs.launchpad.net/python-zaqarclient/+bug/1517812 (https://bugs.launchpad.net/python-zaq...)

edit flag offensive delete link more
0

answered 2016-01-12 00:20:04 -0500

Neerja Narayan gravatar image

updated 2016-01-12 00:26:25 -0500

Hi the patch set doesn't work for me. I'm still not getting any output for queue list. Any workaround?

edit flag offensive delete link more

Comments

Seems like you're experiencing a recently noticed bug in Zaqar: https://bugs.launchpad.net/zaqar/+bug....

Yes, there is a workaround. Open zaqar.conf and ensure that these options are set to False:

[DEFAULT]

pooling = False

[pooling:catalog]

enable_virtual_pool = False

ubershy gravatar imageubershy ( 2016-01-15 22:18:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-29 03:21:58 -0500

Seen: 133 times

Last updated: Jan 12 '16