[virtual] Set vnc address to local one
[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   - service.nfs.client
11   - system.nova.compute.single
12   - service.cinder.volume.single
13   - system.cinder.volume.backend.lvm
14   - system.ceilometer.agent.cluster
15   - system.ceilometer.client.nova_compute
16   - system.ceilometer.client.cinder_volume
17   - cluster.mcp-pike-common-noha.openstack_compute_pdf
18 parameters:
19   _param:
20     interface_mtu: 9000
21     linux_system_codename: xenial
22     ~cinder_lvm_devices: ['/dev/vdb']
23   nova:
24     compute:
25       libvirt_service: libvirtd
26       libvirt_bin: /etc/default/libvirtd
27       disk_cachemodes: file=directsync,block=none
28       vncproxy_url: http://${_param:cluster_vip_address}:6080
29       bind:
30         vnc_address: ${_param:single_address}
31       network:
32         region: ${_param:openstack_region}
33         user: neutron
34         tenant: service
35         password: ${_param:keystone_neutron_password}
36   neutron:
37     compute:
38       notification: true
39       vlan_aware_vms: true
40       root_helper_daemon: false
41       agent_mode: ${_param:neutron_compute_agent_mode}
42       message_queue:
43         host: ${_param:openstack_control_address}
44       metadata:
45         host: ${_param:openstack_control_address}
46   cinder:
47     volume:
48       database:
49         host: ${_param:cluster_local_address}
50       identity:
51         host: ${_param:cluster_local_address}
52       glance:
53         host: ${_param:cluster_local_address}
54       message_queue:
55         host: ${_param:cluster_local_address}
56   nfs:
57     client:
58       mount:
59         nfs:
60           path: /var/lib/nova/instances
61           fstype: nfs
62           device: ${_param:openstack_control_address}:/srv/nova/instances
63   linux:
64     system:
65       kernel:
66         sysctl:
67           vm.dirty_ratio: 10
68           vm.dirty_background_ratio: 5