Andrew Bogott has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/345381 )
Change subject: nova scheduler: scheduler_host_subset_size = 2 ...................................................................... nova scheduler: scheduler_host_subset_size = 2 Changing that from '1' to '2' makes the scheduler split new instances across the two least busy instances. This decreases the chances of us overwhelming one labvirt during floods of new instances. Bug: T161006 Change-Id: Ie11ceb9f411792e7607936c3dfbaf477ae853638 --- M modules/openstack/templates/liberty/nova/nova.conf.erb M modules/openstack/templates/mitaka/nova/nova.conf.erb 2 files changed, 4 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/81/345381/1 diff --git a/modules/openstack/templates/liberty/nova/nova.conf.erb b/modules/openstack/templates/liberty/nova/nova.conf.erb index 6ea57ac..6807c27 100644 --- a/modules/openstack/templates/liberty/nova/nova.conf.erb +++ b/modules/openstack/templates/liberty/nova/nova.conf.erb @@ -127,9 +127,8 @@ # are determined below, in the 'metrics' config section. scheduler_weight_classes=nova.scheduler.weights.metrics.MetricsWeigher -# For now, the MetricsWeigher will recommend only one, very best -# candidate -scheduler_host_subset_size = 1 +# Choose from the two best weighted candidates. +scheduler_host_subset_size = 2 [METRICS] diff --git a/modules/openstack/templates/mitaka/nova/nova.conf.erb b/modules/openstack/templates/mitaka/nova/nova.conf.erb index c37d475..b037129 100644 --- a/modules/openstack/templates/mitaka/nova/nova.conf.erb +++ b/modules/openstack/templates/mitaka/nova/nova.conf.erb @@ -124,9 +124,8 @@ # are determined below, in the 'metrics' config section. scheduler_weight_classes=nova.scheduler.weights.metrics.MetricsWeigher -# For now, the MetricsWeigher will recommend only one, very best -# candidate -scheduler_host_subset_size = 1 +# Choose from the two best weighted candidates. +scheduler_host_subset_size = 2 [METRICS] -- To view, visit https://gerrit.wikimedia.org/r/345381 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie11ceb9f411792e7607936c3dfbaf477ae853638 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Andrew Bogott <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
