diff --git a/manifests/aodh.pp b/manifests/aodh.pp index a206681d5..4ab8574b7 100644 --- a/manifests/aodh.pp +++ b/manifests/aodh.pp @@ -98,13 +98,18 @@ class openstack_integration::aodh ( password => 'a_big_secret', } class { 'aodh::client': } - class { 'aodh::notifier': } - class { 'aodh::listener': } + class { 'aodh::notifier': + workers => 2, + } + class { 'aodh::listener': + workers => 2, + } class { 'aodh::coordination': backend_url => $::openstack_integration::config::tooz_url, } class { 'aodh::evaluator': evaluation_interval => 10, + workers => 2, } class { 'aodh::expirer': } diff --git a/manifests/ceilometer.pp b/manifests/ceilometer.pp index 71fe7b987..169ac88ed 100644 --- a/manifests/ceilometer.pp +++ b/manifests/ceilometer.pp @@ -81,7 +81,7 @@ class openstack_integration::ceilometer ( backend_url => $::openstack_integration::config::tooz_url, } class { 'ceilometer::agent::notification': - workers => '2', + workers => 2, manage_pipeline => true, pipeline_publishers => $sample_pipeline_publishers, manage_event_pipeline => true, diff --git a/manifests/designate.pp b/manifests/designate.pp index 50526ca61..6a76d0d2d 100644 --- a/manifests/designate.pp +++ b/manifests/designate.pp @@ -86,18 +86,25 @@ class openstack_integration::designate { ssl_key => "/etc/designate/ssl/private/${facts['networking']['fqdn']}.pem", ssl_cert => $::openstack_integration::params::cert_path, ssl => $::openstack_integration::config::ssl, - workers => '2', + workers => 2, } class { 'designate::mdns': - listen => "${::openstack_integration::config::ip_for_url}:5354" + listen => "${::openstack_integration::config::ip_for_url}:5354", + workers => 2, } - class { 'designate::central': } + class { 'designate::central': + workers => 2, + } - class { 'designate::producer': } + class { 'designate::producer': + workers => 2, + } - class { 'designate::worker': } + class { 'designate::worker': + workers => 2, + } class { 'designate::backend::bind9': nameservers => [$::openstack_integration::config::host], diff --git a/manifests/ec2api.pp b/manifests/ec2api.pp index ea9ceb2ea..79a8e0ccf 100644 --- a/manifests/ec2api.pp +++ b/manifests/ec2api.pp @@ -63,11 +63,13 @@ class openstack_integration::ec2api { ec2api_use_ssl => $::openstack_integration::config::ssl, ssl_cert_file => $::openstack_integration::params::cert_path, ssl_key_file => "/etc/ec2api/ssl/private/${facts['networking']['fqdn']}.pem", + ec2api_workers => 2, } class { 'ec2api::metadata': nova_metadata_ip => $::openstack_integration::config::host, metadata_listen => $::openstack_integration::config::host, metadata_use_ssl => $::openstack_integration::config::ssl, + metadata_workers => 2, } } 'Debian': { diff --git a/manifests/horizon.pp b/manifests/horizon.pp index 2234c3454..3261873d6 100644 --- a/manifests/horizon.pp +++ b/manifests/horizon.pp @@ -57,6 +57,7 @@ class openstack_integration::horizon ( ssl_key => "/etc/openstack-dashboard/ssl/private/${facts['networking']['fqdn']}.pem", ssl_ca => $::openstack_integration::params::ca_bundle_cert_path, ssl_verify_client => 'optional', + wsgi_processes => 2, keystone_url => $::openstack_integration::config::keystone_auth_uri, log_level => 'DEBUG', # need to disable offline compression due to diff --git a/manifests/magnum.pp b/manifests/magnum.pp index eaf3519de..682983a10 100644 --- a/manifests/magnum.pp +++ b/manifests/magnum.pp @@ -108,7 +108,9 @@ class openstack_integration::magnum ( ssl_key_file => $key_file } - class { 'magnum::conductor': } + class { 'magnum::conductor': + workers => 2, + } class { 'magnum::client': } class { 'magnum::certificates': cert_manager_type => $cert_manager_type diff --git a/manifests/murano.pp b/manifests/murano.pp index aed85a3a1..90987cbd3 100644 --- a/manifests/murano.pp +++ b/manifests/murano.pp @@ -94,10 +94,13 @@ class openstack_integration::murano { key_file => "/etc/murano/ssl/private/${facts['networking']['fqdn']}.pem", } class { 'murano::api': - host => $::openstack_integration::config::host, + host => $::openstack_integration::config::host, + workers => 2, } - class { 'murano::engine': } + class { 'murano::engine': + workers => 2, + } class { 'murano::keystone::auth': public_url => "${::openstack_integration::config::base_url}:8082", diff --git a/manifests/nova.pp b/manifests/nova.pp index 2f6a01a92..eb509af20 100644 --- a/manifests/nova.pp +++ b/manifests/nova.pp @@ -176,21 +176,23 @@ class openstack_integration::nova ( ssl_key => "/etc/nova/ssl/private/${facts['networking']['fqdn']}.pem", ssl_cert => $::openstack_integration::params::cert_path, ssl => $::openstack_integration::config::ssl, - workers => '2', + workers => 2, } class { 'nova::wsgi::apache_metadata': bind_host => $::openstack_integration::config::host, ssl_key => "/etc/nova/ssl/private/${facts['networking']['fqdn']}.pem", ssl_cert => $::openstack_integration::params::cert_path, ssl => $::openstack_integration::config::ssl, - workers => '2', + workers => 2, } class { 'nova::placement': auth_url => $::openstack_integration::config::keystone_admin_uri, password => 'a_big_secret', } class { 'nova::client': } - class { 'nova::conductor': } + class { 'nova::conductor': + workers => 2, + } class { 'nova::cron::archive_deleted_rows': } if $volume_encryption { class { 'nova::key_manager': @@ -257,7 +259,9 @@ class openstack_integration::nova ( include openstacklib::iscsid Service['iscsid'] -> Service['nova-compute'] } - class { 'nova::scheduler': } + class { 'nova::scheduler': + workers => 2, + } class { 'nova::scheduler::filter': } class { 'nova::vncproxy': host => $::openstack_integration::config::host diff --git a/manifests/octavia.pp b/manifests/octavia.pp index 84df4180e..f2b7be876 100644 --- a/manifests/octavia.pp +++ b/manifests/octavia.pp @@ -205,8 +205,11 @@ class openstack_integration::octavia ( } class { 'octavia::worker': + workers => 2, } class { 'octavia::health_manager': + health_update_threads => 2, + stats_update_threads => 2, } class { 'octavia::housekeeping': } diff --git a/manifests/placement.pp b/manifests/placement.pp index 0482580f1..7dda5bba4 100644 --- a/manifests/placement.pp +++ b/manifests/placement.pp @@ -68,7 +68,7 @@ class openstack_integration::placement { ssl_key => "/etc/placement/ssl/private/${facts['networking']['fqdn']}.pem", ssl_cert => $::openstack_integration::params::cert_path, ssl => $::openstack_integration::config::ssl, - workers => '2', + workers => 2, } } } diff --git a/manifests/qdr.pp b/manifests/qdr.pp index 29a440bec..7cea2daa2 100644 --- a/manifests/qdr.pp +++ b/manifests/qdr.pp @@ -51,5 +51,6 @@ class openstack_integration::qdr { listener_sasl_mech => 'PLAIN', listener_auth_peer => true, extra_addresses => $extra_addresses, + router_worker_threads => 2, } } diff --git a/manifests/swift.pp b/manifests/swift.pp index 190eb7807..e0060cb0f 100644 --- a/manifests/swift.pp +++ b/manifests/swift.pp @@ -49,7 +49,7 @@ class openstack_integration::swift { # proxy server class { 'swift::proxy': proxy_local_net_ip => $::openstack_integration::config::host, - workers => '2', + workers => 2, pipeline => [ 'catch_errors', 'gatekeeper', 'healthcheck', 'proxy-logging', 'cache', 'listing_formats', 'container_sync', 'bulk', 'tempurl', 'ratelimit', @@ -136,11 +136,14 @@ class openstack_integration::swift { # storage servers class { 'swift::storage::all': - storage_local_net_ip => $::openstack_integration::config::host, - mount_check => false, - account_pipeline => ['healthcheck', 'recon', 'account-server'], - container_pipeline => ['healthcheck', 'recon', 'container-server'], - object_pipeline => ['healthcheck', 'recon', 'object-server'], + storage_local_net_ip => $::openstack_integration::config::host, + mount_check => false, + account_pipeline => ['healthcheck', 'recon', 'account-server'], + container_pipeline => ['healthcheck', 'recon', 'container-server'], + object_pipeline => ['healthcheck', 'recon', 'object-server'], + account_server_workers => 2, + container_server_workers => 2, + object_server_workers => 2, } $swift_components = ['account', 'container', 'object'] swift::storage::filter::recon { $swift_components : } diff --git a/manifests/watcher.pp b/manifests/watcher.pp index a30c71544..56afe1665 100644 --- a/manifests/watcher.pp +++ b/manifests/watcher.pp @@ -90,10 +90,10 @@ class openstack_integration::watcher { workers => 2, } class { 'watcher::applier': - applier_workers => '2', + applier_workers => 2, } class { 'watcher::decision_engine': - decision_engine_workers => '2', + decision_engine_workers => 2, } class { 'watcher::cron::db_purge': }