blob: 08092c5447cb35f372c0f561dc19654c12dda2c6 [file] [log] [blame]
Vladimir Khlyunev25f1e742018-11-07 16:52:10 +04001{% from 'cookied-mcp-ocata-dvr/underlay.yaml' import HOSTNAME_CFG01 with context %}
2{% from 'cookied-mcp-ocata-dvr/underlay.yaml' import HOSTNAME_CTL01 with context %}
3{% from 'cookied-mcp-ocata-dvr/underlay.yaml' import HOSTNAME_CTL02 with context %}
4{% from 'cookied-mcp-ocata-dvr/underlay.yaml' import HOSTNAME_CTL03 with context %}
5{% from 'cookied-mcp-ocata-dvr/underlay.yaml' import HOSTNAME_GTW01 with context %}
Sergii Golovatiuk50f91892017-08-04 18:11:06 +02006{% from 'shared-salt.yaml' import IPV4_NET_EXTERNAL_PREFIX with context %}
7{% from 'shared-salt.yaml' import IPV4_NET_TENANT_PREFIX with context %}
Dmitry Tyzhnenko8f6a63e2017-09-05 15:37:23 +03008{% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME') %}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +03009
ibumarskov942417e2018-08-23 22:05:59 +040010{% import 'shared-openstack.yaml' as SHARED_OPENSTACK with context %}
Pavel Glazov78e6c592018-10-24 12:20:12 +040011{% import 'shared-salt.yaml' as SHARED with context %}
ibumarskov942417e2018-08-23 22:05:59 +040012
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030013# Install OpenStack control services
14
ibumarskov7bdc7ed2018-08-24 12:06:38 +040015# Deploy nginx before openstack services (PROD-22740)
16- description: Deploy nginx proxy
17 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
18 -C 'I@nginx:server' state.sls nginx
19 node_name: {{ HOSTNAME_CFG01 }}
20 retry: {count: 1, delay: 5}
21 skip_fail: true
22
sgudz62df2fc2018-10-09 12:26:19 +030023{{ SHARED_OPENSTACK.MACRO_INSTALL_KEYSTONE() }}
ibumarskove23c10e2018-08-20 15:47:58 +040024
ibumarskov7e886672018-08-23 13:52:13 +040025{{ SHARED_OPENSTACK.MACRO_INSTALL_GLANCE() }}
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +030026
ibumarskov7e886672018-08-23 13:52:13 +040027{{ SHARED_OPENSTACK.MACRO_INSTALL_NOVA() }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030028
ibumarskov7e886672018-08-23 13:52:13 +040029{{ SHARED_OPENSTACK.MACRO_INSTALL_CINDER() }}
Tatyana Leontovichfa7ae4d2017-04-25 13:46:14 +030030
ibumarskov7e886672018-08-23 13:52:13 +040031{{ SHARED_OPENSTACK.MACRO_INSTALL_NEUTRON() }}
Tatyana Leontovichfa7ae4d2017-04-25 13:46:14 +030032
ibumarskov7e886672018-08-23 13:52:13 +040033{{ SHARED_OPENSTACK.MACRO_INSTALL_HEAT() }}
Dennis Dmitriev4ab889c2017-04-27 14:11:04 +030034
ibumarskov7e886672018-08-23 13:52:13 +040035# install designate backend
Pavel Glazov24e61d12018-11-14 17:49:03 +040036- description: Install bind
Tatyana Leontovichc33be1f2017-07-19 17:38:30 +030037 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
Pavel Glazov24e61d12018-11-14 17:49:03 +040038 -C 'I@bind:server' state.sls bind
Tatyana Leontovichc33be1f2017-07-19 17:38:30 +030039 node_name: {{ HOSTNAME_CFG01 }}
40 retry: {count: 1, delay: 5}
41 skip_fail: false
42
ibumarskov7e886672018-08-23 13:52:13 +040043{{ SHARED_OPENSTACK.MACRO_INSTALL_DESIGNATE() }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030044
ibumarskov7e886672018-08-23 13:52:13 +040045{{ SHARED_OPENSTACK.MACRO_INSTALL_HORIZON() }}
Tatyana Leontovich38be41b2017-04-12 14:45:23 +030046
Pavel Glazovf3c59072018-12-13 14:27:01 +040047{{ SHARED_OPENSTACK.MACRO_INSTALL_COMPUTE() }}