AttributeError: 'unicode' object has no attribute 'get'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I'm getting this when running
openstack flavor list
and many other commands. Running with --debug, I see:
Making authentication request to http://
"POST /v3/auth/tokens HTTP/1.1" 201 11701
run(Namespace
Instantiating compute client for VAPI Version Major: 2, Minor: 0
Making authentication request to http://
"POST /v3/auth/tokens HTTP/1.1" 201 11701
REQ: curl -g -i -X GET http://
Starting new HTTP connection (1): 10.0.4.1
"GET /v2/1857a7b08b8
RESP: [503] Content-Length: 170 Content-Type: application/json; charset=UTF-8 X-Compute-
RESP BODY: {"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\n\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}
So it would be "nice" (!!) if it could actually SAY that - that it can't connect to the service! Not just some descriptive Python code error.
description: | updated |
Hi Turbo, I'm a little confused. Are you reporting a bug for the issue that is triggering the "unicode object has no attribute get" error or are you simply saying that that error itself is a bug and should be more descriptive? Either way, please provide detailed steps to reproduce this error so we can help you debug.