Code review comment for lp://qastaging/~klmitch/nova/os_int_tests

Revision history for this message
Kevin L. Mitchell (klmitch) wrote :

On Tue, 2011-05-31 at 18:08 +0000, Brian Lamar wrote:
> Review: Needs Information
> Also, any idea why I'm getting this:
>
> (nova): TRACE: Traceback (most recent call last):
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/rpc.py", line 198, in _receive
> (nova): TRACE: rval = node_func(context=ctxt, **node_args)
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 87, in _wrap
> (nova): TRACE: return f(*args, **kw)
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 105, in decorated_function
> (nova): TRACE: function(self, context, instance_id, *args, **kwargs)
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 564, in prep_resize
> (nova): TRACE: 'Migration error: destination same as source!'))
> (nova): TRACE: Error: Migration error: destination same as source!
> (nova): TRACE:
>
> during testing?[snip]

This turns out to be a known issue with resizing--resizes require a
second host to migrate the instance to, since both instances have to
exist for a period of time. So, if you're using a single dev box, like
I do, or if the simple scheduler picks the same host as the instance
you're trying to resize, you get this migration error.

(At least it says "Migration error" now; when I first saw this, the
error looked like an invalid entity...)
--
Kevin L. Mitchell <email address hidden>

« Back to merge proposal