EC2ResponceError /project/nova/images

asked 2012-01-16 10:58:12 -0500

Morning,

I have been getting the following error when navigating to the Images tab on the Dashboard: http://dpaste.com/688560/

This is a new install of Openstack via the dodai-deploy tool.

Zack.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2012-01-16 11:00:26 -0500

Environment:

Request Method: GET Request URL: http://XX.XX.XXX.XXXX/8000/project/nova/images (http://XX.XX.XXX.XXXX/8000/project/no...) Django Version: 1.2.4 Python Version: 2.7.2 Installed Applications: ['dashboard', 'django.contrib.auth', 'django.contrib.admin', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.comments', 'django.contrib.sites', 'django.contrib.markup', 'django.contrib.syndication', 'django_nose', 'django_nova', 'django_nova_syspanel', 'registration'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware')

Traceback: File "/opt/osdb/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 100. response = callback(request, callback_args, *callback_kwargs) File "/opt/osdb/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 25. return view_func(request, args, *kwargs) File "/opt/osdb/django-nova/src/django_nova/exceptions.py" in decorator 90. return func(args, *kwargs) File "/opt/osdb/django-nova/src/django_nova/views/images.py" in index 58. images = project.get_images() File "/opt/osdb/django-nova/src/django_nova/manager.py" in get_images 58. images = conn.get_all_images(image_ids=image_ids) File "/opt/osdb/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/boto/ec2/connection.py" in get_all_images 119. return self.get_list('DescribeImages', params, [('item', Image)]) File "/opt/osdb/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/boto/connection.py" in get_list 615. raise self.ResponseError(response.status, response.reason, body)

Exception Type: EC2ResponseError at /project/nova/images Exception Value: EC2ResponseError: 400 Bad Request <response><errors><error>UnknownError<message>An unknown error has occurred. Please try your request again.</message></error></errors><requestid>7e5a9a04-192f-42af-ac0a-4cf0c0ff7ae9</requestid></response>

edit flag offensive delete link more
0

answered 2012-01-16 11:57:24 -0500

Solved

edit flag offensive delete link more
0

answered 2012-02-02 13:27:14 -0500

Hi Zack. I am facing the exact same problem. Please do brief on how you tackled the problem.

edit flag offensive delete link more
0

answered 2012-02-03 10:48:25 -0500

solved it.

Had to change the token['access']['token']['id'] in keystone/middleware/ec2_token.py to token['auth']['token']['id']

because that is what was returned from keystone. you can try curl and you'll notice it.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-01-16 10:58:12 -0500

Seen: 29 times

Last updated: Feb 03 '12