← Back to team overview

openstack team mailing list archive

Re: Problem Launching OpenStack Dashboard (Cactus) - 403 Error - HELP NEEDED DESPERATELY :(

 

Thanks a lot Vish ! Appreciate your quick reply. It worked, Infact I didn't had :proj in access key before, but when I tried including the same, it worked !

Not sure, this is how it is supposed to be, but my dashboard is up and running. 

Thanks,
Sheshadri
________________________________________
From: Vishvananda Ishaya [vishvananda@xxxxxxxxx]
Sent: Thursday, May 12, 2011 1:57 PM
To: Sheshadri Amathnadu
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Problem Launching OpenStack Dashboard (Cactus) - 403 Error - HELP NEEDED DESPERATELY :(

Two things to try:

1. remove the :proj from the access key
2. make sure that the novaadmin user you created actually is an admin (meaning that you created with nova-manage user admin instead of nova-manage user create)

On May 12, 2011, at 1:51 PM, Sheshadri Amathnadu wrote:

Hello,

I followed the following steps below to create Dashboard, after I run the python-django server script (marked below in red) –
sudo tools/with_venv.sh dashboard/manage.py runserver 10.10.10.2:8000

I can see the dashboard home page, but when I log in with the credentials I get “ERROR:boto:403 Forbidden”,

Please find attached detailed log for more information.

Can somebody help me if I have missed anything ?

Thanks,
Sheshadri

PS: I followed http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/ for setup. I’m using Ubuntu 10.10 Maverick version.

============================================================================================================
Nova Dashboard

1              sudo apt-get install -y bzr
2              sudo easy_install virtualenv

1              sudo bzr init-repo .
2              sudo bzr branch lp:openstack-dashboard /opt/osdb
3              cd /opt/osdb
4              sudo sh run_tests.sh
5              cd openstack-dashboard

Edit /opt/osdb/openstack-dashboard/local/local_settings.py to include certain details required for connecting to nova-api.
1              NOVA_DEFAULT_ENDPOINT = 'http://localhost:8773/services/Cloud'
2              NOVA_DEFAULT_REGION = 'nova'
3              NOVA_ACCESS_KEY = 'b6a7e3ca-f894-473b-abca-84329d9829fa:proj'
4              NOVA_SECRET_KEY = '2d61a361-965a-4ed6-966a-d9f543b42531'
5              NOVA_ADMIN_USER = 'novaadmin'
6              NOVA_PROJECT = 'proj'

Setting Up E-mail service for the web interface
1              EMAIL_HOST = 'server1.example.com'
2              EMAIL_PORT = 25
3              If the mail server provides only authenticated SMTP, add the following lines:
4              EMAIL_USER =
5              EMAIL_PASSWORD =

1              EMAIL_USE_TLS = 'True'

Create a openstack-dashboard database and its schema with the syncdb command. Provide the name/email address/desired password of the administrative user when prompted.
view source

1              sudo tools/with_venv.sh dashboard/manage.py syncdb

While creating the schema, the above command asks you to create an admin account for the dashboard. Choose the user name as the project admin’s user name you chose above while creating the project ( novadmin in our case). You can choose any password you like.

Launch the default python-django server. If you want the dashboard application to be available on port 8000 :

1              sudo tools/with_venv.sh dashboard/manage.py runserver 10.10.10.2:8000

To check the installation open a browser and enter the following URL
view source
print?
1              http://10.10.10.2:8000

You should be able to login as “novaadmin” using the password chosen above. Any other user trying to access the interface for the first time, will need to sign up and will be able to use the interface after the account is approved by the administrator.

A successful login and display of the project named “proj” on the dashboard will indicate that the dashboard has been setup successfully.

Thanks,
Sheshadri

<dashboard_error_log.txt>_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



References