-
Notifications
You must be signed in to change notification settings - Fork 0
/
bundle-4-nodes.nova-lxd.pike.yaml
195 lines (195 loc) · 4.71 KB
/
bundle-4-nodes.nova-lxd.pike.yaml
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
machines:
'1':
constraints: arch=amd64 spaces=compute-external,^storage-cluster
series: xenial
'2':
constraints: arch=amd64 spaces=storage-cluster,^compute-external
series: xenial
'3':
constraints: arch=amd64 spaces=storage-cluster,^compute-external
series: xenial
'4':
constraints: arch=amd64 spaces=storage-cluster,^compute-external
series: xenial
relations:
- - nova-compute:amqp
- rabbitmq-server:amqp
- - neutron-gateway:amqp
- rabbitmq-server:amqp
- - keystone:shared-db
- mysql:shared-db
- - nova-cloud-controller:identity-service
- keystone:identity-service
- - glance:identity-service
- keystone:identity-service
- - neutron-api:identity-service
- keystone:identity-service
- - neutron-openvswitch:neutron-plugin-api
- neutron-api:neutron-plugin-api
- - neutron-api:shared-db
- mysql:shared-db
- - neutron-api:amqp
- rabbitmq-server:amqp
- - neutron-gateway:neutron-plugin-api
- neutron-api:neutron-plugin-api
- - glance:shared-db
- mysql:shared-db
- - glance:amqp
- rabbitmq-server:amqp
- - nova-cloud-controller:image-service
- glance:image-service
- - nova-compute:image-service
- glance:image-service
- - nova-cloud-controller:cloud-compute
- nova-compute:cloud-compute
- - nova-cloud-controller:amqp
- rabbitmq-server:amqp
- - nova-cloud-controller:quantum-network-service
- neutron-gateway:quantum-network-service
- - nova-compute:neutron-plugin
- neutron-openvswitch:neutron-plugin
- - neutron-openvswitch:amqp
- rabbitmq-server:amqp
- - openstack-dashboard:identity-service
- keystone:identity-service
- - nova-cloud-controller:shared-db
- mysql:shared-db
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - ntp:juju-info
- nova-compute:juju-info
- - ntp:juju-info
- neutron-gateway:juju-info
- - nova-compute:lxd
- lxd:lxd
series: xenial
services:
glance:
bindings:
public: public-api
internal: internal-api
admin: admin-api
shared-db: internal-api
charm: cs:xenial/glance
num_units: 1
options:
openstack-origin: cloud:xenial-pike
worker-multiplier: 0.25
to:
- 'lxd:4'
keystone:
bindings:
public: public-api
internal: internal-api
admin: admin-api
shared-db: internal-api
charm: cs:xenial/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: cloud:xenial-pike
worker-multiplier: 0.25
to:
- 'lxd:3'
lxd:
charm: cs:xenial/lxd
num_units: 0
options:
block-devices: /dev/vdb
overwrite: true
storage-type: btrfs
mysql:
bindings:
shared-db: internal-api
charm: cs:xenial/percona-cluster
num_units: 1
options:
max-connections: 1000
innodb-buffer-pool-size: '25%'
to:
- 'lxd:1'
neutron-api:
bindings:
public: public-api
internal: internal-api
admin: admin-api
shared-db: internal-api
charm: cs:xenial/neutron-api
num_units: 1
options:
dns-domain: felipe-alfaro.com.
enable-ml2-dns: true
flat-network-providers: physnet1
neutron-security-groups: true
openstack-origin: cloud:xenial-pike
worker-multiplier: 0.25
to:
- 'lxd:2'
neutron-gateway:
bindings:
data: compute-data
charm: cs:xenial/neutron-gateway
num_units: 1
options:
bridge-mappings: physnet1:br-ex
data-port: br-ex:ens4.99
dns-servers: '8.8.8.8,8.8.4.4'
openstack-origin: cloud:xenial-pike
worker-multiplier: 0.25
to:
- '1'
neutron-openvswitch:
bindings:
data: compute-data
charm: cs:xenial/neutron-openvswitch
num_units: 0
nova-cloud-controller:
bindings:
public: public-api
internal: internal-api
admin: admin-api
shared-db: internal-api
charm: cs:xenial/nova-cloud-controller
num_units: 1
options:
console-access-protocol: novnc
console-proxy-ip: local
network-manager: Neutron
openstack-origin: cloud:xenial-pike
worker-multiplier: 0.25
to:
- 'lxd:2'
nova-compute:
charm: cs:xenial/nova-compute
num_units: 3
options:
config-flags: default_ephemeral_format=ext4
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: cloud:xenial-pike
virt-type: lxd
to:
- '2'
- '3'
- '4'
ntp:
charm: cs:xenial/ntp
num_units: 0
openstack-dashboard:
bindings:
website: admin-api
"": public-api
charm: cs:xenial/openstack-dashboard
num_units: 1
options:
openstack-origin: cloud:xenial-pike
to:
- 'lxd:4'
rabbitmq-server:
bindings:
amqp: internal-api
charm: cs:xenial/rabbitmq-server
num_units: 1
to:
- 'lxd:1'