Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openstack@nova-test:~$ nova --username admin --apikey p4ssw0rd --url http://192.168.200.22:5000/v2.0 --projectid admin --debug list
- connect: (192.168.200.22, 5000)
- send: 'POST /tokens HTTP/1.1\r\nHost: 192.168.200.22:5000\r\nContent-Length: 103\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-novaclient\r\n\r\n{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "p4ssw0rd"}}}'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: Content-Type: application/json; charset=UTF-8
- header: Content-Length: 1032
- header: Date: Wed, 19 Oct 2011 15:37:30 GMT
- connect: (192.168.200.21, 8774)
- send: u'GET /v1.1/1/servers/detail?fresh=1319038667.56 HTTP/1.1\r\nHost: 192.168.200.21:8774\r\nx-auth-project-id: admin\r\nx-auth-token: 999888777666\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-novaclient\r\n\r\n'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: Content-Type: application/json
- header: Content-Length: 827
- header: Date: Wed, 19 Oct 2011 15:37:47 GMT
- Traceback (most recent call last):
- File "/usr/local/bin/nova", line 9, in <module>
- load_entry_point('python-novaclient==2.6.6', 'console_scripts', 'nova')()
- File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/shell.py", line 225, in main
- OpenStackComputeShell().main(sys.argv[1:])
- File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/shell.py", line 188, in main
- args.func(self.cs, args)
- File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/v1_0/shell.py", line 513, in do_list
- to_print)
- File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/utils.py", line 33, in print_list
- data = getattr(o, field_name, '')
- File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/v1_0/servers.py", line 202, in public_ip
- if len(self.addresses['public']) == 0:
- KeyError: 'public'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement