[novcp] Add deploy argument `-N` (experimental)
[fuel.git] / mcp / reclass / classes / cluster / mcp-pike-common-ha / 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.system.repo.glusterfs
11   - system.glusterfs.client.cluster
12   - system.nova.compute.cluster
13   - system.nova.compute.nfv.hugepages
14   - system.neutron.gateway.cluster
15   - system.cinder.volume.single
16   - system.cinder.volume.backend.lvm
17   - system.ceilometer.agent.cluster
18   - cluster.mcp-pike-common-ha.openstack_compute_pdf
19   - cluster.mcp-pike-common-ha.include.maas_proxy
20   - cluster.mcp-pike-common-ha.include.lab_proxy_pdf
21 parameters:
22   _param:
23     cluster_vip_address: ${_param:openstack_control_address}
24     cluster_local_address: ${_param:control_address}
25     cluster_node01_hostname: ${_param:openstack_control_node01_hostname}
26     cluster_node01_address: ${_param:openstack_control_node01_address}
27     cluster_node02_hostname: ${_param:openstack_control_node02_hostname}
28     cluster_node02_address: ${_param:openstack_control_node02_address}
29     cluster_node03_hostname: ${_param:openstack_control_node03_hostname}
30     cluster_node03_address: ${_param:openstack_control_node03_address}
31     nova_vncproxy_url: https://${_param:cluster_public_host}:6080
32     interface_mtu: 1500
33     keepalived_vip_interface: br-ctl
34     keepalived_vip_virtual_router_id: 69
35     linux_system_codename: xenial
36     glusterfs_version: '3.13'
37   glusterfs:
38     client:
39       volumes:
40         nova_instances:
41           path: /var/lib/nova/instances
42           server: ${_param:glusterfs_service_host}
43           # yamllint disable-line rule:line-length
44           opts: "defaults,backup-volfile-servers=${_param:cluster_node01_address}:${_param:cluster_node02_address}:${_param:cluster_node03_address}"
45   cinder:
46     volume:
47       backend:
48         lvm-driver:
49           # Align system.cinder.volume.backend.lvm and MaaS data
50           volume_group: ${linux:storage:lvm:cinder-vg:name}
51   linux:
52     storage:
53       lvm:
54         # Align with both system.cinder.volume.backend.lvm and MaaS data
55         cinder-vg:
56           name: vgroot
57     system:
58       kernel:
59         sysctl:
60           vm.dirty_ratio: 10
61           vm.dirty_background_ratio: 5
62         boot_options:
63           - spectre_v2=off
64           - nopti
65   neutron:
66     gateway:
67       vlan_aware_vms: true
68   nova:
69     compute:
70       disk_cachemodes: file=directsync,block=none