[virtual] Extend cinder volume size
[fuel.git] / mcp / reclass / classes / cluster / virtual-mcp-ocata-common / openstack_compute.yml
1 ---
2 classes:
3   - system.linux.storage.loopback
4   - service.nfs.client
5   - system.nova.compute.single
6   - service.neutron.compute.single
7   - service.cinder.volume.single
8   - system.cinder.volume.backend.lvm
9   - system.ceilometer.agent.cluster
10   - system.ceilometer.client.nova_compute
11   - system.ceilometer.client.cinder_volume
12 parameters:
13   _param:
14     primary_interface: ${_param:opnfv_fn_vm_secondary_interface}
15     tenant_interface: ${_param:opnfv_fn_vm_tertiary_interface}
16     external_interface: ${_param:opnfv_fn_vm_quaternary_interface}
17     interface_mtu: 9000
18     linux_system_codename: xenial
19     loopback_device_size: 20
20   nova:
21     compute:
22       libvirt_service: libvirtd
23       libvirt_bin: /etc/default/libvirtd
24       vncproxy_url: http://${_param:cluster_vip_address}:6080
25       network:
26         region: ${_param:openstack_region}
27         user: neutron
28         tenant: service
29         password: ${_param:keystone_neutron_password}
30   neutron:
31     compute:
32       notification: true
33       agent_mode: ${_param:neutron_compute_agent_mode}
34       message_queue:
35         host: ${_param:openstack_control_address}
36       metadata:
37         host: ${_param:openstack_control_address}
38   cinder:
39     volume:
40       database:
41         host: ${_param:cluster_local_address}
42       identity:
43         host: ${_param:cluster_local_address}
44       glance:
45         host: ${_param:cluster_local_address}
46       message_queue:
47         host: ${_param:cluster_local_address}
48   nfs:
49     client:
50       mount:
51         nfs:
52           path: /var/lib/nova/instances
53           fstype: nfs
54           device: ${_param:openstack_control_address}:/srv/nova/instances
55   linux:
56     system:
57       repo:
58         uca:
59           # yamllint disable-line rule:line-length
60           source: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
61           architectures: amd64
62           key_id: EC4926EA
63           key_server: keyserver.ubuntu.com
64       kernel:
65         sysctl:
66           vm.dirty_ratio: 10
67           vm.dirty_background_ratio: 5
68     network:
69       bridge: openvswitch
70       interface:
71         dhcp_int:
72           enabled: true
73           name: ${_param:opnfv_fn_vm_primary_interface}
74           proto: dhcp
75           type: eth
76           mtu: ${_param:interface_mtu}
77         primary_interface:
78           enabled: true
79           name: ${_param:primary_interface}
80           proto: manual
81           type: eth
82         tenant_interface:
83           enabled: true
84           name: ${_param:tenant_interface}
85           mtu: ${_param:interface_mtu}
86           proto: manual
87           type: eth
88         br-mgmt:
89           enabled: true
90           type: bridge
91           proto: static
92           address: ${_param:single_address}
93           netmask: 255.255.255.0
94           use_interfaces:
95             - ${_param:primary_interface}