ec2-token authentication broken

Bug #1174673 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steven Hardy

Bug Description

Since the move to keystoneclient authtoken and associated config-file refactoring, our ec2token filter is broken so authenticating with ec2-style credentials (e.g via heat-boto, cfn-init, cfn-hup etc) no longer works, you see this in the API log and the API returns 500:

INFO:heat.api.aws.ec2token:Checking AWS credentials..
2013-04-30 10:11:26.137 9073 INFO heat.api.aws.ec2token [-] AWS credentials found, checking against keystone.
INFO:heat.api.aws.ec2token:AWS credentials found, checking against keystone.
2013-04-30 10:11:26.137 9073 INFO heat.api.aws.ec2token [-] Authenticating with None
INFO:heat.api.aws.ec2token:Authenticating with None

# heat-boto list
ERROR:Failed to list. Got error:
ERROR:BotoServerError: 500 Internal Server Error
ERROR:None

Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steven Hardy (shardy)
milestone: none → havana-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/27800
Committed: http://github.com/openstack/heat/commit/cb381b90bd20551354e6ce5b0a99c836a3f777f5
Submitter: Jenkins
Branch: master

commit cb381b90bd20551354e6ce5b0a99c836a3f777f5
Author: Steven Hardy <email address hidden>
Date: Tue Apr 30 10:38:04 2013 +0100

    heat api: fix ec2token authentication

    Since the change merged from https://review.openstack.org/#/c/27383/
    ec2token auth no longer works, because there is a mismatch between
    the config file section name and the section specified in ec2token

    fixes bug #1174673

    Change-Id: I5c0465de5c023f587b677b10717ca3a08ba411b7

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-1 → 2013.2
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.