Running "nova-manage floating list" on one of our clusters, I get an uncaught InstanceNotFound exception. Now, I guess this might be a DB problem on our side, but I also think that nova-manage should catch it and not crash out.
2012-03-26 03:13:48 CRITICAL nova [req-4cf3eb24-f0da-4afc-a1f2-a942eabb3bdf None None] Instance 6727 could not be found.
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "./nova-manage", line 2202, in <module>
(nova): TRACE: main()
(nova): TRACE: File "./nova-manage", line 2189, in main
(nova): TRACE: fn(*fn_args, **fn_kwargs)
(nova): TRACE: File "./nova-manage", line 683, in list
(nova): TRACE: instance = db.instance_get(ctxt, fixed_ip['instance_id'])
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 591, in instance_get
(nova): TRACE: return IMPL.instance_get(context, instance_id)
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 119, in wrapper
(nova): TRACE: return f(*args, **kwargs)
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 1459, in instance_get
(nova): TRACE: raise exception.InstanceNotFound(instance_id=instance_id)
(nova): TRACE: InstanceNotFound: Instance 6727 could not be found.
(nova): TRACE:
Fix proposed to branch: master /review. openstack. org/5799
Review: https:/