500 error with duplicate key pairs

Bug #902162 reported by Nachi Ueno on 2011-12-09
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Nirmal Ranganathan

Bug Description

500 error with duplicate key pairs
This must be 400 Bad Request.



keyname=test38116997634 <- This name is already registered.


resp={'date': 'Thu, 01 Dec 2011 02:52:16 GMT', 'status': '500', 'content-length': '133', 'content-type': 'application/json; charset=UTF-8'}
body={"cloudServersFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}

Rohit Karajgi (rohitk) on 2011-12-09
summary: - 500 error with depilated key pairs
+ 500 error with duplicate key pairs
description: updated
Thierry Carrez (ttx) on 2011-12-21
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Changed in nova:
assignee: nobody → Nirmal Ranganathan (rnirmal)
Changed in nova:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/3699
Committed: http://github.com/openstack/nova/commit/999db21e1a5a0944535e0fb0fd2478ab1647d85b
Submitter: Jenkins
Branch: master

commit 999db21e1a5a0944535e0fb0fd2478ab1647d85b
Author: Nirmal Ranganathan <email address hidden>
Date: Thu Feb 2 14:19:57 2012 -0600

    Throw an user error on creating duplicate keypairs
    Fixes bug 902162

    Change-Id: I1b73943aab338bde90b4d47bc015964e9981af5d

Changed in nova:
status: In Progress → Fix Committed
Brian Waldon (bcwaldon) on 2012-02-02
Changed in nova:
milestone: none → essex-4
no longer affects: openstack-qa
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers