OpenStack Dashboard (Horizon)

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

Reported by Julie Pichon on 2013-01-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Medium
Julie Pichon
Folsom
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) on 2013-01-21
Changed in horizon:
assignee: nobody → Julie Pichon (jpichon)

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

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

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) on 2013-02-21
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-04-04
Changed in horizon:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers