blob: befdcfceb6e60936c1f4905ab8010cacef7dda83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
---
- name: Setup Clients
command: ./tools/deployment/multinode/010-setup-client.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy the ingress controller
command: ./tools/deployment/multinode/020-ingress.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Ceph
command: ./tools/deployment/multinode/030-ceph.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Activate the openstack namespace to be able to use Ceph
command: ./tools/deployment/multinode/040-ceph-ns-activate.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy MariaDB
command: ./tools/deployment/multinode/050-mariadb.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy RabbitMQ
command: ./tools/deployment/multinode/060-rabbitmq.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy memcached
command: ./tools/deployment/multinode/070-memcached.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Keystone
command: ./tools/deployment/multinode/080-keystone.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Horizon
command: ./tools/deployment/multinode/085-horizon.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Rados Gateway for object store
command: ./tools/deployment/multinode/090-ceph-radosgateway.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Glance
command: ./tools/deployment/multinode/100-glance.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Cinder
command: ./tools/deployment/multinode/110-cinder.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy OpenvSwitch
command: ./tools/deployment/multinode/120-openvswitch.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Libvirt
command: ./tools/deployment/multinode/130-libvirt.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Add br-vxlan as the tunnel interface
lineinfile:
path: /root/repos/openstack-helm/tools/deployment/multinode/140-compute-kit.sh
regexp: 'NETWORK_TUNNEL_DEV="$(network_tunnel_dev)"'
line: 'NETWORK_TUNNEL_DEV=br-vxlan'
- name: Deploy Compute Kit (Nova and Neutron)
command: ./tools/deployment/multinode/140-compute-kit.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Heat
command: ./tools/deployment/multinode/150-heat.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Deploy Barbican
command: ./tools/deployment/multinode/160-barbican.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Copy script to the worker node
command: "scp -o \"StrictHostKeyChecking no\" tools/deployment/developer/ceph/170-setup-gateway.sh root@{{ hostvars.node1.ip }}:170-setup-gateway.sh"
changed_when: false
args:
chdir: /root/repos/openstack-helm
- name: Setup the gateway to the public network at worker node
command: /root/170-setup-gateway.sh
changed_when: false
delegate_to: node1
- name: Add a route from opnfv to worker node for the public network
command: ip route add 172.24.4.0/24 via 192.168.122.4
changed_when: false
# Deployment validation
- name: Exercise the cloud
command: ./tools/deployment/developer/common/900-use-it.sh
changed_when: false
args:
chdir: /root/repos/openstack-helm
|