yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20506
[Bug 1199308] Re: Ambiguous exception class for validate_ec2_id
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-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/1199308
Title:
Ambiguous exception class for validate_ec2_id
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
The validate_ec2_id() method is used to validate both the Instance ID as well as Volume ID for valid EC2 ID format.
However the exception class raised in both cases, if the respective ID were invalid is "InvalidInstanceIDMalformed".
This is ambiguous and needs to be fixed such that a clearer exception is seen in the stack trace.
The exception class InvalidInstanceIDMalformed in exception.py could
be changed to something like InvalidEC2IDMalformed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1199308/+subscriptions