View difference between Paste ID: 5BKiRUBY and H04cJhjH
SHOW: | | - or go back to the newest paste.
1
# nova --debug list
2-
connect: (10.254.32.98, 5001)
2+
connect: (10.254.99.99, 5001)
3
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 10.254.99.99:5001\r\nContent-Length: 115\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": "openstackDemo", "passwordCredentials": {"username": "adminUser", "password": "uwish"}}}'
4
reply: 'HTTP/1.1 200 OK\r\n'
5
header: Content-Type: application/json
6
header: Vary: X-Auth-Token
7
header: Content-Length: 1459
8
header: Date: Fri, 30 Mar 2012 00:46:59 GMT
9
connect: (10.254.99.99, 8774)
10
send: u'GET /v2.0/servers/detail HTTP/1.1\r\nHost: 10.254.99.99:8774\r\nx-auth-project-id: openstackDemo\r\nx-auth-token: 6ca402d435c5463983107fcdcc21b53d\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
11
reply: 'HTTP/1.1 300 Multiple Choices\r\n'
12
header: Content-Type: application/json
13
header: Content-Length: 332
14
header: Date: Fri, 30 Mar 2012 00:46:59 GMT
15
DEBUG (shell:416) 'servers'
16
Traceback (most recent call last):
17
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 413, in main
18
    OpenStackComputeShell().main(sys.argv[1:])
19
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 364, in main
20
    args.func(self.cs, args)
21
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 507, in do_list
22
    utils.print_list(cs.servers.list(search_opts=search_opts), columns,
23
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 279, in list
24
    return self._list("/servers%s%s" % (detail, query_string), "servers")
25
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 76, in _list
26
    data = body[response_key]
27
KeyError: 'servers'
28
ERROR: 'servers'