Bug 1653043 - "Download ec2 credentials" option not visible even when ec2api service is enabled
Summary: "Download ec2 credentials" option not visible even when ec2api service is ena...
Status: NEW
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Radomir Dopieralski
QA Contact: Beth White
Depends On:
TreeView+ depends on / blocked
Reported: 2018-11-25 04:04 UTC by Lars Kellogg-Stedman
Modified: 2020-04-05 09:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

Description Lars Kellogg-Stedman 2018-11-25 04:04:27 UTC
Description of problem:

  The option to download EC2 credentials in Horizon, on the /dashboard/project/api_access/ page, is not available even when the ec2api service is enabled.

Version-Release number of selected component (if applicable):


Additional info:

We have the ec2api service enabled in our Director deployment. Our deploy command line includes:

  -e $TEMPLATES/environments/services/ec2-api.yaml

With the ec2api service enabled, keystone includes the following service:

  | ID                               | Name       | Type            |
  | 65c10a45c49a44a2bdba0b5a5d2f3c29 | ec2api     | ec2api          |

Unfortunately, Horizon keys the available of the EC2 Credentials option off a service named "ec2".  E.g. here:


And here:


Either horizon should be looking for the "ec2api" service, or the ec2api templates should create an "ec2" service.

Comment 1 Lars Kellogg-Stedman 2018-12-03 19:11:54 UTC
To work around this issue, one can create a dummy catalog entry for the "ec2" service type:

    EC2_URL=$(openstack endpoint list --interface public --service ec2api -f value -c URL)
    EC2_REGION=$(openstack endpoint list --interface public --service ec2api -f value -c Region)
    openstack service create --name ec2-compat ec2
    openstack endpoint create ec2-compat --region "$EC2_REGION" public \

With this catalog entry in place, the ec2 related items will be available in the Horizon UI.

Note You need to log in before you can comment on or make changes to this bug.