Supporting EC2 Error Codes
The EC2 API has well defined Error Codes, which are usable by programs to take corrective action.
Without correct EC2 Error Codes it is very difficult to use the EC2 API.
'UnknownError' and 'EC2APIError' are really *not* useful.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Medium
- Drafter:
- Attila Fazekas
- Direction:
- Approved
- Assignee:
- Jakub Ružička
- Definition:
- Approved
- Series goal:
- Accepted for havana
- Implementation:
- Implemented
- Milestone target:
- 2013.2
- Started by
- Jakub Ružička
- Completed by
- Russell Bryant
Related branches
Related bugs
Sprints
Whiteboard
Any chance of getting this in grizzly? --Vish
This will very likely go into Havana. Patch is ready, it's just a matter of splitting it so that it's easy enough to review.
Gerrit topic: https:/
Addressed by: https:/
Improve EC2 error response code.
Addressed by: https:/
Improve EC2 API error responses.
Addressed by: https:/
Fix malformed format string.
Addressed by: https:/
Fix and unify EC2 API error response generation.
Addressed by: https:/
Improve EC2 API error responses.
Addressed by: https:/
Refactor EC2 API error handling code.
Addressed by: https:/
Improve EC2 API error responses
Addressed by: https:/
Fix EC2 API Fault wrapper
Addressed by: https:/
Make InvalidInstance
Addressed by: https:/
Improve parameter related EC2 error codes
Addressed by: https:/
Introduce Invalid* EC2 error codes
Addressed by: https:/
Introduce AuthFailure EC2 error code
Addressed by: https:/
Introduce IncorrectState EC2 error code
Addressed by: https:/
Introduce UnsupportedOper
Addressed by: https:/
Introduce SecurityGroupLi
Addressed by: https:/
Introduce InternalError EC2 error code
Addressed by: https:/
Improve EC2 API error responses
Addressed by: https:/
Remove EC2 postfix from InvalidInstance
Addressed by: https:/
Introduce InvalidPermissi
Work Items
Work items:
Use the exception class name instead of the UnknownError: DONE
Modify the Executor according to Code Changes part: DONE
Replace the EC2APIErrors: DONE
Add attributes to the existing exceptions: DONE
Modify the unit tests to do not allow incorrect EC2 Error Codes: DONE
Modify the unit tests to verify the correct EC2 Error Code: DONE
Fix the Server (faults.py) EC2 Error Codes: DONE