← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1323813] [NEW] Invalid ec2 error code for absent volumes and snapshots

 

Public bug reported:

ec2-api returns InvalidVolumeID.NotFound and InvalidSnapshotID.NotFound for absent volumes and snapshots.
But AWS returns InvalidVolume.NotFound and InvalidSnapshot.NotFound as it is documented in http://docs.aws.amazon.com/AWSEC2/latest/APIReference/api-error-codes.html

For example this affects Tempest. Tempest expects correct (AWS version)
errors in waitXXXStatus functions and raises an error if other error
cames for absent objects. So it make difficult writting tests.

** Affects: nova
     Importance: Undecided
     Assignee: Feodor Tersin (ftersin)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Feodor Tersin (ftersin)

-- 
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/1323813

Title:
  Invalid ec2 error code for absent volumes and snapshots

Status in OpenStack Compute (Nova):
  New

Bug description:
  ec2-api returns InvalidVolumeID.NotFound and InvalidSnapshotID.NotFound for absent volumes and snapshots.
  But AWS returns InvalidVolume.NotFound and InvalidSnapshot.NotFound as it is documented in http://docs.aws.amazon.com/AWSEC2/latest/APIReference/api-error-codes.html

  For example this affects Tempest. Tempest expects correct (AWS
  version) errors in waitXXXStatus functions and raises an error if
  other error cames for absent objects. So it make difficult writting
  tests.

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


Follow ups

References