Invalid ec2 credentials result in a key error + 400 Bad Request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Vish Ishaya |
Bug Description
Using incorrect EC2 credentials in an API request results in a KeyError + trace in nova-api.log and a 400 returned to the client:
2012-01-26 18:58:30,196 INFO nova.api [req-e6bca891-
2012-01-26 18:58:34,166 ERROR nova.api [-] 'access'
(nova.api): TRACE: Traceback (most recent call last):
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: token_id = result[
(nova.api): TRACE: KeyError: 'access'
(nova.api): TRACE:
2012-01-26 18:58:34,167 INFO nova.api [-] 0.18230s 192.168.20.1 POST /services/Cloud/ None:None 400 [Boto/2.0 (linux2)] application/
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/3500
Review: https:/