We special-case how we handle the instance that we extract from the
request_spec data blob in virt.hardware.instance_topology_from_instance,
however, we were making wrong assumptions about the data we get from it
in the scheduler.
This patch fixes how it is handled and also updates the tests and
comments in the code to reflect it.
Reviewed: https:/ /review. openstack. org/121558 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=12b8b56807a f7ce3bbe330d738 64abc87cdadbf1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 12b8b56807af7ce 3bbe330d73864ab c87cdadbf1
Author: Nikola Dipanov <email address hidden>
Date: Mon Sep 15 15:32:56 2014 +0200
instance_ topology_ from_instance handles request_spec properly
We special-case how we handle the instance that we extract from the instance_ topology_ from_instance,
request_spec data blob in virt.hardware.
however, we were making wrong assumptions about the data we get from it
in the scheduler.
This patch fixes how it is handled and also updates the tests and
comments in the code to reflect it.
Change-Id: I38d7078d670bc3 7ddb40fba82fd0f 9cb74045047
Closes-bug: #1369508