From c6c0e46c6812ddb3f35c3cf8074bd5f99b1b66f3 Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 27 Feb 2019 10:44:38 +0100 Subject: [PATCH] Randomize selection of allocation candidates Ensure a good distribution of instances across candidate hypervisors by randomly sampling from the full set of allocation candidates returned when scheduling new instances Change-Id: I15b824cddef1978d910f72cd6cbb884460223ce6 Closes-Bug: 1817877 --- templates/parts/section-placement | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/parts/section-placement b/templates/parts/section-placement index 56f51da4..97724bdb 100644 --- a/templates/parts/section-placement +++ b/templates/parts/section-placement @@ -16,3 +16,4 @@ password = {{ admin_password }} {% if region -%} os_region_name = {{ region }} {% endif -%} +randomize_allocation_candidates = true