Update system reclass
[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   - system.linux.system.repo.mcp.apt_mirantis.openstack
19   - service.barbican.client.single
20   - cluster.mcp-common-noha.openstack_compute_pdf
21 parameters:
22   _param:
23     linux_system_codename: xenial
24   nova:
25     compute:
26       libvirt_service: libvirtd
27       libvirt_bin: /etc/default/libvirtd
28       disk_cachemodes: file=directsync,block=none
29       vncproxy_url: http://${_param:cluster_vip_address}:6080
30       heal_instance_info_cache_interval: 300
31       bind:
32         vnc_address: ${_param:single_address}
33       network:
34         region: ${_param:openstack_region}
35         user: neutron
36         tenant: service
37         password: ${_param:keystone_neutron_password}
38       barbican:
39         enabled: ${_param:barbican_integration_enabled}
40       image:
41         verify_glance_signatures: false
42   neutron:
43     compute:
44       notification: true
45       vlan_aware_vms: true
46       root_helper_daemon: false
47       report_interval: 120
48       agent_mode: ${_param:neutron_compute_agent_mode}
49       message_queue:
50         host: ${_param:openstack_control_address}
51       metadata:
52         host: ${_param:openstack_control_address}
53   cinder:
54     volume:
55       backend:
56         lvm-driver:
57           # Align system.cinder.volume.backend.lvm and MaaS data
58           volume_group: ${linux:storage:lvm:cinder-vg:name}
59       my_ip: ${_param:single_address}
60       database:
61         host: ${_param:cluster_local_address}
62       identity:
63         host: ${_param:cluster_local_address}
64       glance:
65         host: ${_param:cluster_local_address}
66       message_queue:
67         host: ${_param:cluster_local_address}
68       barbican:
69         enabled: ${_param:barbican_integration_enabled}
70   nfs:
71     client:
72       mount:
73         nfs:
74           path: /var/lib/nova/instances
75           fstype: nfs
76           device: ${_param:openstack_control_address}:/srv/nova/instances
77   linux:
78     storage:
79       lvm:
80         # Align with both system.cinder.volume.backend.lvm and MaaS data
81         cinder-vg:
82           name: vgroot
83     system:
84       kernel:
85         sysctl:
86           vm.dirty_ratio: 10
87           vm.dirty_background_ratio: 5