nova/nova/scheduler
Rajesh Tailor 8f5fbd83de Make host_aggregate_map dictionary case-insensitive
As of now, if hostname is set as "compute0.example.com" (in lower case)
and user tries to add this host to host-aggregate but by-mistake types
"COMPUTE0.example.com" (in capital case), then instead of throwing
HostNotFound error, that host is successfully added to host-aggregate
as "COMPUTE0.example.com". And after that if instance creation request
with flavor matching metadata as host-aggregate metadata comes, this
host is not filtered by scheduler, since there is no host with hostname
COMPUTE0.example.com, as added in host-aggregate.

Fixed the issue by lowercasing all hostnames in host_aggregate_map
dictionary.

Change-Id: Iee4b9bbf412adfdc6fdc62ea3429fb960d6ac2a2
Closes-Bug: 1709260
(cherry picked from commit 0dc0db932e)
2018-07-25 09:41:56 +00:00
..
client Handle @safe_connect returns None side effect in _ensure_resource_provider 2018-05-04 00:44:55 +01:00
filters Handle volume-backed instances in IsolatedHostsFilter 2018-02-12 15:13:53 -05:00
weights Change consecutive build failure limit to a weigher 2018-06-14 07:32:36 -07:00
__init__.py Improve hacking rule to avoid author markers 2014-05-05 14:35:20 +02:00
caching_scheduler.py Mark Chance and Caching schedulers as deprecated 2017-08-09 10:53:53 -07:00
chance.py Mark Chance and Caching schedulers as deprecated 2017-08-09 10:53:53 -07:00
driver.py placement: scheduler uses allocation candidates 2017-07-07 11:35:54 -04:00
filter_scheduler.py Fix an error in _get_host_states when deleting a compute node 2017-12-21 10:37:08 -05:00
host_manager.py Make host_aggregate_map dictionary case-insensitive 2018-07-25 09:41:56 +00:00
ironic_host_manager.py Change consecutive build failure limit to a weigher 2018-06-14 07:32:36 -07:00
manager.py Skip placement on rebuild in same host 2018-05-09 16:33:01 +01:00
rpcapi.py conf: remove *_topic config opts 2017-07-17 21:27:02 -07:00
utils.py Refined fix for validating image on rebuild 2017-11-27 20:51:11 -05:00