Public bug reported: When I download the Juju configuration using "Download Juju Environment Config" in the dashboard, the EC2 credentials ( combined-key and secret-key) are wrong. If I download using "Download EC2 Credentials" then they are correct.
Comparing the code for these two, they are suspiciously difference: EC2: def find_or_create_access_keys(request, tenant_id): keys = api.keystone.list_ec2_credentials(request, request.user.id) for key in keys: if key.tenant_id == tenant_id: return key return api.keystone.create_ec2_credentials(request, Juju: def find_or_create_access_keys(request, tenant_id): keys = api.keystone.list_ec2_credentials(request, request.user.id) if keys: return keys[0] else: return api.keystone.create_ec2_credentials(request, Copying the EC2 logic into the Juju file fixes it. This is with version 2012.2-0ubuntu2~cloud0, but it looks like its the same in trunk. Thanks, ** Affects: horizon (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1079611 Title: Download Juju Environment Config gives wrong credentials To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1079611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs