Set the nova scheduler ram_allocation_ration to 1.0
authorEmilien Macchi <emilien@redhat.com>
Mon, 31 Aug 2015 16:35:20 +0000 (12:35 -0400)
committermarios <marios@redhat.com>
Wed, 2 Sep 2015 10:34:32 +0000 (13:34 +0300)
We don't have swap space enabled on overcloud-full deploys
as discussed at https://bugs.launchpad.net/tripleo/+bug/1491335

The default is 1.5 so configure Virtual ram to physical ram
allocation ratio to 1:1 so we don't allow overcommit.

Related-Bug: 1491335
Change-Id: I58cfe6dc68e8615a5519428412dec8c653bd6093

puppet/hieradata/controller.yaml
puppet/manifests/overcloud_controller.pp
puppet/manifests/overcloud_controller_pacemaker.pp

index 1ae076d..08ea3eb 100644 (file)
@@ -75,6 +75,7 @@ neutron::agents::dhcp::dnsmasq_config_file: /etc/neutron/dnsmasq-neutron.conf
 # nova
 nova::notify_on_state_change: 'vm_and_task_state'
 nova::api::osapi_v3: true
+nova::scheduler::filter::ram_allocation_ratio: '1.0'
 
 nova::config::nova_config:
   DEFAULT/default_floating_pool:
index b001d66..15a239d 100644 (file)
@@ -218,6 +218,7 @@ if hiera('step') >= 3 {
   include ::nova::network::neutron
   include ::nova::vncproxy
   include ::nova::scheduler
+  include ::nova::scheduler::filter
 
   include ::neutron
   include ::neutron::server
index cfd30f1..ca953d7 100644 (file)
@@ -561,6 +561,7 @@ if hiera('step') >= 3 {
     manage_service => false,
     enabled => false,
   }
+  include ::nova::scheduler::filter
   class { '::nova::scheduler' :
     manage_service => false,
     enabled => false,