Instance not found bug when delete instance without nova-compute service

Bug #1087588 reported by Peng YuWei
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
Unassigned

Bug Description

If you delete a instance when nova-compute service not running, call
nova floating-ip-list
will raise
InstanceNotFound: Instance 7157e105-8564-457f-8e0e-a3dd6fd09863 could not be found.
bug in nova-API. And floating-ip-list got nothing but a error.

Look the code in
nova/api/openstack/compute/contrib/floating_ips.py
we can see if call floating-list, it will get instance_uuid first.
If instance_uuid not exist in table instances, it will raise a exception.

query nova database, I see the instance_uuid not remove in table 'fixed_ips'

Revision history for this message
Chuck Short (zulcss) wrote :

Which version is this with?

Changed in nova:
status: New → Incomplete
Revision history for this message
Peng YuWei (pengyuwei) wrote :

I used folsom version, the last commit is :

* commit 3d418dcf860894523eff62a8338d09d58e994b0e
|\ Merge: e76848a 8b4896b
| | Author: Jenkins <email address hidden>
| | Date: Sun Nov 4 00:49:54 2012 +0000
| |
| | Merge "handles empty dhcp_domain with hostname in metadata" into stable/folsom

Michael Still (mikal)
Changed in nova:
status: Incomplete → Triaged
importance: Undecided → Critical
Revision history for this message
Dan Smith (danms) wrote :

Note that I cannot reproduce this in current master

Revision history for this message
Dan Smith (danms) wrote :

This was fixed in folsom in commit c0e12477f2d85003b4f8fa223f769e285ec4cb93 and is in 2012.2.2

Revision history for this message
Dan Smith (danms) wrote :

I've tested that this no longer occurs in 2012.2.2

Changed in nova:
milestone: none → 2012.2.2
status: Triaged → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote :

Actually fixed in grizzly-1 and 2012.2.1

Changed in nova:
milestone: 2012.2.2 → grizzly-2
milestone: grizzly-2 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.