Fix missing root_helper_daemon for cmp, gtw
[fuel.git] / mcp / reclass / classes / cluster / mcp-pike-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   - cluster.mcp-pike-common-noha.openstack_compute_pdf
18 parameters:
19   _param:
20     interface_mtu: 9000
21     linux_system_codename: xenial
22     ~cinder_lvm_devices: ['/dev/vdb']
23   nova:
24     compute:
25       libvirt_service: libvirtd
26       libvirt_bin: /etc/default/libvirtd
27       disk_cachemodes: file=directsync,block=none
28       vncproxy_url: http://${_param:cluster_vip_address}:6080
29       network:
30         region: ${_param:openstack_region}
31         user: neutron
32         tenant: service
33         password: ${_param:keystone_neutron_password}
34   neutron:
35     compute:
36       notification: true
37       vlan_aware_vms: true
38       root_helper_daemon: false
39       agent_mode: ${_param:neutron_compute_agent_mode}
40       message_queue:
41         host: ${_param:openstack_control_address}
42       metadata:
43         host: ${_param:openstack_control_address}
44   cinder:
45     volume:
46       database:
47         host: ${_param:cluster_local_address}
48       identity:
49         host: ${_param:cluster_local_address}
50       glance:
51         host: ${_param:cluster_local_address}
52       message_queue:
53         host: ${_param:cluster_local_address}
54   nfs:
55     client:
56       mount:
57         nfs:
58           path: /var/lib/nova/instances
59           fstype: nfs
60           device: ${_param:openstack_control_address}:/srv/nova/instances
61   linux:
62     system:
63       kernel:
64         sysctl:
65           vm.dirty_ratio: 10
66           vm.dirty_background_ratio: 5