<div><div><div><div>Hi!</div><div><br></div><div>I'm testing a new installation (virtual environment) as following: </div><div><br></div><div>(1) I've installed Openstack using the Devstack Script (with some modification to work here), so, all in one installation. </div>
<div>(2) Then, I started to install Openstack from a clean Ubuntu Oneiric instalation, but using packages from launchpad, not the Ubuntu packages. What I'm doing is follow the Devstack Script but trying to install the components separately (one host with nova-network, other with nova-api, dashboard, and so on).</div>
<div><br></div><div>Some months ago I've used the euca2ools command line tools. Now we had to use the nova tool, from python-novaclient and the keystone authentication system. I was getting some problems with my (2) installation when trying to run the nova command (for example, to see my nodes, as we got with euca-describe-availability-zones verbose some time ago. Not working. So, I tried to run the same tool on the Devstack instalation and it didn't work too. </div>
<div><br></div><div><div>user@ubuntu:~$ nova --debug list</div><div>connect: (192.168.122.100, 5000)</div><div>send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: <a href="http://192.168.122.100:5000">192.168.122.100:5000</a>\r\nContent-Length: 90\r\ncontent-type: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: python-novaclient\r\n\r\n{"passwordCredentials": {"username": "admin", "password": "Password", "tenantId": "admin"}}'</div>
<div>reply: 'HTTP/1.1 400 Bad Request\r\n'</div><div>header: Content-Type: application/json; charset=UTF-8</div><div>header: Content-Length: 60</div><div>header: Date: Thu, 15 Dec 2011 18:34:20 GMT</div><div>Traceback (most recent call last):                                                                                                                                                                                </div>
<div>  File "/usr/local/bin/nova", line 9, in <module>                                                                                                                                                                 </div>
<div>    load_entry_point('python-novaclient==2.6.5', 'console_scripts', 'nova')()                                                                                                                                     </div>
<div>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.5-py2.7.egg/novaclient/shell.py", line 225, in main                                                                                          </div>
<div>    OpenStackComputeShell().main(sys.argv[1:])                                                                                                                                                                    </div>
<div>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.5-py2.7.egg/novaclient/shell.py", line 182, in main                                                                                          </div>
<div>    self.cs.authenticate()                                                                                                                                                                                        </div>
<div>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.5-py2.7.egg/novaclient/v1_1/client.py", line 64, in authenticate                                                                             </div>
<div>    self.client.authenticate()                                                                                                                                                                                    </div>
<div>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.5-py2.7.egg/novaclient/client.py", line 204, in authenticate                                                                                 </div>
<div>    auth_url = self._v2_auth(auth_url)                                                                                                                                                                            </div>
<div>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.5-py2.7.egg/novaclient/client.py", line 255, in _v2_auth                                                                                     </div>
<div>    resp, body = self.request(token_url, "POST", body=body)                                                                                                                                                       </div>
<div>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2.6.5-py2.7.egg/novaclient/client.py", line 99, in request                                                                                       </div>
<div>    raise exceptions.from_response(resp, body)</div><div>novaclient.exceptions.BadRequest: Expecting auth (HTTP 400)</div></div><div><br></div><div>==>> novaclient.exceptions.BadRequest: Expecting auth (HTTP 400)</div>
<div><br></div><div>I've seen some curl examples that changed some sintax, the way that the URL is composed, or something like that. With the new examples I could test keystone and it is working. But I don't know how the nova command makes the query. </div>
<div><br></div><div>I was basing myself on the Devstack installation but I'm seeing that not all the components really works. Someone could help me? </div><div><br></div><div>My versions are those from Devstack (master branch from the most components). </div>
<div><br></div><div>Finally, I've understood that the novaclient is now the way we had to manage our private cloud. On the Devstack installation I can play with all the things using Horizon Dashboard. But, in the (2) installation I can't because it doesn't work yet and neither the nova command.</div>
<div><br></div><div>I appreciate any help!</div><div><br></div><div>Thanks a bunch! </div><div>:)</div></div><div><br></div></div>-- <br>- MSc. Correa, J.L.<br><br>
</div>