python-novaclient problem with PrettyTable 0.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
High
|
Unassigned |
Bug Description
The 0.6 version of PrettyTable removed the "printt" function, causing a problem for python-novaclient. the solution appears to be to replace printt with "get_string" in utils.py, per a bugfix for openstack/
https:/
Original question follows, with error message.
-----
Hello,
nova client doesn't work on my Debian Wheezy.
Every command gives the same error:
ERROR: printt
Here is debug output for 'nova image-list' ('glance index' shows three testing images):
# nova --debug image-list
connect: (192.168.0.1, 5000)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 192.168.
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Date: Mon, 28 May 2012 21:43:50 GMT
header: Transfer-Encoding: chunked
connect: (192.168.0.1, 8774)
send: u'GET /v2/4b52eb4c8f2
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Compute-
header: Content-Type: application/json
header: Content-Length: 2166
header: Date: Mon, 28 May 2012 21:43:50 GMT
DEBUG (shell:394) printt
Traceback (most recent call last):
File "/usr/lib/
OpenStackCo
File "/usr/lib/
args.
File "/usr/lib/
utils.
File "/usr/lib/
pt.
File "/usr/lib/
raise AttributeError(
AttributeError: printt
ERROR: printt
I can get list of images with 'curl X-Auth-Token' on http://
Regards
tags: | added: python-novaclient |
Changed in nova: | |
importance: | Undecided → High |
milestone: | none → folsom-2 |
status: | New → Confirmed |
affects: | nova → python-novaclient |
Changed in python-novaclient: | |
milestone: | folsom-2 → none |
Looks like this has already been patched in novaclient.