Change default host reserved memory to 2048MB from 512MB
authorJoe Talerico <joe.talerico@gmail.com>
Thu, 19 Nov 2015 13:07:26 +0000 (08:07 -0500)
committerJoe Talerico <joe.talerico@gmail.com>
Thu, 19 Nov 2015 19:09:14 +0000 (14:09 -0500)
Results from pmap of idle nova-compute:
  https://gist.github.com/jtaleric/addd9079d6cdf4f7cf42

Results from free -m and cat /proc/meminfo:
  https://gist.github.com/jtaleric/410130f09c2aad2dc7e9

bug: https://bugzilla.redhat.com/show_bug.cgi?id=1282644
Change-Id: I9b3ceecabfdae0a516cfc72886fde7b26cc68f82

puppet/hieradata/compute.yaml

index 4a94c23..8858fd6 100644 (file)
@@ -15,6 +15,12 @@ nova::compute::rbd::rbd_keyring: 'client.openstack'
 nova::compute::rbd::libvirt_images_rbd_pool: 'vms'
 nova::compute::rbd::libvirt_rbd_secret_uuid: "%{hiera('ceph::profile::params::fsid')}"
 
+# Changing the default from 512MB. The current templates can not deploy
+# overclouds with swap. On an idle compute node, we see ~1024MB of RAM
+# used. 2048 is suggested to account for other possible operations for
+# example openvswitch.
+nova::compute::reserved_host_memory: 2048
+
 ceilometer::agent::auth::auth_tenant_name: 'service'
 
 compute_classes: []