Have you set up and configured a keystone instance for authentication?  The dashboard only supports Keystone based authentication right now, and it looks like you're trying to connect to nova using Nova's builtin auth.  That howto you are following is quite old.   If you're looking to get openstack up and running on a single box, you might want to try this script (<meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/4P/deployscripts/blob/master/nova.sh">https://github.com/4P/deployscripts/blob/master/nova.sh</a>) which sets up nova+keystone+glance+dashboard on a single host. <div>
<br></div><div> If you'd like to modify your existing setup, take a look at <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/openstack/keystone">https://github.com/openstack/keystone</a>, which talks about how to set up keystone and integrate it into your nova installation.</div>
<div><br></div><div>Mark<br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 10:15 AM, Mauricio Arango <span dir="ltr"><<a href="mailto:arango.mauricio@gmail.com">arango.mauricio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div><br></div><div>I installed Nova and Dashboard on a single VirtualBox Ubuntu guest, following the instructions in:</div><div><a href="http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/" target="_blank">http://uksysadmin.wordpress.com/2011/02/17/running-openstack-under-virtualbox-a-complete-guide/</a></div>

<div>and</div><div><a href="http://wiki.openstack.org/OpenStackDashboard" target="_blank">http://wiki.openstack.org/OpenStackDashboard</a></div><div><br></div><div>I added the following lines in Dahsboard's  local_settings.py, based on information extracted from the novarc file in Nova:</div>

<div>[</div><div><div>EC2_ACCESS_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d:myproject"</div><div>EC2_SECRET_KEY="e77a7fd0-bd94-4e67-9dc1-75a9ee2da45c"</div><div>EC2_URL="<a href="http://172.241.0.101:8773/services/Cloud" target="_blank">http://172.241.0.101:8773/services/Cloud</a>"</div>

<div><br></div><div>NOVA_API_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d"</div><div>NOVA_USERNAME="mauricio"</div><div>NOVA_URL="<a href="http://172.241.0.101:8774/v1.0/" target="_blank">http://172.241.0.101:8774/v1.0/</a>"</div>

<div>NOVA_CERT="/home/mauricio/ostack/cloud/creds/cacert.pem"</div></div><div>]</div><div><br></div><div>The nova install, runs well, tested it using euca tools.</div><div><br></div><div>The GUI part of Dashboard works but fails connecting to Nova, generating the this error on any connection attempt:</div>

<div>[</div><div><div>DEBUG:django_openstack.api:extras_api connection created using token "e1d4b8ca-9386-4f8e-b194-de6e504d6fa5" and url "<a href="http://localhost:8774/v1.1" target="_blank">http://localhost:8774/v1.1</a>"</div>

<div>ERROR:django_openstack.dash:ApiException in instance usage</div><div>Traceback (most recent call last):</div><div>  File "/home/mauricio/ostack/openstack-dashboard/django-openstack/django_openstack/dash/views/instances.py", line 167, in usage</div>

<div>    usage = api.usage_get(request, tenant_id, datetime_start, datetime_end)</div><div>  File "/home/mauricio/ostack/openstack-dashboard/django-openstack/django_openstack/api.py", line 270, in inner</div><div>

    return f(*args, **kwargs)</div><div>  File "/home/mauricio/ostack/openstack-dashboard/django-openstack/django_openstack/api.py", line 520, in usage_get</div><div>    return Usage(extras_api(request).usage.get(tenant_id, start, end))</div>

<div>  File "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/extras/usage.py", line 15, in get</div><div>    return self._get("/extras/usage/%s?start=%s&end=%s" % (tenant_id, start.isoformat(), end.isoformat()), "usage")</div>

<div>  File "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/base.py", line 36, in _get</div><div>    resp, body = self.api.connection.get(url)</div><div>

  File "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 78, in get</div><div>    return self._cs_request(url, 'GET', **kwargs)</div>

<div>  File "/home/mauricio/ostack/openstack-dashboard/openstack-dashboard/.dashboard-venv/src/openstackx/openstackx/api/connection.py", line 66, in _cs_request</div><div>    raise ex</div><div>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. (HTTP 401)</div>

</div><div>]</div><div><br></div><div><br></div><div>I'm including the contents of the novarc file:</div><div>[</div><div><div>NOVA_KEY_DIR=$(pushd $(dirname $BASH_SOURCE)>/dev/null; pwd; popd>/dev/null)</div><div>

export EC2_ACCESS_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d:myproject"</div><div>export EC2_SECRET_KEY="e77a7fd0-bd94-4e67-9dc1-75a9ee2da45c"</div><div>export EC2_URL="<a href="http://172.241.0.101:8773/services/Cloud" target="_blank">http://172.241.0.101:8773/services/Cloud</a>"</div>

<div>export S3_URL="<a href="http://172.241.0.101:3333" target="_blank">http://172.241.0.101:3333</a>"</div><div>export EC2_USER_ID=42 # nova does not use user id, but bundling requires it</div><div>export EC2_PRIVATE_KEY=${NOVA_KEY_DIR}/pk.pem</div>

<div>export EC2_CERT=${NOVA_KEY_DIR}/cert.pem</div><div>export NOVA_CERT=${NOVA_KEY_DIR}/cacert.pem</div><div>export EUCALYPTUS_CERT=${NOVA_CERT} # euca-bundle-image seems to require this set</div><div>alias ec2-bundle-image="ec2-bundle-image --cert ${EC2_CERT} --privatekey ${EC2_PRIVATE_KEY} --user 42 --ec2cert ${NOVA_CERT}"</div>

<div>alias ec2-upload-bundle="ec2-upload-bundle -a ${EC2_ACCESS_KEY} -s ${EC2_SECRET_KEY} --url ${S3_URL} --ec2cert ${NOVA_CERT}"</div><div>export NOVA_API_KEY="afa00c4d-7c1f-4a26-8986-1e291abb4e9d"</div>

<div>export NOVA_USERNAME="mauricio"</div><div>export NOVA_URL="<a href="http://172.241.0.101:8774/v1.0/" target="_blank">http://172.241.0.101:8774/v1.0/</a>"</div></div><div>]</div><div><br></div><div>
<br></div><div>
Thanks in advance for your help,</div><div><br></div><font color="#888888"><div>Mauricio</div><div><br></div>
</font><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>