docker build: Update saltstack repo URL, locale
[fuel.git] / mcp / reclass / classes / cluster / mcp-common-noha / openstack_compute.yml
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 classes:
10   - service.nfs.client
11   - system.nova.compute.single
12   - service.cinder.volume.single
13   - system.cinder.volume.backend.lvm
14   - system.ceilometer.agent.cluster
15   - system.ceilometer.client.nova_compute
16   - system.ceilometer.client.cinder_volume
17   - system.ceilometer.agent.polling.default
18   - service.barbican.client.single
19   - cluster.all-mcp-arch-common.backports
20   - cluster.mcp-common-noha.openstack_compute_pdf
21 parameters:
22   nova:
23     compute:
24       libvirt_service: libvirtd
25       libvirt_bin: /etc/default/libvirtd
26       disk_cachemodes: file=directsync,block=none
27       vncproxy_url: http://${_param:cluster_vip_address}:6080
28       heal_instance_info_cache_interval: 300
29       bind:
30         vnc_address: ${_param:single_address}
31       network:
32         region: ${_param:openstack_region}
33         user: neutron
34         tenant: service
35         password: ${_param:keystone_neutron_password}
36       barbican:
37         enabled: ${_param:barbican_integration_enabled}
38       image:
39         verify_glance_signatures: false
40       pkgs:
41         - nova-compute
42         - python3-novaclient
43         - pm-utils
44         - sysfsutils
45   neutron:
46     compute:
47       notification: true
48       vlan_aware_vms: true
49       root_helper_daemon: false
50       report_interval: 120
51       agent_mode: ${_param:neutron_compute_agent_mode}
52       message_queue:
53         host: ${_param:openstack_control_address}
54       metadata:
55         host: ${_param:openstack_control_address}
56   cinder:
57     volume:
58       backend:
59         lvm-driver:
60           # Align system.cinder.volume.backend.lvm and MaaS data
61           volume_group: ${linux:storage:lvm:cinder-vg:name}
62       my_ip: ${_param:single_address}
63       database:
64         host: ${_param:cluster_local_address}
65       identity:
66         host: ${_param:cluster_local_address}
67       glance:
68         host: ${_param:cluster_local_address}
69       message_queue:
70         host: ${_param:cluster_local_address}
71       barbican:
72         enabled: ${_param:barbican_integration_enabled}
73       pkgs:
74         - cinder-volume
75       openiscsi_services:
76         - tgt
77         - iscsid
78   nfs:
79     client:
80       mount:
81         nfs:
82           path: /var/lib/nova/instances
83           fstype: nfs
84           device: ${_param:openstack_control_address}:/srv/nova/instances
85   linux:
86     storage:
87       lvm:
88         # Align with both system.cinder.volume.backend.lvm and MaaS data
89         cinder-vg:
90           name: vgroot
91     system:
92       kernel:
93         sysctl:
94           vm.dirty_ratio: 10
95           vm.dirty_background_ratio: 5