AttributeError: 'unicode' object has no attribute 'get'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
New
|
Undecided
|
Unassigned |
Bug Description
novaclient 3.3.1 (stable/mitaka) fails vs nova==12.0.3.dev287 (liberty). As I understand it, new versions should be back-compatible. Do we need a fix to stable/mitaka? novaclient 3.4.0 works OK.
$ nova list --debug
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (extension:156) found extension EntryPoint.
DEBUG (session:248) REQ: curl -g -i --cacert "/etc/ssl/
INFO (connectionpool
DEBUG (connectionpool
DEBUG (session:277) RESP: [200] Content-Length: 253 Vary: X-Auth-Token Server: Apache/2.4.10 (Debian) Date: Wed, 13 Apr 2016 16:24:35 GMT Content-Type: application/json x-openstack-
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-
DEBUG (base:165) Making authentication request to https:/
DEBUG (connectionpool
DEBUG (base:170) {"token": {"methods": ["password"], "roles": [{"id": "af8b746d7f7747
DEBUG (session:248) REQ: curl -g -i --cacert "/etc/ssl/
INFO (connectionpool
DEBUG (connectionpool
DEBUG (session:277) RESP: [404] Date: Wed, 13 Apr 2016 16:24:36 GMT Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 112 X-Compute-
RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}
DEBUG (shell:1082) 'unicode' object has no attribute 'get'
Traceback (most recent call last):
File "/home/
OpenStackCo
File "/home/
api_version = api_versions.
File "/home/
client)
File "/home/
version = client.
File "/home/
return self._get_current()
File "/home/
return self._get(url, "version")
File "/home/
resp, body = self.api.
File "/home/
return self.request(url, 'GET', **kwargs)
File "/home/
raise exceptions.
File "/home/
message = error.get(
AttributeError: 'unicode' object has no attribute 'get'
ERROR (AttributeError): 'unicode' object has no attribute 'get'
Generally people can roll forward to obtain bug fixes in novaclient, however if a backport to stable is desired, you can propose one.