So given the error debug above, the body is this:
{"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}
If you take that python-novaclient code, you get:
error = body[list(body)[0]]
>>> body[list(body)[0]] 'The resource could not be found.<br /><br />\n\n\n'
So error is going to be a str rather than a dict. I'm not sure what this was before.
So given the error debug above, the body is this:
{"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}
If you take that python-novaclient code, you get:
error = body[list(body)[0]]
>>> body[list(body)[0]]
'The resource could not be found.<br /><br />\n\n\n'
So error is going to be a str rather than a dict. I'm not sure what this was before.