blob: 4bfa5c231af283871a2a0736f7936b0d06b9ec0e [file] [log] [blame]
Pavel Cizinsky1204f992018-07-10 14:47:58 +02001parameters:
2 _param:
3 infra_kvm02_hostname: kvm02
4 infra_kvm03_hostname: kvm03
5 infra_kvm04_hostname: kvm04
6 infra_kvm05_hostname: kvm05
7 infra_kvm06_hostname: kvm06
8 infra_kvm07_hostname: kvm07
9 infra_kvm08_hostname: kvm08
10 infra_kvm09_hostname: kvm09
11 openstack_control_node01_hostname: ctl01
12 openstack_control_node02_hostname: ctl02
13 openstack_control_node03_hostname: ctl03
14 openstack_control_node04_hostname: ctl04
15 openstack_control_node05_hostname: ctl05
16 openstack_database_node01_hostname: dbs01
17 openstack_database_node02_hostname: dbs02
18 openstack_database_node03_hostname: dbs03
19 openstack_message_queue_node01_hostname: msg01
20 openstack_message_queue_node02_hostname: msg02
21 openstack_message_queue_node03_hostname: msg03
22 openstack_proxy_node01_hostname: prx01
23 openstack_proxy_node02_hostname: prx02
Oleksii Grudev6d16a452018-10-31 12:00:37 +020024 openstack_control_backend_image: ${_param:salt_control_xenial_image_backend}
25 openstack_database_backend_image: ${_param:salt_control_xenial_image_backend}
26 openstack_message_queue_backend_image: ${_param:salt_control_xenial_image_backend}
27 openstack_proxy_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +020028 salt_control_cluster_node_cloud_init_openstack_control:
29 user_data:
30 write_files:
31 - content: |
32 ${salt:control:size:openstack.control:image_layout}
33 owner: root:root
34 path: /usr/share/growlvm/image-layout.yml
35 salt_control_cluster_node_cloud_init_openstack_database:
36 user_data:
37 write_files:
38 - content: |
39 ${salt:control:size:openstack.database:image_layout}
40 owner: root:root
41 path: /usr/share/growlvm/image-layout.yml
42 salt_control_cluster_node_cloud_init_openstack_message_queue:
43 user_data:
44 write_files:
45 - content: |
46 ${salt:control:size:openstack.message_queue:image_layout}
47 owner: root:root
48 path: /usr/share/growlvm/image-layout.yml
49 salt_control_cluster_node_cloud_init_openstack_proxy:
50 user_data:
51 write_files:
52 - content: |
53 ${salt:control:size:openstack.proxy:image_layout}
54 owner: root:root
55 path: /usr/share/growlvm/image-layout.yml
Pavel Cizinsky1204f992018-07-10 14:47:58 +020056 salt:
57 control:
58 cluster:
59 internal:
60 node:
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020061 ctl01:
62 name: ${_param:openstack_control_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020063 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020064 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020065 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
66 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020067 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020068 ctl02:
69 name: ${_param:openstack_control_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020070 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020071 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020072 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
73 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020074 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020075 ctl03:
76 name: ${_param:openstack_control_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020077 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020078 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020079 provider: ${_param:infra_kvm_node04_hostname}.${_param:cluster_domain}
80 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020081 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020082 ctl04:
83 name: ${_param:openstack_control_node04_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020084 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020085 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020086 provider: ${_param:infra_kvm_node05_hostname}.${_param:cluster_domain}
87 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020088 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020089 ctl05:
90 name: ${_param:openstack_control_node05_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020091 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020092 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020093 provider: ${_param:infra_kvm_node06_hostname}.${_param:cluster_domain}
94 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020095 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020096 dbs01:
97 name: ${_param:openstack_database_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020098 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020099 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200100 provider: ${_param:infra_kvm_node04_hostname}.${_param:cluster_domain}
101 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200102 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200103 dbs02:
104 name: ${_param:openstack_database_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200105 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200106 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200107 provider: ${_param:infra_kvm_node05_hostname}.${_param:cluster_domain}
108 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200109 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200110 dbs03:
111 name: ${_param:openstack_database_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200112 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200113 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200114 provider: ${_param:infra_kvm_node06_hostname}.${_param:cluster_domain}
115 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200116 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200117 msg01:
118 name: ${_param:openstack_message_queue_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200119 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200120 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200121 provider: ${_param:infra_kvm_node07_hostname}.${_param:cluster_domain}
122 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200123 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200124 msg02:
125 name: ${_param:openstack_message_queue_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200126 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200127 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200128 provider: ${_param:infra_kvm_node08_hostname}.${_param:cluster_domain}
129 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200130 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200131 msg03:
132 name: ${_param:openstack_message_queue_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200133 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200134 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200135 provider: ${_param:infra_kvm_node09_hostname}.${_param:cluster_domain}
136 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200137 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200138 prx01:
139 name: ${_param:openstack_proxy_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200140 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200141 backend: ${_param:openstack_proxy_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200142 provider: ${_param:infra_kvm_node07_hostname}.${_param:cluster_domain}
143 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200144 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200145 prx02:
146 name: ${_param:openstack_proxy_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200147 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200148 backend: ${_param:openstack_proxy_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200149 provider: ${_param:infra_kvm_node08_hostname}.${_param:cluster_domain}
150 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200151 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}