EC2 panel shouldn't be visible when the EC2 service isn't enabled

Bug #1102411 reported by Julie Pichon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Julie Pichon
Folsom
Fix Released
Medium
Julie Pichon

Bug Description

When attempting to download EC2 credentials, if there is no ec2 service and endpoint defined, an error 500 is returned.

Steps to reproduce:
1. Ensure there is no EC2 service in the output of keystone service-list
2. Log in as user or admin, click on Settings on top left
3. Click on Download EC2 credentials

Actual result:
4. Horizon returns an error, because of "Invalid service catalog service: ec2"

Expected result:
I think the EC2 credentials panel should not be visible at all when there is no EC2 service enabled.

Julie Pichon (jpichon)
Changed in horizon:
assignee: nobody → Julie Pichon (jpichon)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/20133

Changed in horizon:
status: New → In Progress
Changed in horizon:
importance: Undecided → Medium
milestone: none → grizzly-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/20133
Committed: http://github.com/openstack/horizon/commit/f71cc8f86e4a6e47aeacd83933901419bec9b3cf
Submitter: Jenkins
Branch: master

commit f71cc8f86e4a6e47aeacd83933901419bec9b3cf
Author: Julie Pichon <email address hidden>
Date: Mon Jan 21 14:47:16 2013 +0000

    Don't show the EC2 Credentials panel if there is no EC2 service

    Fixes bug #1102411

    Change-Id: I2454b415ac99f19349f4a19a1358fc75d8307fba

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/folsom)

Fix proposed to branch: stable/folsom
Review: https://review.openstack.org/20314

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/folsom)

Reviewed: https://review.openstack.org/20314
Committed: http://github.com/openstack/horizon/commit/20fa0fcaa55074359f2db7e5eea64b9342a8fa75
Submitter: Jenkins
Branch: stable/folsom

commit 20fa0fcaa55074359f2db7e5eea64b9342a8fa75
Author: Julie Pichon <email address hidden>
Date: Mon Jan 21 14:47:16 2013 +0000

    Don't show the EC2 Credentials panel if there is no EC2 service

    Fixes bug #1102411

    Change-Id: I2454b415ac99f19349f4a19a1358fc75d8307fba

Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.