Since cells v1 adds a proxy to a call to ComputeTaskAPI for live_migrate
and rebuild_instance, we need to augment the Cells RPC API to accept
the request_spec argument for both methods.
That said, since cells v1 is quite feature-freeze, it's okay to not pass
the RequestSpec down to the pipe because the cell conductor will then
act as if the instance was not having a Spec object, which is a compat
behaviour we want to keep for a very long time.
Reviewed: https:/ /review. openstack. org/284959 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=9ab6840af64 d6af58baf51040a fe86a3324221e5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9ab6840af64d6af 58baf51040afe86 a3324221e5
Author: Sylvain Bauza <email address hidden>
Date: Thu Feb 25 22:57:28 2016 +0100
Fix Cells RPC API by accepting a RequestSpec arg
Since cells v1 adds a proxy to a call to ComputeTaskAPI for live_migrate
and rebuild_instance, we need to augment the Cells RPC API to accept
the request_spec argument for both methods.
That said, since cells v1 is quite feature-freeze, it's okay to not pass
the RequestSpec down to the pipe because the cell conductor will then
act as if the instance was not having a Spec object, which is a compat
behaviour we want to keep for a very long time.
Closes-Bug: #1550018
Change-Id: I1c2aaedfc83e4e 97f53c9c504e458 5b1f0510d4b