nova-manage fixed list Keyerror when fixed ip allocated to missing instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Dan Prince |
Bug Description
Getting the following error from 'nova-manage fixed list' when my DB has fixed ip's allocated to deleted instances.
network IP address hostname host
192.168.0.0/24 192.168.0.0 None None
192.168.0.0/24 192.168.0.1 None None
192.168.0.0/24 192.168.0.2 None None
Command failed, please check log for more info
2012-03-13 03:43:37 CRITICAL nova [req-bc37622d-
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/
(nova): TRACE: main()
(nova): TRACE: File "/usr/bin/
(nova): TRACE: fn(*fn_args, **fn_kwargs)
(nova): TRACE: File "/usr/bin/
(nova): TRACE: instance = instances_
(nova): TRACE: KeyError: 5L
(nova): TRACE:
This state shouldn't happen.... (if it does there is something wrong with Nova) but it seems like nova-manage should handle it better.
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
tags: | added: canonistack |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/5264
Review: https:/