diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:44:05 +0400 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2017-05-24 12:47:57 +0400 |
commit | a6daf4ece3f05600ad66fea55c5220d07a71cef1 (patch) | |
tree | 988e0e370b7c2683f10eff189f2ba7b276b24923 /mcp/reclass/classes/system/nova/control/cluster.yml | |
parent | 7b4fbdd9be1a234c345b21ebf0eafcf7f5187f26 (diff) |
[mcp] Bring in reclass system salt models
Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/system/nova/control/cluster.yml')
-rw-r--r-- | mcp/reclass/classes/system/nova/control/cluster.yml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/mcp/reclass/classes/system/nova/control/cluster.yml b/mcp/reclass/classes/system/nova/control/cluster.yml new file mode 100644 index 000000000..d47c5e197 --- /dev/null +++ b/mcp/reclass/classes/system/nova/control/cluster.yml @@ -0,0 +1,75 @@ +classes: +- service.haproxy.proxy.single +- service.nova.control.cluster +- service.keepalived.cluster.single +- system.haproxy.proxy.listen.openstack.nova +- system.haproxy.proxy.listen.openstack.novnc +parameters: + _param: + nova_vncproxy_url: http://${_param:cluster_vip_address}:6080 + nova_cpu_allocation_ratio: 16.0 + nova_ram_allocation_ratio: 1.5 + nova_disk_allocation_ratio: 1.0 + metadata_password: metadataPass + nova: + controller: + enabled: true + version: ${_param:nova_version} + vncproxy_url: ${_param:nova_vncproxy_url} + security_group: false + dhcp_domain: novalocal + scheduler_default_filters: "DifferentHostFilter,RetryFilter,AvailabilityZoneFilter,RamFilter,CoreFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter,NUMATopologyFilter,AggregateInstanceExtraSpecsFilter" + cpu_allocation_ratio: ${_param:nova_cpu_allocation_ratio} + ram_allocation_ratio: ${_param:nova_ram_allocation_ratio} + disk_allocation_ratio: ${_param:nova_disk_allocation_ratio} + workers: 8 + logging: + - engine: syslog + facility: local0 + heka: + enabled: true + bind: + private_address: ${_param:cluster_local_address} + public_address: ${_param:cluster_vip_address} + public_name: ${_param:cluster_vip_address} + novncproxy_address: ${_param:cluster_local_address} + novncproxy_port: 6080 + database: + engine: mysql + host: ${_param:openstack_database_address} + port: 3306 + name: nova + user: nova + password: ${_param:mysql_nova_password} + identity: + engine: keystone + region: ${_param:openstack_region} + host: ${_param:cluster_vip_address} + port: 35357 + user: nova + password: ${_param:keystone_nova_password} + tenant: service + message_queue: + engine: rabbitmq + port: 5672 + user: openstack + password: ${_param:rabbitmq_openstack_password} + virtual_host: '/openstack' + members: + - host: ${_param:openstack_message_queue_node01_address} + - host: ${_param:openstack_message_queue_node02_address} + - host: ${_param:openstack_message_queue_node03_address} + glance: + host: ${_param:cluster_vip_address} + port: 9292 + network: + engine: neutron + region: ${_param:openstack_region} + host: ${_param:neutron_service_host} + user: neutron + password: ${_param:keystone_neutron_password} + port: 9696 + mtu: 1500 + tenant: service + metadata: + password: ${_param:metadata_password} |