Sorry for the wrong subject, it was another mail that i was sending. -- Alessandro Tagliapietra | VISup srl piazza 4 novembre 7 20124 Milano
http://www.visup.it Il giorno 22/ago/2012, alle ore 11:40, Alessandro Tagliapietra <tagliapietra.alessan...@gmail.com> ha scritto: > Hello guys, > > I'm having a problem with nova command line. I've added this to .bashrc: > > export OS_TENANT_NAME=admin > export OS_USERNAME=admin > export OS_PASSWORD=admin > export OS_AUTH_URL="http://127.0.0.1:5000/v2.0/" > > but when i do nova --debug list i get: > > connect: (127.0.0.1, 5000) > send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\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": "admin", > "passwordCredentials": {"username": "admin", "password": "admin"}}}' > reply: 'HTTP/1.1 200 OK\r\n' > header: Content-Type: application/json > header: Vary: X-Auth-Token > header: Date: Wed, 22 Aug 2012 09:39:20 GMT > header: Transfer-Encoding: chunked > DEBUG (shell:416) n/a (HTTP 400) > 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 520, > in do_list > utils.print_list(cs.servers.list(search_opts=search_opts), columns, > File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line > 279, in list > return self._list("/servers%s%s" % (detail, query_string), "servers") > File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 71, in > _list > resp, body = self.api.client.get(url) > File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 136, in > get > return self._cs_request(url, 'GET', **kwargs) > File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 124, in > _cs_request > **kwargs) > File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 107, in > request > raise exceptions.from_response(resp, body) > BadRequest: n/a (HTTP 400) > ERROR: n/a (HTTP 400) > > I've dumped the traffic with tcpdump and i see a correct response from > keystone, this is the output: > > http://pastie.org/private/ms7c5jlpatolsgiosjsva > > How can i solve this? > > Best Regards > > -- > Alessandro Tagliapietra | VISup srl > piazza 4 novembre 7 > 20124 Milano > > http://www.visup.it >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp