nova.network.lease_fixed_ip doesn't raise correct exceptions
Bug #873686 reported by
Nayna Patel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
nova.network.
Changed in nova: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
Changed in openstack-qa: | |
assignee: | nobody → Nachi Ueno (nati-ueno) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openstack-qa: | |
assignee: | Nachi Ueno (nati-ueno) → nobody |
Changed in nova: | |
assignee: | nobody → Bavirisetty Ramya (bavirisetty-ramya) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Bavirisetty Ramya (bavirisetty-ramya) → nobody |
Changed in nova: | |
status: | In Progress → Incomplete |
Changed in nova: | |
status: | Incomplete → New |
Changed in nova: | |
status: | New → Invalid |
no longer affects: | openstack-qa |
To post a comment you must log in.
There are actually 2 places in lease_fixed_ip where exceptions are thrown.
One =
if not instance_ref: Error(_ ('IP %s leased that is not associated') %
address)
raise exception.
which should indeed be a instanceNotFound.
However there is also a second exception which looks like it needs to stay as is (bad MAC).