ERROR (AttributeError): 'unicode' object has no attribute 'get'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Xenial |
Confirmed
|
Medium
|
Unassigned | ||
Yakkety |
Confirmed
|
Medium
|
Unassigned |
Bug Description
$ nova --debug list
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (extension:157) found extension EntryPoint.
DEBUG (session:248) REQ: curl -g -i -X GET https:/
INFO (connectionpool
DEBUG (connectionpool
DEBUG (session:277) RESP: [200] Date: Wed, 01 Jun 2016 15:10:50 GMT Server: Apache Vary: X-Auth-Token x-openstack-
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
DEBUG (v2:63) Making authentication request to https:/
DEBUG (connectionpool
DEBUG (session:248) REQ: curl -g -i -X GET https:/
INFO (connectionpool
DEBUG (connectionpool
DEBUG (session:277) RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 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 "/usr/lib/
OpenStackCo
File "/usr/lib/
api_version = api_versions.
File "/usr/lib/
client)
File "/usr/lib/
version = client.
File "/usr/lib/
return self._get_current()
File "/usr/lib/
return self._get(url, "version")
File "/usr/lib/
resp, body = self.api.
File "/usr/lib/
return self.request(url, 'GET', **kwargs)
File "/usr/lib/
raise exceptions.
File "/usr/lib/
message = error.get(
AttributeError: 'unicode' object has no attribute 'get'
ERROR (AttributeError): 'unicode' object has no attribute 'get'
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: python-novaclient 2:3.3.1-2
ProcVersionSign
Uname: Linux 4.4.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jun 1 11:08:06 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (314 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
PackageArchitec
SourcePackage: python-novaclient
UpgradeStatus: No upgrade log present (probably fresh install)
See the stacktrace / debug above. The same command and environment works on trusty. Fails on xenial or yakkety.