The dashboard does not currently detect whether or not a swift endpoint is present, and instead relies on the boolean setting SWIFT_ENABLED.  I would guess that whatever "all in one" script you are using is deploying an older version of the local settings file.<div>
<br></div><div>You can resolve this error by adding a SWIFT_ENABLED setting to your =openstack-dashboard/local/local_settings.py= configuration file, set to True or False depending on whether or not you have a swift endpoint enabled.</div>
<div><br></div><div>Mark</div><div><br><div class="gmail_quote">On Sat, Aug 20, 2011 at 2:27 PM, Leo van den Bulck <span dir="ltr"><<a href="mailto:lvdbulck@gmail.com">lvdbulck@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,<br>
<br>
I followed these instructions to get Openstack/Nova running under VirtualBox:<br>
<br>
<a href="http://cloudbuilders.github.com/deploy.sh/single-node-nova-installation-using-vagrant-and-chef.html" target="_blank">http://cloudbuilders.github.com/deploy.sh/single-node-nova-installation-using-vagrant-and-chef.html</a><br>

<br>
<br>
Now everything is going fine, including running a compute instance with "euca-run-instances" and connecting to it via ssh.<br>
<br>
<br>
However when I try to view the Openstack Dashboard running on 192.168.86.100, I'm getting the following error dump in my browser:<br>
<br>
<br>
AttributeError at /auth/login/<br>
<br>
'Settings' object has no attribute 'SWIFT_ENABLED'<br>
Request Method: GET<br>
Request URL:    <a href="http://192.168.86.100/auth/login/?next=/dash/" target="_blank">http://192.168.86.100/auth/login/?next=/dash/</a><br>
Django Version: 1.3<br>
Exception Type: AttributeError<br>
Exception Value:<br>
'Settings' object has no attribute 'SWIFT_ENABLED'<br>
Exception Location:     /usr/local/lib/python2.6/dist-packages/django/utils/functional.py in __getattr__, line 277<br>
Python Executable:      /usr/bin/python<br>
Python Version: 2.6.6<br>
Python Path:<br>
['/srv/dashboard/django-openstack',<br>
'/usr/local/lib/python2.6/dist-packages/mox-0.5.3-py2.6.egg',<br>
'/usr/lib/pymodules/python2.6',<br>
'/srv/dashboard/django-openstack/src/openstack',<br>
'/srv/dashboard/django-openstack/src/openstackx',<br>
'/usr/lib/python2.6',<br>
'/usr/lib/python2.6/plat-linux2',<br>
'/usr/lib/python2.6/lib-tk',<br>
'/usr/lib/python2.6/lib-old',<br>
'/usr/lib/python2.6/lib-dynload',<br>
'/usr/local/lib/python2.6/dist-packages',<br>
'/usr/lib/python2.6/dist-packages',<br>
'/srv/dashboard/openstack-dashboard',<br>
'/usr/lib/pymodules/python2.6/gtk-2.0',<br>
'/srv/dashboard/openstack-dashboard/dashboard']<br>
<br>
<br>
Has anybody seen this error, or (even better) does anybody know how to resolve this?<br>
<br>
Thanks a lot,<br>
Leo<br>
<br>
<br>
P.S. by the way -- above I said that running an instance with "euca-run-instances" and connecting to it via ssh goes fine - HOWEVER,<br>
this seems to be a tad unreliable - "sometimes" it works and "sometimes" it doesn't.<br>
<br>
The part that didn't work was ssh-ing to the instance.<br>
<br>
I could ping my new instance successfully, but ssh-ing to it gave me "connection refused" (as did telnetting on port 22).<br>
When viewing the instance's console using "euca-get-console-output", I saw the following message: "System is configured for NO sshd".<br>
This was at the end of the cloud-setup/cloud-init part, i.e. after the console lines:<br>
<br>
cloud-setup: checking http:\/\/<a href="http://169.254.169.254" target="_blank">169.254.169.254</a>\/2009-04-04\/meta-data\/instance-id<br>
cloud-setup: successful after 1\/30 tries: up 21.36. iid=i-00000001<br>
cloud-setup: cloudinit: getting ssh keys: [0=test]<br>
<br>
So it looked like for some reason the sshd daemon wasn't starting on the image.<br>
<br>
I had this issue all the time, now suddenly it's gone - anybody knows what "System is configured for NO sshd" means or why this is (was) happening?<br>
<br>
<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>
</blockquote></div><br></div>