tripleo-heat-templates/environments/low-memory-usage.yaml
yatinkarel 5e83eeda5b Override ovn::controller::hostname to use hiera:fqdn_canonical
ovn::controller::hostname defaults to ::fqdn,
hostname can differ based on how nova configures it, detected
when dhcp_domain name is removed in [1].
So it's good to rely on fqdn_canonical hiera key which
nova also relies on to set "host" in nova.conf.

Also use neutron_timeout instead of neutron_url_timeout
which was deprecated for long and is removed in [1].

[1] https://review.opendev.org/#/c/658400/

Related-Bug: #1829993
Change-Id: If52302b5a04b5e146ac53ccd3fc65a064b2df2fb
2019-05-22 14:48:21 +05:30

30 lines
670 B
YAML

# Lower the memory usage of overcloud.
parameter_defaults:
CinderWorkers: 1
GlanceWorkers: 1
HeatWorkers: 1
KeystoneWorkers: 1
NeutronWorkers: 1
NovaWorkers: 1
NovaSchedulerWorkers: 1
SaharaWorkers: 1
SwiftWorkers: 1
PlacementWorkers: 1
GnocchiMetricdWorkers: 1
ApacheMaxRequestWorkers: 100
ApacheServerLimit: 100
ControllerExtraConfig:
'nova::network::neutron::neutron_timeout': '60'
DatabaseSyncTimeout: 900
# Override defaults to get HEALTH_OK with 1 OSD (for testing only)
CephPoolDefaultSize: 1
CephPoolDefaultPgNum: 16
ManilaCephFSDataPoolPGNum: 16
ManilaCephFSMetadataPoolPGNum: 16
NovaReservedHostMemory: 512