← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1072762] Re: Incorrect EC2 error code (CreateKeyPair) Duplicate

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => grizzly-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1072762

Title:
   Incorrect EC2 error code (CreateKeyPair) Duplicate

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  On KeyPair duplication attempt CreateKeyPair requests must return with
  the " InvalidKeyPair.Duplicate" error code instead of the
  'KeyPairExists' according to the
  http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/api-
  error-codes.html.

  Note: The doc does not specifies exactly the which code to use from
  the 400-series . I guess 409 can be used here.

  Test System version:  openstack-nova-api-2012.2-1.fc18

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1072762/+subscriptions