Advertisement
deadsun

Untitled

Oct 19th, 2011
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. openstack@nova-test:~$ nova --username admin --apikey p4ssw0rd --url http://192.168.200.22:5000/v2.0 --projectid admin --debug list
  2. connect: (192.168.200.22, 5000)
  3. 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"}}}'
  4. reply: 'HTTP/1.1 200 OK\r\n'
  5. header: Content-Type: application/json; charset=UTF-8
  6. header: Content-Length: 1032
  7. header: Date: Wed, 19 Oct 2011 15:37:30 GMT
  8. connect: (192.168.200.21, 8774)
  9. 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'
  10. reply: 'HTTP/1.1 200 OK\r\n'
  11. header: Content-Type: application/json
  12. header: Content-Length: 827
  13. header: Date: Wed, 19 Oct 2011 15:37:47 GMT
  14. Traceback (most recent call last):
  15. File "/usr/local/bin/nova", line 9, in <module>
  16. load_entry_point('python-novaclient==2.6.6', 'console_scripts', 'nova')()
  17. File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/shell.py", line 225, in main
  18. OpenStackComputeShell().main(sys.argv[1:])
  19. File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/shell.py", line 188, in main
  20. args.func(self.cs, args)
  21. 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
  22. to_print)
  23. File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.6-py2.7.egg/novaclient/utils.py", line 33, in print_list
  24. data = getattr(o, field_name, '')
  25. 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
  26. if len(self.addresses['public']) == 0:
  27. KeyError: 'public'
  28.  
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement