Activity log for bug #898799

Date Who What changed Old value New value Message
2011-12-01 20:12:05 Paul Lappas bug added bug
2011-12-01 20:21:37 Paul Lappas description When I try and create a user with an Email address that is already used by another user in the system, the user creation fails with a nasty error. To reproduce: 1. Create a new tenant "tenant-1" 2. Create a user "user-1" with email address = user-1@user.com primary tenant = tenant-1 RESULT = SUCCESS 3. Create a user "user-2" with email address = user-2@user.com primary tenant = tenant-1 RESULT = SUCCESS 4. Create a user "user-3" with email address = user-1@user.com primary tenant = tenant-1 RESULT = ERROR 5. Create a user "user-3" with email address = user-2@user.com primary tenant = tenant-1 RESULT = ERROR 6. Create a user "user-3" with email address = user-3@user.com primary tenant = tenant-1 RESULT = SUCCESS When I try and create a user with an Email address that is already used by another user in the system, the user creation fails with a nasty error. Affected version: diablo To reproduce: 1. Create a new tenant "tenant-1" 2. Create a user "user-1" with   email address = user-1@user.com   primary tenant = tenant-1   RESULT = SUCCESS 3. Create a user "user-2" with   email address = user-2@user.com   primary tenant = tenant-1   RESULT = SUCCESS 4. Create a user "user-3" with   email address = user-1@user.com   primary tenant = tenant-1   RESULT = ERROR 5. Create a user "user-3" with   email address = user-2@user.com   primary tenant = tenant-1   RESULT = ERROR 6. Create a user "user-3" with   email address = user-3@user.com   primary tenant = tenant-1   RESULT = SUCCESS
2011-12-01 20:26:37 Paul Lappas description When I try and create a user with an Email address that is already used by another user in the system, the user creation fails with a nasty error. Affected version: diablo To reproduce: 1. Create a new tenant "tenant-1" 2. Create a user "user-1" with   email address = user-1@user.com   primary tenant = tenant-1   RESULT = SUCCESS 3. Create a user "user-2" with   email address = user-2@user.com   primary tenant = tenant-1   RESULT = SUCCESS 4. Create a user "user-3" with   email address = user-1@user.com   primary tenant = tenant-1   RESULT = ERROR 5. Create a user "user-3" with   email address = user-2@user.com   primary tenant = tenant-1   RESULT = ERROR 6. Create a user "user-3" with   email address = user-3@user.com   primary tenant = tenant-1   RESULT = SUCCESS When I try and create a user with an Email address that is already used by another user in the system, the user creation fails with a nasty error. Affected version: diablo To reproduce: 1. Create a new tenant "tenant-1" 2. Create a user "user-1" with   email address = user-1@user.com   primary tenant = tenant-1   RESULT = SUCCESS 3. Create a user "user-2" with   email address = user-2@user.com   primary tenant = tenant-1   RESULT = SUCCESS 4. Create a user "user-3" with   email address = user-1@user.com   primary tenant = tenant-1   RESULT = ERROR* 5. Create a user "user-3" with   email address = user-2@user.com   primary tenant = tenant-1   RESULT = ERROR* 6. Create a user "user-3" with   email address = user-3@user.com   primary tenant = tenant-1   RESULT = SUCCESS * ---Exception--- KeyError at /syspanel/users/create Environment: Request Method: POST Request URL: http://172.17.2.2/syspanel/users/create Django Version: 1.3 Python Version: 2.6.7 Installed Applications: ['dashboard', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_openstack', 'django_openstack.templatetags', 'savage.dash', 'mailer'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django_openstack.middleware.keystone.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'dashboard.middleware.DashboardLogUnhandledExceptionsMiddleware') Traceback: File "/usr/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.6/site-packages/Django-1.3-py2.6.egg/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "/usr/lib/python2.6/site-packages/django_openstack/decorators.py" in dec 37. return fn(*args, **kwargs) File "/usr/lib/python2.6/site-packages/django_openstack/syspanel/views/users.py" in create 208. True) File "/usr/lib/python2.6/site-packages/django_openstack/api.py" in user_create 666. user_id, email, password, tenant_id, enabled)) File "/usr/lib/python2.6/site-packages/openstackx/extras/users.py" in create 48. return self._create('/users', params, "user") File "/usr/lib/python2.6/site-packages/openstackx/api/base.py" in _create 41. return self.resource_class(self, body[response_key]) Exception Type: KeyError at /syspanel/users/create Exception Value: 'user'
2011-12-09 21:47:57 Gabriel Hurley horizon: status New Fix Committed
2011-12-09 21:47:57 Gabriel Hurley horizon: assignee Gabriel Hurley (gabriel-hurley)
2011-12-09 22:01:19 Devin Carlen horizon: importance Undecided High
2011-12-09 22:01:24 Devin Carlen horizon: milestone essex-2
2011-12-14 10:06:57 Thierry Carrez horizon: status Fix Committed Fix Released
2012-04-05 09:04:24 Thierry Carrez horizon: milestone essex-2 2012.1