nova/nova/conductor
Matt Riedemann 8fc789deb7 Restrict live migration to same cell
We do not yet support live migrating an instance
across cells. This change handles two cases for
live migration:

1. The destination host is forced so the scheduler
   is bypassed. In this case we directly compare the
   source cell against the destination cell and fail
   if they are not the same with a MigrationPreCheckError.

2. If no destination host is specified, or it's not forced,
   we update the RequestSpec sent to the scheduler so it
   will restrict the compute nodes it pulls from the same
   cell that the instance lives in. If a host is requested
   in this case but it's in a different cell, it would result
   in a NoValidHost error from the scheduler.

Change-Id: I66fc72d402ac118270a835cf929fe1ea387d78cd
Closes-Bug: #1712008
2017-08-22 19:36:53 -04:00
..
tasks Restrict live migration to same cell 2017-08-22 19:36:53 -04:00
__init__.py Remove conductor local api:s and 'use_local' config option 2016-10-18 14:26:06 +02:00
api.py Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
manager.py Merge "Remove translation of log messages" 2017-08-10 11:39:03 +00:00
rpcapi.py Default reservations=None in Cells v1 and conductor APIs 2017-07-14 12:25:58 +00:00