-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbundle-4-nodes.pike.yaml
148 lines (148 loc) · 3.67 KB
/
bundle-4-nodes.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
series: xenial
machines:
'0':
constraints: arch=amd64 tags=kubernetes-master
'1':
constraints: arch=amd64 tags=kubernetes-worker
'2':
constraints: arch=amd64 tags=kubernetes-worker
'3':
constraints: arch=amd64 tags=neutron-gateway
relations:
# OpenStack 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
series: xenial
services:
## Glance has to be deployed on baremetal: when running inside an
## LXD container Glance cannot reach Ceph monitors.
glance:
charm: cs:xenial/glance
num_units: 1
options:
openstack-origin: cloud:xenial-pike
to:
- 'lxd:0'
keystone:
charm: cs:xenial/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: cloud:xenial-pike
to:
- 'lxd:0'
mysql:
charm: cs:xenial/percona-cluster
num_units: 1
options:
innodb-buffer-pool-size: '25%'
max-connections: 1000
to:
- 'lxd:0'
neutron-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
to:
- 'lxd:3'
neutron-gateway:
charm: cs:xenial/neutron-gateway
num_units: 1
options:
bridge-mappings: physnet1:br-ex
data-port: br-ex:ens4
dns-servers: '8.8.8.8,8.8.4.4'
instance-mtu: 1456
openstack-origin: cloud:xenial-pike
to:
- '3'
neutron-openvswitch:
charm: cs:xenial/neutron-openvswitch
num_units: 0
nova-cloud-controller:
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
to:
- 'lxd:0'
nova-compute:
charm: cs:xenial/nova-compute
num_units: 2
options:
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: cloud:xenial-pike
to:
- '1'
- '2'
ntp:
charm: cs:xenial/ntp
num_units: 0
openstack-dashboard:
charm: cs:xenial/openstack-dashboard
num_units: 1
options:
openstack-origin: cloud:xenial-pike
to:
- 'lxd:3'
rabbitmq-server:
charm: cs:xenial/rabbitmq-server
num_units: 1
to:
- 'lxd:0'