nova --debug list connect: (192.168.27.100, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 192.168.27.100:5000\r\nContent-Length: 100\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": "demo", "passwordCredentials": {"username": "demo", "password": "secrete"}}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json header: Vary: X-Auth-Token header: Content-Length: 2176 header: Date: Tue, 12 Jun 2012 18:40:04 GMT connect: (192.168.27.100, 8774) send: u'GET /v2/6fc0f1ea981647439cce2f96d67c9f00/servers/detail HTTP/1.1\r\nHost: 192.168.27.100:8774\r\nx-auth-project-id: demo\r\nx-auth-token: daa6b1a4e0c044efa80dbc916c1b226c\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n' reply: 'HTTP/1.1 401 Unauthorized\r\n' header: Www-Authenticate: Keystone uri='http://127.0.0.1:35357' header: Content-Length: 276 header: Content-Type: text/plain; charset=UTF-8 header: Date: Tue, 12 Jun 2012 18:40:04 GMT send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 192.168.27.100:5000\r\nContent-Length: 100\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": "demo", "passwordCredentials": {"username": "demo", "password": "secrete"}}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json header: Vary: X-Auth-Token header: Content-Length: 2176 header: Date: Tue, 12 Jun 2012 18:40:04 GMT send: u'GET /v2/6fc0f1ea981647439cce2f96d67c9f00/servers/detail HTTP/1.1\r\nHost: 192.168.27.100:8774\r\nx-auth-project-id: demo\r\nx-auth-token: daa6b1a4e0c044efa80dbc916c1b226c\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n' reply: 'HTTP/1.1 401 Unauthorized\r\n' header: Www-Authenticate: Keystone uri='http://127.0.0.1:35357' header: Content-Length: 276 header: Content-Type: text/plain; charset=UTF-8 header: Date: Tue, 12 Jun 2012 18:40:04 GMT DEBUG (shell:431) n/a (HTTP 401) Traceback (most recent call last): File "/opt/stack/python-novaclient/novaclient/shell.py", line 428, in main OpenStackComputeShell().main(sys.argv[1:]) File "/opt/stack/python-novaclient/novaclient/shell.py", line 379, in main args.func(self.cs, args) File "/opt/stack/python-novaclient/novaclient/v1_1/shell.py", line 536, in do_list utils.print_list(cs.servers.list(search_opts=search_opts), columns, File "/opt/stack/python-novaclient/novaclient/v1_1/servers.py", line 291, in list return self._list("/servers%s%s" % (detail, query_string), "servers") File "/opt/stack/python-novaclient/novaclient/base.py", line 63, in _list resp, body = self.api.client.get(url) File "/opt/stack/python-novaclient/novaclient/client.py", line 137, in get return self._cs_request(url, 'GET', **kwargs) File "/opt/stack/python-novaclient/novaclient/client.py", line 134, in _cs_request raise ex Unauthorized: n/a (HTTP 401) ERROR: n/a (HTTP 401) POST /v2.0/tokens HTTP/1.1 Host: 192.168.27.100:5000 Content-Length: 100 content-type: application/json accept-encoding: gzip, deflate accept: application/json user-agent: python-novaclient {"auth": {"tenantName": "demo", "passwordCredentials": {"username": "demo", "password": "secrete"}}} HTTP/1.1 200 OK Content-Type: application/json Vary: X-Auth-Token Content-Length: 2176 Date: Tue, 12 Jun 2012 18:40:04 GMT {"access": {"token": {"expires": "2012-06-13T18:40:04Z", "id": "daa6b1a4e0c044efa80dbc916c1b226c", "tenant": {"enabled": true, "id": "6fc0f1ea981647439cce2f96d67c9f00", "name": "demo", "description": null}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://192.168.27.100:8774/v2/6fc0f1ea981647439cce2f96d67c9f00", "region": "RegionOne", "publicURL": "http://192.168.27.100:8774/v2/6fc0f1ea981647439cce2f96d67c9f00", "internalURL": "http://192.168.27.100:8774/v2/6fc0f1ea981647439cce2f96d67c9f00"}], "endpoints_links": [], "type": "compute", "name": "Compute Service"}, {"endpoints": [{"adminURL": "http://192.168.27.100:3333", "region": "RegionOne", "publicURL": "http://192.168.27.100:3333", "internalURL": "http://192.168.27.100:3333"}], "endpoints_links": [], "type": "s3", "name": "S3 Service"}, {"endpoints": [{"adminURL": "http://192.168.27.100:9292", "region": "RegionOne", "publicURL": "http://192.168.27.100:9292", "internalURL": "http://192.168.27.100:9292"}], "endpoints_links": [], "type": "image", "name": "Image Service"}, {"endpoints": [{"adminURL": "http://192.168.27.100:8776/v1/6fc0f1ea981647439cce2f96d67c9f00", "region": "RegionOne", "publicURL": "http://192.168.27.100:8776/v1/6fc0f1ea981647439cce2f96d67c9f00", "internalURL": "http://192.168.27.100:8776/v1/6fc0f1ea981647439cce2f96d67c9f00"}], "endpoints_links": [], "type": "volume", "name": "Volume Service"}, {"endpoints": [{"adminURL": "http://192.168.27.100:8773/services/Admin", "region": "RegionOne", "publicURL": "http://192.168.27.100:8773/services/Cloud", "internalURL": "http://192.168.27.100:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "EC2 Service"}, {"endpoints": [{"adminURL": "http://192.168.27.100:35357/v2.0", "region": "RegionOne", "publicURL": "http://192.168.27.100:5000/v2.0", "internalURL": "http://192.168.27.100:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "Identity Service"}], "user": {"username": "demo", "roles_links": [], "id": "11cc41b5b03a4214a59e0ec888f0dfaf", "roles": [{"id": "926e6bd3101a4e118aa0e9176f61f6c3", "name": "anotherrole"}, {"id": "49d00fb23367411794ed98a3fb0fee57", "name": "Member"}], "name": "demo"}}} GET /v2/6fc0f1ea981647439cce2f96d67c9f00/servers/detail HTTP/1.1 Host: 192.168.27.100:8774 x-auth-project-id: demo x-auth-token: daa6b1a4e0c044efa80dbc916c1b226c accept-encoding: gzip, deflate accept: application/json user-agent: python-novaclient GET /v2.0/tokens/daa6b1a4e0c044efa80dbc916c1b226c HTTP/1.1 Host: 127.0.0.1:35357 Accept-Encoding: identity Content-type: application/json Accept: application/json X-Auth-Token: 1b5e06bc168e4f7c87750cc387a305fb HTTP/1.1 404 Not Found Content-Type: application/json Vary: X-Auth-Token Content-Length: 114 Date: Tue, 12 Jun 2012 18:40:04 GMT {"error": {"message": "Could not find role: e46ffa358e8d46ae8085e158527e16d8", "code": 404, "title": "Not Found"}} HTTP/1.1 401 Unauthorized Www-Authenticate: Keystone uri='http://127.0.0.1:35357' Content-Length: 276 Content-Type: text/plain; charset=UTF-8 Date: Tue, 12 Jun 2012 18:40:04 GMT 401 Unauthorized This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required. Authentication required