-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify requested_destination in the scheduler
Now that the RequestSpec provides a field for a requested destination, we can know if the admin user provided a destination to verify (and not force it). In order to verify this destination, we want to run the filters for only this host, so that if the filters are not okay for that possibility, the scheduler should raise a NoValidHost exception. For the moment, nothing is setting this field but the next patch will provide an API-level modification for putting it if the provided destination exists (and changing the behaviour if the admin provides the host field for evacuate and live-migrate) Change-Id: Ifb803c708e89b7101ded48571e1af49c33117758 Partially-Implements: blueprint check-destination-on-migrations
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters