EC2ResponseError at /accounts/register/

asked 2011-07-19 11:46:52 -0600

yzt356 gravatar image

I have installed dashboard and there occurs a problem when registering a ner user. It seems that dashboard has registered a user in django but not in nova.

I installed nova with release edition, not trunk. Maybe that's a possible reason. Which edition of dashboard should I use to match release edition of nova?

And the response from dashboard is as follows:

EC2ResponseError at /accounts/register/ EC2ResponseError: 400 Bad Request <response><errors><error>NotFoundNo user for id yzt356HHJ0IONBKQO8JRYYBOG2 Request Method: POST Request URL: ( Django Version: 1.3 Exception Type: EC2ResponseError Exception Value:
EC2ResponseError: 400 Bad Request <response><errors><error>NotFound<message>No user for id yzt356</message></error></errors><requestid>HHJ0IONBKQO8JRYYBOG2</requestid></response> Exception Location: /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/boto/ in get_object, line 631 Python Executable: /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/bin/python Python Version: 2.6.5 Python Path:
['/root/openstack-dashboard/trunk/openstack-dashboard/dashboard', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/pip-1.0.2-py2.6.egg', '/root/openstack-dashboard/trunk/django-openstack/src', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/mox-0.5.3-py2.6.egg', '/root/openstack-dashboard/trunk/django-nova-syspanel/src', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/plat-linux2', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-tk', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-old', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/lib-dynload', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib64/python2.6/lib-tk', '/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages', '/root/openstack-dashboard/trunk/openstack-dashboard', '/root/openstack-dashboard/trunk/openstack-dashboard/dashboard', '/root/openstack-dashboard/trunk/openstack-dashboard/dashboard'] Server time: 星期三, 20 七月 2011 03:35:26 +0800 Traceback Switch to copy-and-paste view

/root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/core/handlers/ in get_response response = callback(request, callback_args, *callback_kwargs) ... ▶ Local vars /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/ in register new_user = ... ▶ Local vars /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/ in save profile_callback=profile_callback) ... ▶ Local vars /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/registration/ in create_inactive_user new_user = User.objects.create_user(username, email, password) ... ▶ Local vars /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/contrib/auth/ in create_user ... ▶ Local vars /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/db/models/ in save self.save_base(using=using, force_insert=force_insert, force_update=force_update) ... ▶ Local vars /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/db/models/ in save_base created=(not record_exists), raw=raw, using=using) ... ▶ Local vars /root/openstack-dashboard/trunk/openstack-dashboard/.dashboard-venv/lib/python2.6/site-packages/django/dispatch/ in send response = receiver(signal=self ... (more)

edit retag flag offensive close merge delete

5 answers

Sort by » oldest newest most voted

answered 2011-07-21 05:47:01 -0600

yzt356 gravatar image

It is really troublesome that I would like to set up a usable system with openstack and dashboard. For the reason that the trunk version of openstack is changing quickly, so I use the "release" version to set up the system. So my question is, do the current version dashboard fit openstack of release version? I noticed that the newest version of dashboard needs keystone as OpenStack Identity Service. Is keystone used for dashboard only or for both openstack and dashboard? The release version of nova uses mysql to manage users, does dashboard use another mechanism?

Thank you.

edit flag offensive delete link more

answered 2011-07-21 03:31:01 -0600

It appears that you are using a pretty old version of the Dashboard. It has been migrated off of the EC2 API and now uses the OpenStack API internally. Please follow the guide here and see if you have better luck:
edit flag offensive delete link more

answered 2011-07-23 05:06:02 -0600

yzt356 gravatar image

Thanks for your reply. I would like to know when I could get a stable version of dashboard for the release version of Openstack, so I could use it to build a usable system? If I want to build such a system in recent time, is there any other alternative I could use? Thanks.

edit flag offensive delete link more

answered 2011-07-21 17:10:46 -0600

The current version of the dashboard does not work with the release version of nova. The last commit before the new auth stuff was merged in is 86799033f48246993a50451e214748479f75a467. That commit is about a month old, so it is missing swift support and some new features we've added in since then, but it _should_ work with the release version of Nova.

The dashboard was only very recently accepted as an openstack project (about a month ago), so we haven't had a "release" with the rest of the project yet, which is why we don't have a stable version for use with the release version of openstack.

The current development branch of dashboard uses Openstack Identity (keystone) for auth, as will Nova for the Diablo release ( ( ). Instructions for running Nova with keystone auth support can be found in the readme for the keystone project ( ). I haven't tried those instructions against Nova cactus, so I don't know if it will work.

edit flag offensive delete link more

answered 2011-07-23 08:55:27 -0600

yzt356 gravatar image

The commit of 86799033f48246993a50451e214748479f75a467 is before the new auth stuff, but it also uses EC2 interfaces and doesn't fit well with the release version of Openstack. So I strongly recommend dashboard release a "release" version to fit for the release version of Openstack, as well as a corresponding tutorial.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-07-19 11:46:52 -0600

Seen: 200 times

Last updated: Jul 23 '11