You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although not listed in the sample, queues.list() dies without claim_id being set; which seems a bit of an odd requirement just to list queues as it's not a message related operation.
→ python ./list_queues.py
Traceback (most recent call last):
File "./list_queues.py", line 27, in <module>
queues = pq.list()
File "/Library/Python/2.7/site-packages/pyrax/client.py", line 87, in list
return self._manager.list(limit=limit, marker=marker)
File "/Library/Python/2.7/site-packages/pyrax/manager.py", line 80, in list
return self._list(uri, return_raw=return_raw)
File "/Library/Python/2.7/site-packages/pyrax/queueing.py", line 76, in _list
body=None, return_raw=return_raw)
File "/Library/Python/2.7/site-packages/pyrax/manager.py", line 142, in _list
resp, resp_body = self.api.method_get(uri)
File "/Library/Python/2.7/site-packages/pyrax/client.py", line 283, in method_get
return self._api_request(uri, "GET", **kwargs)
File "/Library/Python/2.7/site-packages/pyrax/client.py", line 264, in _api_request
resp, body = self._time_request(safe_uri, method, **kwargs)
File "/Library/Python/2.7/site-packages/pyrax/client.py", line 225, in _time_request
resp, body = self.request(uri, method, **kwargs)
File "/Library/Python/2.7/site-packages/pyrax/client.py", line 205, in request
self._add_custom_headers(kwargs["headers"])
File "/Library/Python/2.7/site-packages/pyrax/queueing.py", line 515, in _add_custom_headers
raise exc.QueueClientIDNotDefined("You must supply a client ID to "
pyrax.exceptions.QueueClientIDNotDefined: You must supply a client ID to work with Queues.
The text was updated successfully, but these errors were encountered:
Although not listed in the sample, queues.list() dies without claim_id being set; which seems a bit of an odd requirement just to list queues as it's not a message related operation.
https://github.com/rackspace/pyrax/blob/master/samples/queueing/list_queues.py
http://docs.rackspace.com/queues/api/v1.0/cq-devguide/content/commonHeaders.html
The text was updated successfully, but these errors were encountered: