Association of not allocated floating IP or floating IP allocated for another project are not throwing proper error messages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Sirisha Devineni |
Bug Description
While trying to associate floating IP to an instance, following exceptions are not throwing proper error messages instead displaying a generic message "ERROR: Error. Unable to associate floating ip (HTTP 400)".
$ nova add-floating-ip 98fef839-
$ERROR: Error. Unable to associate floating ip (HTTP 400) (Request-ID: req-b3de0fd5-
Expected Result: Address not allocated to your project or not authorized to use the address
$ nova add-floating-ip 98fef839-
$Error. Unable to associate floating ip (HTTP 400)
Expected Result: Floating ip not found for address 10.233.52.7
In $nova/api/
If the error messages for above two scenarios can be specific to the point, it will be easy to user to identify the problem.
Changed in nova: | |
assignee: | nobody → Sirisha Devineni (sirisha-devineni) |
Changed in nova: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-1 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/13826
Review: https:/