Ask Your Question
0

nova error: printt

asked 2013-12-23 23:24:18 -0500

anonymous user

Anonymous

I just installed openstack essex to ubuntu 12.04 overall just running functionally, even i can access my dashboard on my browser. but when i make the order from terminal with nova, it always appear the same message ERROR: printt

so, i try nova --debug list it comes

root@and:/home/and# nova --debug list
connect: (localhost, 5000)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: localhost:5000\r\nContent-Length: 104\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "openstack"}}}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Vary: X-Auth-Token
header: Content-Type: application/json
header: Content-Length: 5102
header: Date: Tue, 24 Dec 2013 05:10:15 GMT
connect: (localhost, 8774)
send: u'GET /v1.1/24b6280420da45139e959b9c36d8a323/servers/detail HTTP/1.1\r\nHost: localhost:8774\r\nx-auth-project-id: admin\r\nx-auth-token: MIIJEwYJKoZIhvcNAQcCoIIJBDCCCQACAQExCTAHBgUrDgMCGjCCB+wGCSqGSIb3DQEHAaCCB90EggfZeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0xMi0yNFQwNToxMDoxNC45OTU0MTUiLCAiZXhwaXJlcyI6ICIyMDEzLTEyLTI1VDA1OjEwOjE0WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOiB0cnVlLCAiaWQiOiAiMjRiNjI4MDQyMGRhNDUxMzllOTU5YjljMzZkOGEzMjMiLCAibmFtZSI6ICJhZG1pbiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovL2xvY2FsaG9zdDo4Nzc2L3YxLzI0YjYyODA0MjBkYTQ1MTM5ZTk1OWI5YzM2ZDhhMzIzI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YTQ3ZjI5OTI1ZTFkZGFkOTVjZTgwIiwgIjg0M2Y3ZGUzNDQyOTQxYWRiMjJkOWY4NjYyMGE5NDQ3Il19fX0xgf8wgfwCAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECBMFVW5zZXQxDjAMBgNVBAcTBVVuc2V0MQ4wDAYDVQQKEwVVbnNldDEYMBYGA1UEAxMPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIGAP3a2uazv8YuhVWsu7IYIaLUkSGaS4TSNRAGYSzP3IhHqHoslj89KYw3TD5CoDc7O0Zs8kNvdIFvcMsz2U-9vz4eb0CSzNoEVAWi0nhUFnBADweWJTPaAt30idZZ-mj8B909VocHxK2Ju1BcFgSTNA5ERzAU7is+AeO8oiwpLWb4=\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Compute-Request-Id: req-7450d8c7-0e95-4a44-b6ec-f68ccb92e1db
header: Content-Type: application/json
header: Content-Length: 1392
header: Date: Tue, 24 Dec 2013 05:10:15 GMT
DEBUG (shell:416) printt
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 413, in main
    OpenStackComputeShell().main(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 364, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 521, in do_list
    formatters)
  File "/usr/lib/python2.7/dist-packages/novaclient/utils.py", line 145, in print_list
    pt.printt(sortby=fields[0])
  File "/usr/lib/python2.7/dist-packages/prettytable.py", line 167, in __getattr__
    raise AttributeError(name)
AttributeError: printt
ERROR: printt

what should i do? sorry for my bad english,

edit retag flag offensive close merge delete

Comments

The Essex release of OpenStack is quite outdated at this point. You would be much better off working with a more recent release (e.g., http://www.openstack.org/software/havana/).

larsks gravatar imagelarsks ( 2013-12-23 23:33:54 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-23 23:35:45 -0500

larsks gravatar image

This error is caused by a mismatch between the Nova code and the version of the Python prettytable module installed in Ubuntu 12.04. You can read more about the problem here, which includes instructions for downgrading PrettyTable to the appropriate version.

edit flag offensive delete link more

Comments

Thank you so much, its already worked!

dianabadi gravatar imagedianabadi ( 2013-12-23 23:40:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-23 23:24:18 -0500

Seen: 392 times

Last updated: Dec 23 '13