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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
|
# This bundle file containts the following bundles:
# 1. plumgrid-ons-phase1:
# This bundle deploys 4 nodes in total:
# - 2 x Compute
# - 1 x Controller
# - 1 x Gateways
# Please note that the JUJU Bootstrap node is a seperate node
# This bundle waits for all the nodes to be deployed before it exits
#
# 2. plumgrid-ons-phase2:
# This bundle deploys all the required charms to bring up OpenStack with PLUMgrid
#
# 3. plumgrid-configs:
# This bundle overwrites the configs in plumgrid-ons-phase2
#
# 4. plumgrid-kilo:
# This bundle overwrites the source and openstack-origin configs to deploy OpenStack Kilo with PLUMgrid
#
# 5. plumgrid-liberty:
# This bundle overwrites the source and openstack-origin configs to deploy OpenStack Liberty with PLUMgrid
plumgrid-ons-phase1:
series: trusty
services:
controller-node:
charm: "cs:trusty/ubuntu"
num_units: 1
constraints: tags=controller
compute-node:
charm: "cs:trusty/ubuntu"
num_units: 2
constraints: tags=compute
gateway-node:
charm: "cs:trusty/ubuntu"
num_units: 1
constraints: tags=gateway
plumgrid-ons-phase2:
inherits: plumgrid-ons-phase1
series: 'trusty'
relations:
- ['mysql', 'keystone']
- ['nova-cloud-controller', 'mysql']
- ['nova-cloud-controller', 'rabbitmq-server']
- ['nova-cloud-controller', 'glance']
- ['nova-cloud-controller', 'keystone']
- ['nova-compute', 'nova-cloud-controller']
- ['nova-compute', 'mysql']
- ['nova-compute', 'rabbitmq-server']
- ['nova-compute', 'glance']
- ['glance', 'mysql']
- ['glance', 'keystone']
- ['glance', 'cinder']
- ['mysql', 'cinder']
- ['cinder', 'rabbitmq-server']
- ['cinder', 'nova-cloud-controller']
- ['cinder', 'keystone']
- ['openstack-dashboard', 'keystone']
- ['neutron-api', 'mysql']
- ['neutron-api', 'keystone']
- ['neutron-api', 'rabbitmq-server']
- ['neutron-api', 'nova-cloud-controller']
- ["neutron-api-plumgrid:plumgrid-configs", "plumgrid-director:plumgrid-configs"]
- ['neutron-api:neutron-plugin-api-subordinate', 'neutron-api-plumgrid:neutron-plugin-api-subordinate']
- ['neutron-api-plumgrid', 'plumgrid-edge']
- ['neutron-api-plumgrid', 'keystone']
- ['plumgrid-director', 'plumgrid-edge']
- ['nova-compute', 'plumgrid-edge']
- ['plumgrid-director', 'plumgrid-gateway']
services:
mysql:
charm: cs:trusty/percona-cluster-241
num_units: 1
annotations:
"gui-x": "-250"
"gui-y": "250"
to: 'lxc:controller-node=0'
rabbitmq-server:
charm: cs:trusty/rabbitmq-server-43
num_units: 1
annotations:
"gui-x": "-750"
"gui-y": "250"
to: 'lxc:controller-node=0'
keystone:
charm: cs:trusty/keystone-253
num_units: 1
options:
admin-password: plumgrid
use-https: "no"
annotations:
"gui-x": "0"
"gui-y": "0"
to: 'lxc:controller-node=0'
nova-cloud-controller:
charm: cs:trusty/nova-cloud-controller-283
num_units: 1
options:
console-access-protocol: novnc
network-manager: Neutron
quantum-security-groups: 'yes'
annotations:
"gui-x": "-500"
"gui-y": "0"
to: 'lxc:controller-node=0'
glance:
charm: cs:trusty/glance-248
num_units: 1
annotations:
"gui-x": "-250"
"gui-y": "-250"
to: 'lxc:controller-node=0'
openstack-dashboard:
charm: cs:trusty/openstack-dashboard-238
num_units: 1
annotations:
"gui-x": "0"
"gui-y": "-500"
to: 'lxc:controller-node=0'
cinder:
charm: cs:trusty/cinder-252
num_units: 1
annotations:
"gui-x": "250"
"gui-y": "-250"
to: 'lxc:controller-node=0'
neutron-api:
charm: cs:trusty/neutron-api-240
num_units: 1
options:
neutron-security-groups: True
annotations:
"gui-x": "500"
"gui-y": "0"
to: 'lxc:controller-node=0'
neutron-api-plumgrid:
charm: cs:~plumgrid-team/trusty/neutron-api-plumgrid-18
options:
enable-metadata: "True"
annotations:
"gui-x": "750"
"gui-y": "250"
plumgrid-director:
charm: cs:~plumgrid-team/trusty/plumgrid-director-30
num_units: 1
options:
plumgrid-password: plumgrid
plumgrid-username: plumgrid
annotations:
"gui-x": "0"
"gui-y": "500"
to:
- "controller-node=0"
nova-compute:
charm: cs:trusty/nova-compute-253
num_units: 2
options:
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
virt-type: qemu
annotations:
"gui-x": "250"
"gui-y": "250"
to:
- "compute-node=0"
plumgrid-edge:
charm: cs:~plumgrid-team/trusty/plumgrid-edge-26
annotations:
"gui-x": "500"
"gui-y": "500"
plumgrid-gateway:
charm: cs:~plumgrid-team/trusty/plumgrid-gateway-26
num_units: 1
annotations:
"gui-x": "-500"
"gui-y": "500"
to:
- "gateway-node=0"
plumgrid-configs:
inherits: plumgrid-ons-phase2
overrides:
plumgrid-virtual-ip: 192.168.100.250
manage-neutron-plugin-legacy-mode: False
# Provide apt repository for PLUMgrid packages
install_sources: "deb http://37.48.126.173/ build413b18/"
# Use this value if pulling packages from LCM
#install_sources: |
# - "deb http://192.168.100.5:81/plumgrid plumgrid fuji-413-maki"
# - "deb http://192.168.100.5:81/plumgrid-images plumgrid fuji-413-maki"
#plumgrid-build:
#iovisor-build:
# Interfaces on gateway node for external connectivity
#external-interfaces: '{"DEFAULT":"eth2"}'
# Uncomment for seperate fabric/data network
# Interfaces on all PLUMgrid nodes connected to fabric/data network
#fabric-interfaces: '{"DEFAULT":"eth1"}'
# Fabric/data network
#os-data-network: "192.168.202.0/24"
plumgrid-kilo:
inherits: plumgrid-configs
overrides:
source: cloud:trusty-kilo
openstack-origin: cloud:trusty-kilo
plumgrid-liberty:
inherits: plumgrid-configs
overrides:
source: cloud:trusty-liberty
openstack-origin: cloud:trusty-liberty
|