base image: Explicitly call kpartx
[fuel.git] / mcp / reclass / classes / cluster / baremetal-mcp-ocata-common / openstack_compute.yml
1 ##############################################################################
2 # Copyright (c) 2017 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.mcp.extra
11   - system.linux.system.repo.glusterfs
12   - system.linux.storage.loopback
13   - system.glusterfs.client.cluster
14   - system.nova.compute.cluster
15   - system.nova.compute.nfv.hugepages
16   - system.nova.compute.nfv.cpu_pinning
17   - system.neutron.gateway.cluster
18   - system.cinder.volume.single
19   - system.cinder.volume.backend.lvm
20   - system.ceilometer.agent.cluster
21   - cluster.baremetal-mcp-ocata-common.openstack_compute_init
22 parameters:
23   _param:
24     cluster_vip_address: ${_param:openstack_control_address}
25     cluster_local_address: ${_param:control_address}
26     cluster_node01_hostname: ctl01
27     cluster_node01_address: ${_param:openstack_control_node01_address}
28     cluster_node02_hostname: ctl02
29     cluster_node02_address: ${_param:openstack_control_node02_address}
30     cluster_node03_hostname: ctl03
31     cluster_node03_address: ${_param:openstack_control_node03_address}
32     nova_vncproxy_url: https://${_param:cluster_public_host}:6080
33     interface_mtu: 1500
34     keepalived_vip_interface: br-ctl
35     keepalived_vip_virtual_router_id: 69
36     loopback_device_size: 20
37     linux_system_codename: xenial
38     glusterfs_version: '3.10'
39     # {dhcp,single}_nic are not used, but referenced
40     dhcp_nic: ${_param:opnfv_vcp_vm_primary_interface}
41     single_nic: ${_param:opnfv_vcp_vm_secondary_interface}
42   glusterfs:
43     client:
44       volumes:
45         nova_instances:
46           path: /var/lib/nova/instances
47           server: ${_param:glusterfs_service_host}
48           # yamllint disable-line rule:line-length
49           opts: "defaults,backup-volfile-servers=${_param:cluster_node01_address}:${_param:cluster_node02_address}:${_param:cluster_node03_address}"
50   linux:
51     network:
52       remove_iface_files:
53         - '/etc/network/interfaces.d/50-cloud-init.cfg'
54     system:
55       kernel:
56         sysctl:
57           vm.dirty_ratio: 10
58           vm.dirty_background_ratio: 5
59   neutron:
60     gateway:
61       vlan_aware_vms: true