blob: 3053335a25da79726c75d9ac948b6d3ed2773956 [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.nova.compute.kvm
Oleksandr Bryndziie50923d2018-09-12 13:54:20 +00003- system.salt.minion.cert.rabbitmq.clients.openstack.nova
Ondrej Smola03ff34e2016-12-01 01:30:33 +01004parameters:
5 _param:
Petr Michalecbb7138b2017-02-02 08:44:24 +01006 nova_vncproxy_url: https://${_param:cluster_public_host}:6080
Ondrej Smola03ff34e2016-12-01 01:30:33 +01007 nova_compute_virtualization: kvm
Jiri Broulik533dd582017-02-15 20:51:06 +01008 nova_compute_avail_zone:
Damian Szeluga452dce62017-04-19 07:58:02 +02009 nova_aggregates: []
Éric Lemoine5a1807d2016-12-14 14:37:13 +000010 nova_compute_ssh_public: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCltIn93BcTMzNK/n2eBze6PyTkmIgdDkeXNR9X4DqE48Va80ojv2pq8xuaBxiNITJzyl+4p4UvTTXo+HmuX8qbHvqgMGXvuPUCpndEfb2r67f6vpMqPwMgBrUg2ZKgN4OsSDHU+H0dia0cEaTjz5pvbUy9lIsSyhrqOUVF9reJq+boAvVEedm8fUqiZuiejAw2D27+rRtdEPgsKMnh3626YEsr963q4rjU/JssV/iKMNu7mk2a+koOrJ+aHvcVU8zJjfA0YghoeVT/I3GLU/MB/4tD/RyR8GM+UYbI4sgAC7ZOCdQyHdJgnEzx3SJIwcS65U0T2XYvn2qXHXqJ9iGZ root@mirantis.com
11 nova_compute_ssh_private: |
12 -----BEGIN RSA PRIVATE KEY-----
13 MIIEpAIBAAKCAQEApbSJ/dwXEzMzSv59ngc3uj8k5JiIHQ5HlzUfV+A6hOPFWvNK
14 I79qavMbmgcYjSEyc8pfuKeFL0016Ph5rl/Kmx76oDBl77j1AqZ3RH29q+u3+r6T
15 Kj8DIAa1INmSoDeDrEgx1Ph9HYmtHBGk48+ab21MvZSLEsoa6jlFRfa3iavm6AL1
16 RHnZvH1K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bS/2/cJBWr2ECgYAJFCDL9G9HEwlGorGzcNIkxeiyppZhwFDDJuz8
33 j4+kU9uPg0rqa8F8JINxq1ZCz7A10/jKlWFuLTbpk2Dw1lUeQCiVvX9PKU30FLGT
34 IC6M4rPyxCb75EQUVbXN1p3WAGkfx0aEsweEgtZhNyNeEGJSBK/Iw8/agfpq/pOf
35 sboOMQKBgQClKmrAYKWnwdPPka3msyjl/AXDruR4XFvMlOPKbs3nYstolE7eR94F
36 7xDyBz85icFU0rceYQetwFH2p5tRL0GcUQhJmJFgIL0OXdCQvRNJrT3iS00N1aUo
37 SG9MrLHCd5l60aCUQg0UA5ed7Hd6SA314k+HwxJno9/wJ+voBeacMg==
38 -----END RSA PRIVATE KEY-----
Vasyl Saienko047166c2018-03-09 11:17:45 +020039 cluster_internal_protocol: 'http'
Éric Lemoine5a1807d2016-12-14 14:37:13 +000040 openssh:
41 client:
42 enabled: True
43 user: {}
44 stricthostkeychecking: False
Ondrej Smola03ff34e2016-12-01 01:30:33 +010045 nova:
46 compute:
47 version: ${_param:nova_version}
48 enabled: true
49 virtualization: ${_param:nova_compute_virtualization}
Jiri Broulik533dd582017-02-15 20:51:06 +010050 availability_zone: ${_param:nova_compute_avail_zone}
Damian Szeluga1aa24ab2017-04-14 11:55:09 +020051 aggregates: ${_param:nova_aggregates}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010052 heal_instance_info_cache_interval: 60
Ondrej Smoladed21702016-12-30 11:55:18 +010053 vncproxy_url: ${_param:nova_vncproxy_url}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010054 bind:
55 vnc_address: ${_param:cluster_local_address}
56 vnc_port: 6080
57 vnc_name: 0.0.0.0
58 database:
59 engine: mysql
60 host: ${_param:openstack_database_address}
61 port: 3306
62 name: nova
63 user: nova
64 password: ${_param:mysql_nova_password}
65 identity:
66 engine: keystone
67 region: ${_param:openstack_region}
68 host: ${_param:cluster_vip_address}
69 port: 35357
70 user: nova
71 password: ${_param:keystone_nova_password}
72 tenant: service
Vasyl Saienko047166c2018-03-09 11:17:45 +020073 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010074 message_queue:
75 engine: rabbitmq
Oleksandr Shyshko3d1dd6f2018-09-20 18:22:04 +030076 port: ${_param:openstack_rabbitmq_port}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010077 user: openstack
78 password: ${_param:rabbitmq_openstack_password}
79 virtual_host: '/openstack'
80 members:
81 - host: ${_param:openstack_message_queue_node01_address}
82 - host: ${_param:openstack_message_queue_node02_address}
83 - host: ${_param:openstack_message_queue_node03_address}
Oleksandr Bryndziie50923d2018-09-12 13:54:20 +000084 x509:
85 enabled: ${_param:openstack_rabbitmq_x509_enabled}
86 ca_file: ${_param:rabbitmq_nova_ssl_ca_file}
87 key_file: ${_param:rabbitmq_nova_client_ssl_key_file}
88 cert_file: ${_param:rabbitmq_nova_client_ssl_cert_file}
89 ssl:
90 enabled: ${_param:rabbitmq_ssl_enabled}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010091 image:
92 engine: glance
93 host: ${_param:cluster_vip_address}
94 port: 9292
Vasyl Saienko047166c2018-03-09 11:17:45 +020095 protocol: ${_param:cluster_internal_protocol}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010096 network:
97 engine: neutron
98 region: ${_param:openstack_region}
Guillaume Thouvenin1b2e66d2017-01-11 15:53:01 +010099 host: ${_param:neutron_service_host}
Ondrej Smola03ff34e2016-12-01 01:30:33 +0100100 port: 9696
101 user: neutron
102 tenant: service
103 password: ${_param:keystone_neutron_password}
Vasyl Saienko047166c2018-03-09 11:17:45 +0200104 protocol: ${_param:cluster_internal_protocol}
Éric Lemoine5a1807d2016-12-14 14:37:13 +0000105 user:
106 public_key: ${_param:nova_compute_ssh_public}
107 private_key: ${_param:nova_compute_ssh_private}
Vasyl Saienkod365d2a2018-04-19 17:27:10 +0300108 # Due to bug in qemu, migration will not work when fqdn is higher than 64 chars.
109 # https://bugzilla.redhat.com/show_bug.cgi?id=1568939
110 # Set migration address explicitly to avoid such problems.
111 libvirt:
112 migration_inbound_addr: ${_param:single_address}
Andrey6a1ab762017-08-11 15:47:00 -0500113 my_ip: ${_param:single_address}
Oleksandr Bryndzii87f24232018-10-02 09:51:13 +0000114 cache:
115 security:
116 enabled: ${_param:nova_memcache_security_enabled}
117 strategy: ${_param:openstack_memcache_security_strategy}
118 secret_key: ${_param:nova_memcache_secret_key}