[hybrid] Merge config/scenario/{baremetal,virtual}
[fuel.git] / mcp / reclass / classes / cluster / virtual-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.virtual-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       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       agent_mode: ${_param:neutron_compute_agent_mode}
39       message_queue:
40         host: ${_param:openstack_control_address}
41       metadata:
42         host: ${_param:openstack_control_address}
43   cinder:
44     volume:
45       database:
46         host: ${_param:cluster_local_address}
47       identity:
48         host: ${_param:cluster_local_address}
49       glance:
50         host: ${_param:cluster_local_address}
51       message_queue:
52         host: ${_param:cluster_local_address}
53   nfs:
54     client:
55       mount:
56         nfs:
57           path: /var/lib/nova/instances
58           fstype: nfs
59           device: ${_param:openstack_control_address}:/srv/nova/instances
60   linux:
61     system:
62       kernel:
63         sysctl:
64           vm.dirty_ratio: 10
65           vm.dirty_background_ratio: 5