nova/nova/conductor/tasks
Sylvain Bauza c71c4e01b2 Stop providing force_hosts to the scheduler for move ops
Since now we provide the original RequestSpec for move operations (unshelve,
live-migrate and evacuate), it can also provide the original force_hosts/nodes
to the scheduler.
In that case, it means that if an admin was asking to boot an instance forcing
to an host, a later move operation could then give again the forced value and
then wouldn't permit to get a different destination which is an issue.

TBH, that is not a problem for live-migrate and evacuate that do provide an
optional host value (which bypasses then the scheduler) but since unshelve
is not having this optional value, it would mean that we could only unshelve
an forced instance to the same host.

Change-Id: I03c22ff757d0ee1da9d69fa48cc4bdd036e6b13f
Closes-Bug: #1561357
(cherry picked from commit 446d15568e)
2016-03-25 20:35:28 +00:00
..
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
base.py Create class hierarchy for tasks in conductor 2015-07-30 17:35:56 +03:00
live_migrate.py Stop providing force_hosts to the scheduler for move ops 2016-03-25 20:35:28 +00:00
migrate.py Modify conductor to use RequestSpec object 2015-12-31 09:36:58 +00:00