<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry for the wrong subject, it was another mail that i was sending.<br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- </div><div>Alessandro Tagliapietra | VISup srl</div><div>piazza 4 novembre 7</div><div>20124 Milano</div><div><br></div><div><a href="http://www.visup.it">http://www.visup.it</a></div></span>

</div>
<br><div><div>Il giorno 22/ago/2012, alle ore 11:40, Alessandro Tagliapietra <<a href="mailto:tagliapietra.alessandro@gmail.com">tagliapietra.alessandro@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hello guys,</div><div><br></div><div>I'm having a problem with nova command line. I've added this to .bashrc:</div><div><br></div><div><div>export OS_TENANT_NAME=admin</div><div>export OS_USERNAME=admin</div><div>export OS_PASSWORD=admin</div><div>export OS_AUTH_URL="<a href="http://127.0.0.1:5000/v2.0/">http://127.0.0.1:5000/v2.0/</a>"</div></div><div><br></div><div>but when i do nova --debug list i get:</div><div><br></div><div><div>connect: (127.0.0.1, 5000)</div><div>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"}}}'</div><div>reply: 'HTTP/1.1 200 OK\r\n'</div><div>header: Content-Type: application/json</div><div>header: Vary: X-Auth-Token</div><div>header: Date: Wed, 22 Aug 2012 09:39:20 GMT</div><div>header: Transfer-Encoding: chunked</div><div>DEBUG (shell:416) n/a (HTTP 400)</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 413, in main</div><div>    OpenStackComputeShell().main(sys.argv[1:])</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 364, in main</div><div>    args.func(self.cs, args)</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 520, in do_list</div><div>    utils.print_list(cs.servers.list(search_opts=search_opts), columns,</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 279, in list</div><div>    return self._list("/servers%s%s" % (detail, query_string), "servers")</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 71, in _list</div><div>    resp, body = self.api.client.get(url)</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 136, in get</div><div>    return self._cs_request(url, 'GET', **kwargs)</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 124, in _cs_request</div><div>    **kwargs)</div><div>  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 107, in request</div><div>    raise exceptions.from_response(resp, body)</div><div>BadRequest: n/a (HTTP 400)</div><div>ERROR: n/a (HTTP 400)</div></div><div><br></div><div>I've dumped the traffic with tcpdump and i see a correct response from keystone, this is the output:</div><div><br></div><div><a href="http://pastie.org/private/ms7c5jlpatolsgiosjsva">http://pastie.org/private/ms7c5jlpatolsgiosjsva</a></div><div><br></div><div>How can i solve this?</div><div><br></div><div>Best Regards</div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div>-- </div><div>Alessandro Tagliapietra | VISup srl</div><div>piazza 4 novembre 7</div><div>20124 Milano</div><div><br></div><div><a href="http://www.visup.it/">http://www.visup.it</a></div></span>

</div>
<br></div></blockquote></div><br></body></html>