nova-manage floating list command failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Ray |
Bug Description
I use devstack to install the latest nova code and then I create some vms and terminate them. After these operations, I found I can't use nova-manage floating list to see the status of the floating list, it shows me:
ray@openstack-
2012-08-02 18:04:26 DEBUG nova.utils [req-362967cf-
Command failed, please check log for more info
Then I tried to print out the Exception in main() in nova-manage, I got:
ray@openstack-
2012-08-02 18:05:52 DEBUG nova.utils [req-6212831f-
local variable 'instance_uuid' referenced before assignment
Command failed, please check log for more info
After I modified the instance_uuid = None on line 414, seems everything goes well.
413 for floating_ip in floating_ips:
414 instance_id = None
415 if floating_
416 fixed_ip = db.fixed_
417 instance_uuid = fixed_ip[
418
419 print "%s\t%s\
420 floating_
421 instance_uuid,
422 floating_
423 floating_
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/10712
Review: https:/