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 | |
| 42 | # install designate backend |
| 43 | - description: Install bind |
| 44 | cmd: salt --hard-crash --state-output=mixed --state-verbose=False |
| 45 | -C 'I@bind:server' state.sls bind |
| 46 | node_name: {{ HOSTNAME_CFG01 }} |
| 47 | retry: {count: 1, delay: 5} |
| 48 | skip_fail: false |
| 49 | |
| 50 | {{ SHARED_OPENSTACK.MACRO_INSTALL_DESIGNATE() }} |
| 51 | |
| 52 | {{ SHARED_OPENSTACK.MACRO_INSTALL_HORIZON() }} |
| 53 | |
Pavel Glazov | f3c5907 | 2018-12-13 14:27:01 +0400 | [diff] [blame^] | 54 | {{ SHARED_OPENSTACK.MACRO_INSTALL_COMPUTE() }} |