Error: Unable to fetch EC2 credentials
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Committed
|
Medium
|
Jake Dahn |
Bug Description
When running the latest horizon in devstack. When trying to download the EC2 Credentials (as admin user in settings/ec2/) I get
"Error: Unable to fetch EC2 credentials" along with a stack trace in the horizon logs
[Mon Mar 12 22:53:24 2012] [error] ERROR:keystonec
[Mon Mar 12 22:53:24 2012] [error] Traceback (most recent call last):
[Mon Mar 12 22:53:24 2012] [error] File "/opt/stack/
[Mon Mar 12 22:53:24 2012] [error] body = json.loads(body)
[Mon Mar 12 22:53:24 2012] [error] File "/usr/lib/
....
[Mon Mar 12 22:53:24 2012] [error] result = method(context, **params)
[Mon Mar 12 22:53:24 2012] [error] File "/opt/stack/
[Mon Mar 12 22:53:24 2012] [error] if not self._is_
[Mon Mar 12 22:53:24 2012] [error] File "/opt/stack/
[Mon Mar 12 22:53:24 2012] [error] self.assert_
[Mon Mar 12 22:53:24 2012] [error] File "/opt/stack/
[Mon Mar 12 22:53:24 2012] [error] creds['tenant_id'] = user_token_
[Mon Mar 12 22:53:24 2012] [error] AttributeError: 'NoneType' object has no attribute 'get'
[Mon Mar 12 22:53:24 2012] [error] . (HTTP 500)
Changed in horizon: | |
assignee: | nobody → Jake Dahn (jakedahn) |
status: | New → In Progress |
Changed in horizon: | |
milestone: | none → essex-rc1 |
importance: | Undecided → Medium |
Reviewed: https:/ /review. openstack. org/5263 github. com/openstack/ horizon/ commit/ 7d6089b81a6c91c 3e1bf03fdd8c61d 4286982eed
Committed: http://
Submitter: Jenkins
Branch: master
commit 7d6089b81a6c91c 3e1bf03fdd8c61d 4286982eed
Author: jakedahn <email address hidden>
Date: Mon Mar 12 20:13:13 2012 -0700
Updating ec2 credentials verbiage.
* Makes it more clear that you are also receiving your access
and secret key in an rc file, instead of just your x509 certs.
* If user already has ec2 credentials, return them, otherwise create.
Prior to this fix, every time you downloaded a new bundle, you would get
a new access/secret key pair.
* Fixes bug 947647
* Fixes bug 953530
Change-Id: Ifdbdf0036bfbaa cae2e525fd6791f 83aa947f3ff