blob: 7148d00401dbd5e587ac831879ae548498c8f67b [file] [log] [blame]
Oleksii Butenko7d9671c2017-11-01 17:27:23 +02001{% from 'cookied-bm-mcp-dvr-vxlan/underlay.yaml' import HOSTNAME_CFG01 with context %}
2{% from 'cookied-bm-mcp-dvr-vxlan/underlay.yaml' import HOSTNAME_CTL01 with context %}
3{% from 'cookied-bm-mcp-dvr-vxlan/underlay.yaml' import HOSTNAME_GTW01 with context %}
Oleksii Butenko336e4412018-05-21 14:59:27 +03004{% from 'cookied-bm-mcp-dvr-vxlan/underlay.yaml' import HOSTNAME_GTW02 with context %}
Oleksii Butenko7c48def2017-10-03 12:41:05 +03005{% from 'shared-salt.yaml' import IPV4_NET_EXTERNAL_PREFIX with context %}
6{% from 'shared-salt.yaml' import IPV4_NET_TENANT_PREFIX with context %}
Dennis Dmitriev4034db02018-08-26 21:50:13 +03007
Oleksii Butenko336e4412018-05-21 14:59:27 +03008{% import 'shared-salt.yaml' as SHARED with context %}
Dennis Dmitriev4034db02018-08-26 21:50:13 +03009{% import 'shared-openstack.yaml' as SHARED_OPENSTACK with context %}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030010
11# Install OpenStack control services
12
sgudz62df2fc2018-10-09 12:26:19 +030013{{ SHARED_OPENSTACK.MACRO_INSTALL_KEYSTONE() }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030014
Dennis Dmitriev4034db02018-08-26 21:50:13 +030015{{ SHARED_OPENSTACK.MACRO_INSTALL_GLANCE() }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030016
Dennis Dmitriev4034db02018-08-26 21:50:13 +030017{{ SHARED_OPENSTACK.MACRO_INSTALL_NOVA() }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030018
Oleksii Butenko20947f22018-08-29 15:48:21 +030019{{ SHARED_OPENSTACK.MACRO_INSTALL_CINDER(INSTALL_VOLUME=false) }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030020
Oleksii Butenko20947f22018-08-29 15:48:21 +030021- description: Install cinder volume
22 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
23 -C 'I@cinder:volume' state.sls cinder
24 node_name: {{ HOSTNAME_CFG01 }}
25 retry: {count: 2, delay: 5}
26 skip_fail: false
27
28{{ SHARED_OPENSTACK.MACRO_INSTALL_NEUTRON(INSTALL_GATEWAY=true) }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030029
Dennis Dmitriev4034db02018-08-26 21:50:13 +030030{{ SHARED_OPENSTACK.MACRO_INSTALL_HEAT() }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030031
Oleksii Butenko20947f22018-08-29 15:48:21 +030032{{ SHARED_OPENSTACK.MACRO_INSTALL_HORIZON() }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030033
Oleksii Butenko20947f22018-08-29 15:48:21 +030034{{ SHARED_OPENSTACK.MACRO_INSTALL_COMPUTE() }}
Oleksii Butenko7c48def2017-10-03 12:41:05 +030035