compute API's KeyPairExists errors cause KeyError to be logged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Dan Prince |
Bug Description
When trying to create two keypairs of the same name I see the following log ERROR in Nova's api.log file:
ST http://
2012-07-09 15:28:20 ERROR nova.exception [req-e8af3a90-
2012-07-09 15:28:20 TRACE nova.exception Traceback (most recent call last):
2012-07-09 15:28:20 TRACE nova.exception File "/usr/lib/
2012-07-09 15:28:20 TRACE nova.exception message = self.message % kwargs
2012-07-09 15:28:20 TRACE nova.exception KeyError: u'key_name'
2012-07-09 15:28:20 TRACE nova.exception
2012-07-09 15:28:20 ERROR nova.exception [req-e8af3a90-
----
Looks like we need to ensure 'key_name' is passed to the KeyPairExists constructor.
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
Fix proposed to branch: master/review.openstack.org/9522
Review: https:/