)]}'
{"doc/source/filter_scheduler.rst":[{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"cb84cfdcbb20a4a56199a0195c93911ad55b6d2f","unresolved":false,"context_lines":[{"line_number":13,"context_line":"During its work Filter Scheduler firstly makes dictionary of unfiltered hosts,"},{"line_number":14,"context_line":"then filters them using filter properties and finally chooses hosts for the"},{"line_number":15,"context_line":"requested number of instances (each time it chooses the most weighed host and"},{"line_number":16,"context_line":"appends it to the list of selected hosts)."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If it turns up, that it can\u0027t find candidates for the next instance, it means"},{"line_number":19,"context_line":"that there are no more appropriate hosts where the instance could be scheduled."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a740942_b021e2b6","side":"PARENT","line":16,"updated":"2015-12-09 17:03:14.000000000","message":"Done. I\u0027ve gone with something that I hope gets the intent of what you\u0027re trying to say but with a bit different ordering.","commit_id":"3f8c69b2ef3eef886e36c0b7f397b83a36a7beb8"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"85212dc6041e030f312c6a16ed97e17bc0d80f5d","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":".. image:: ./images/filteringWorkflow1.png"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"During its work Filter Scheduler first makes dictionaries of unfiltered hosts,"},{"line_number":14,"context_line":"then filters them using filter properties and finally chooses hosts for the"},{"line_number":15,"context_line":"requested number of instances (each time it chooses the most weighed host and"},{"line_number":16,"context_line":"appends it to the list of selected hosts)."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"If the Scheduler cannot find candidates for the next instance, it means that"},{"line_number":19,"context_line":"there are no appropriate hosts where that instance can be scheduled."}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a740942_dcfccf74","line":16,"range":{"start_line":13,"start_character":0,"end_line":16,"end_character":42},"updated":"2015-12-09 15:48:09.000000000","message":"Well, we can just take the opportunity to say rather :\n\"During its work Filter Scheuler iterates over all found up compute nodes by verifying each filter and then eventually each weigher for finally picking up the number of needed hosts for the requested number of instances (each time blah blah blah)\nIn order to know if a filter succeeds for a specific host, it matches the user request against the host state plus some extra magic depending on the filter.\"\n\nI\u0027m not zactly a good English-narrative guy, so feel free to modify my comment.","commit_id":"5701e2ebb9aab82120fccfa710337dabac55d055"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"cb84cfdcbb20a4a56199a0195c93911ad55b6d2f","unresolved":false,"context_lines":[{"line_number":104,"context_line":"  fall back to the global default ``disk_allocation_ratio``. If more than one value"},{"line_number":105,"context_line":"  is found for a host (meaning the host is in two or more different aggregates with"},{"line_number":106,"context_line":"  different ratio settings), the minimum value will be used."},{"line_number":107,"context_line":"* |NumInstancesFilter| - filters hosts by number of running instances. Hosts"},{"line_number":108,"context_line":"  with too many instances will be filtered."},{"line_number":109,"context_line":"  ``max_instances_per_host`` setting. Maximum number of instances allowed to run on"},{"line_number":110,"context_line":"  this host. The host will be ignored by the scheduler if more than ``max_instances_per_host``"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a740942_502e7ea6","line":107,"updated":"2015-12-09 17:03:14.000000000","message":"Are you suggesting I make a change here, a change everywhere I say \"filters hosts\", or just commenting so that I understand the details of how things work no actual change required?","commit_id":"5701e2ebb9aab82120fccfa710337dabac55d055"},{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"85212dc6041e030f312c6a16ed97e17bc0d80f5d","unresolved":false,"context_lines":[{"line_number":104,"context_line":"  fall back to the global default ``disk_allocation_ratio``. If more than one value"},{"line_number":105,"context_line":"  is found for a host (meaning the host is in two or more different aggregates with"},{"line_number":106,"context_line":"  different ratio settings), the minimum value will be used."},{"line_number":107,"context_line":"* |NumInstancesFilter| - filters hosts by number of running instances. Hosts"},{"line_number":108,"context_line":"  with too many instances will be filtered."},{"line_number":109,"context_line":"  ``max_instances_per_host`` setting. Maximum number of instances allowed to run on"},{"line_number":110,"context_line":"  this host. The host will be ignored by the scheduler if more than ``max_instances_per_host``"}],"source_content_type":"text/x-rst","patch_set":1,"id":"7a740942_7cf83b4a","line":107,"range":{"start_line":107,"start_character":33,"end_line":107,"end_character":38},"updated":"2015-12-09 15:48:09.000000000","message":"Technically that\u0027s compute nodes, not hosts.\n\nYou\u0027ll see that Nova has host !\u003d compute node, because one physical service like nova-compute can be running a list of virtual nodes (eg. Ironic).\nYeah, I know, it\u0027s scary and it\u0027s planned to change, but that\u0027s the debt we pay now.","commit_id":"5701e2ebb9aab82120fccfa710337dabac55d055"}]}
