test_libvirt missing uuid field in instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Michael Still |
Bug Description
I ran into this in RHEL 6.2 with nova/run_tests.sh in the non-virtual environment. Test "test_destroy_
Adding a 'uuid' field with a value of zero (around line 1157) gets the test to complete.
Here's the trace.
./run_tests.sh -N
=======
ERROR: test_destroy_saved (nova.tests.
-------
Traceback (most recent call last):
File "/tmp/kens/
func(*args, **kw)
File "/tmp/kens/
conn.
File "/tmp/kens/
cleanup=True)
File "/tmp/kens/
network_
File "/tmp/kens/
'filtered'), instance=instance)
File "/tmp/kens/
self.
File "/tmp/kens/
% params[
KeyError: 'uuid'
Changed in nova: | |
assignee: | nobody → Ken Thomas (krt) |
Changed in nova: | |
milestone: | none → essex-4 |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Ken -- I introduced this bug, and I'm happy to fix it if you're not actively working on it already. It should just be a case of adding a uuid to the fake instance in whatever unit test this is. It should have that anyways, because uuids are used all over the place now.