Pavel Glazov | 5dc63a9 | 2018-11-27 12:48:25 +0400 | [diff] [blame] | 1 | {% from 'cookied-mcp-ocata-dvr-ceph/underlay.yaml' import HOSTNAME_CFG01 with context %} |
| 2 | {% from 'cookied-mcp-ocata-dvr-ceph/underlay.yaml' import HOSTNAME_CTL01 with context %} |
| 3 | {% from 'cookied-mcp-ocata-dvr-ceph/underlay.yaml' import HOSTNAME_CTL02 with context %} |
| 4 | {% from 'cookied-mcp-ocata-dvr-ceph/underlay.yaml' import HOSTNAME_CTL03 with context %} |
| 5 | {% from 'cookied-mcp-ocata-dvr-ceph/underlay.yaml' import HOSTNAME_GTW01 with context %} |
| 6 | {% from 'shared-salt.yaml' import IPV4_NET_EXTERNAL_PREFIX with context %} |
| 7 | {% from 'shared-salt.yaml' import IPV4_NET_TENANT_PREFIX with context %} |
| 8 | |
| 9 | {% import 'shared-openstack.yaml' as SHARED_OPENSTACK with context %} |
| 10 | {% import 'shared-salt.yaml' as SHARED with context %} |
| 11 | |
| 12 | {% import 'shared-ceph.yaml' as SHARED_CEPH with context %} |
| 13 | |
| 14 | # Deploy nginx before openstack services (PROD-22740) |
| 15 | - description: Deploy nginx proxy |
| 16 | cmd: salt --hard-crash --state-output=mixed --state-verbose=False |
| 17 | -C 'I@nginx:server' state.sls nginx |
| 18 | node_name: {{ HOSTNAME_CFG01 }} |
| 19 | retry: {count: 1, delay: 5} |
| 20 | skip_fail: true |
| 21 | |
| 22 | {{ SHARED_CEPH.MACRO_INSTALL_CEPH_MONS() }} |
| 23 | |
| 24 | {{ SHARED_CEPH.MACRO_INSTALL_CEPH_MGR() }} |
| 25 | |
| 26 | {{ SHARED_CEPH.MACRO_INSTALL_CEPH_OSD_AND_RADOSGW() }} |
| 27 | |
| 28 | {{ SHARED_CEPH.CONNECT_CEPH_TO_SERVICES() }} |
| 29 | |
| 30 | {{ SHARED_OPENSTACK.MACRO_INSTALL_KEYSTONE() }} |
| 31 | |
| 32 | {{ SHARED_OPENSTACK.MACRO_INSTALL_GLANCE() }} |
| 33 | |
| 34 | {{ SHARED_OPENSTACK.MACRO_INSTALL_NOVA() }} |
| 35 | |
| 36 | {{ SHARED_OPENSTACK.MACRO_INSTALL_CINDER() }} |
| 37 | |
| 38 | {{ SHARED_OPENSTACK.MACRO_INSTALL_NEUTRON() }} |
| 39 | |
| 40 | {{ SHARED_OPENSTACK.MACRO_INSTALL_HEAT() }} |
| 41 | |
Pavel Glazov | 9bf865d | 2018-12-13 17:22:01 +0400 | [diff] [blame] | 42 | {{ SHARED_OPENSTACK.MACRO_INSTALL_DESIGNATE(INSTALL_BIND=true) }} |
Pavel Glazov | 5dc63a9 | 2018-11-27 12:48:25 +0400 | [diff] [blame] | 43 | |
| 44 | {{ SHARED_OPENSTACK.MACRO_INSTALL_HORIZON() }} |
| 45 | |
Pavel Glazov | c3780ef | 2018-12-13 17:44:30 +0400 | [diff] [blame] | 46 | {{ SHARED_OPENSTACK.MACRO_INSTALL_COMPUTE(CELL_MAPPING=true) }} |