[HA] [cinder] Switch loop to free space on sda
[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   - system.linux.storage.loopback
11   - service.nfs.client
12   - system.nova.compute.single
13   - service.cinder.volume.single
14   - system.cinder.volume.backend.lvm
15   - system.ceilometer.agent.cluster
16   - system.ceilometer.client.nova_compute
17   - system.ceilometer.client.cinder_volume
18   - cluster.mcp-pike-common-noha.openstack_compute_pdf
19 parameters:
20   _param:
21     interface_mtu: 9000
22     linux_system_codename: xenial
23     loopback_device_size: 20
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       network:
31         region: ${_param:openstack_region}
32         user: neutron
33         tenant: service
34         password: ${_param:keystone_neutron_password}
35   neutron:
36     compute:
37       notification: true
38       vlan_aware_vms: true
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