[PKG-Openstack-devel] Bug#830304: python-novaclient: Fails to boot against openstack nova kilo
Andrew Bartlett
abartlet+debian at catalyst.net.nz
Fri Jul 8 01:44:19 UTC 2016
Package: python-novaclient
Version: 2:3.3.1-2
Severity: important
Tags: upstream
Dear Maintainer,
* What led up to the situation?
dist-upgrade to 2:3.3.1-2
* What exactly did you do (or not do) that was effective (or
ineffective)?
nova boot
or
nova list --debug
* What was the outcome of this action?
INFO (connectionpool:735) Starting new HTTPS connection (1): api.nz-
por-1.catalystcloud.io
DEBUG (connectionpool:383) "GET /v2/416ea5f6de404f91b12e2856b2f8a80f HTTP/1.1"
404 112
DEBUG (session:277) RESP: [404] date: Fri, 08 Jul 2016 01:42:31 GMT content-
length: 112 content-type: application/json; charset=UTF-8 x-compute-request-id:
req-ddd9d376-6620-404c-9221-36599498f412
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/python2.7/dist-packages/novaclient/shell.py", line 1080, in
main
OpenStackComputeShell().main(argv)
File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 914, in
main
api_version = api_versions.discover_version(self.cs, api_version)
File "/usr/lib/python2.7/dist-packages/novaclient/api_versions.py", line 267,
in discover_version
client)
File "/usr/lib/python2.7/dist-packages/novaclient/api_versions.py", line 248,
in _get_server_version_range
version = client.versions.get_current()
File "/usr/lib/python2.7/dist-packages/novaclient/v2/versions.py", line 84,
in get_current
return self._get_current()
File "/usr/lib/python2.7/dist-packages/novaclient/v2/versions.py", line 57,
in _get_current
return self._get(url, "version")
File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 339, in _get
resp, body = self.api.client.get(url)
File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 173,
in get
return self.request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 94, in
request
raise exceptions.from_response(resp, body, url, method)
File "/usr/lib/python2.7/dist-packages/novaclient/exceptions.py", line 298,
in from_response
message = error.get('message')
AttributeError: 'unicode' object has no attribute 'get'
ERROR (AttributeError): 'unicode' object has no attribute 'get'
* What outcome did you expect instead?
A list, or a booted instance
See also https://bugs.launchpad.net/python-novaclient/+bug/1570005
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ.utf8, LC_CTYPE=en_NZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-novaclient depends on:
ii python-babel 2.3.4+dfsg.1-2
ii python-iso8601 0.1.11-1
ii python-keyring 9.1-1
ii python-keystoneauth1 2.4.1-1
ii python-oslo.i18n 3.5.0-2
ii python-oslo.serialization 2.4.0-2
ii python-oslo.utils 3.8.0-2
ii python-pbr 1.8.0-4.1
ii python-prettytable 0.7.2-3
ii python-requests 2.10.0-2
ii python-simplejson 3.8.2-2
ii python-six 1.10.0-3
pn python2.7:any <none>
pn python:any <none>
python-novaclient recommends no packages.
python-novaclient suggests no packages.
-- no debconf information
More information about the Openstack-devel
mailing list