500 Error on DELETE key pair with invalid keypair name

Bug #900924 reported by Nachi Ueno on 2011-12-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Brian Waldon

Bug Description

I got 500 Internal Server Error on
https://servers.api.openstack.com/v1.1//{tenantId}/os-keypairs/{keyID} with Invalid KeyID

HTTP/1.1 500 Internal Server Error {"cloudServersFault": {"message": "Keypair %(keypair_name)s not found for user %(user_id)s", "code": 500}}

This should be 404 Not Found.

Thierry Carrez (ttx) on 2011-12-21
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Brian Waldon (bcwaldon) on 2012-01-29
no longer affects: openstack-qa
Changed in nova:
assignee: nobody → Brian Waldon (bcwaldon)
Brian Waldon (bcwaldon) on 2012-01-29
Changed in nova:
status: Confirmed → In Progress
Brian Waldon (bcwaldon) on 2012-01-29
Changed in nova:
milestone: none → essex-4

Reviewed: https://review.openstack.org/3529
Committed: http://github.com/openstack/nova/commit/271acd8a0434a1e23d29df26cb1a211d1c28d8cf
Submitter: Jenkins
Branch: master

commit 271acd8a0434a1e23d29df26cb1a211d1c28d8cf
Author: Brian Waldon <email address hidden>
Date: Sat Jan 28 19:26:29 2012 -0800

    Handle kepair delete when not found

    Fixes bug 900924

    Change-Id: Icd0a1f69c0fb7c15110bbf0c416e38cdc1147f4d

Changed in nova:
status: In Progress → Fix Committed
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.

Other bug subscribers