Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
205 lines (204 sloc) 4.71 KB
# Juju 2.0 or later required (lxd placement)
#
# A mixed-architecture deployment with the control plane and storage
# services on x86, and multiple compute nodes on z/KVM, in line with
# the OpenStack-Telemetry charm store bundle which uses the current
# dev charm versions, aka the 'next charms'.
#
# Creates a dense 2-machine amd64 control plane to server one or more
# z/KVM compute nodes. Ceph is excluded due to the low machine count,
# and swift is used instead for object storage.
#
# The machine tags are specific to the original test lab and will
# need to be adjusted when deployed elsewhere. As will user, remote
# key, and potentially other config values.
#
# This is a proof-of-concept test bundle, intended to be an example.
# It is not highly-available, nor is it soak tested.
machines:
# Don't need machine 0 for juju 2
# Juju Bootstrap / Controller
# "0":
# constraints: arch=amd64 tags=uosci
# OpenStack Neutron Gateway + OpenStack Control Plane
"1":
constraints: arch=amd64 tags=netspaces
# OpenStack Object Storage + OpenStack Control Plane
"2":
constraints: arch=amd64 tags=netspaces
series: xenial
relations:
- - keystone
- mysql
- - nova-cloud-controller
- mysql
- - nova-cloud-controller
- rabbitmq-server
- - nova-cloud-controller
- glance
- - nova-cloud-controller
- keystone
- - glance
- mysql
- - glance
- keystone
- - glance
- rabbitmq-server
- - neutron-gateway
- nova-cloud-controller
- - openstack-dashboard
- keystone
- - swift-proxy
- keystone
- - swift-proxy
- swift-storage
- - ceilometer
- keystone:identity-service
- - ceilometer
- rabbitmq-server
- - ceilometer
- mongodb
- - heat
- mysql
- - heat
- keystone
- - heat
- rabbitmq-server
- - neutron-gateway:amqp
- rabbitmq-server
- - neutron-api
- mysql
- - neutron-api
- rabbitmq-server
- - neutron-api
- nova-cloud-controller
- - neutron-api
- keystone
- - neutron-api
- neutron-gateway
- - aodh:shared-db
- mysql:shared-db
- - aodh:identity-service
- keystone:identity-service
- - aodh:amqp
- rabbitmq-server:amqp
- - nova-compute-proxy
- nova-cloud-controller
- - nova-compute-proxy
- neutron-api
- - nova-compute-proxy
- rabbitmq-server:amqp
- - nova-compute-proxy
- glance
services:
nova-compute-proxy:
charm: cs:~openstack-charmers-next/nova-compute-proxy
num_units: 1
options:
remote-user: root
remote-password: ""
remote-repos: "ftp://"
remote-key: |
----BEGIN RSA PRIVATE KEY-----
PRIVATE KEY DATA HERE .........
-----END RSA PRIVATE KEY-----
remote-hosts: "10.10.10.10 10.10.10.11"
cpu-mode: "none"
to:
- lxd:2
aodh:
charm: cs:~openstack-charmers-next/xenial/aodh
num_units: 1
to:
- lxd:2
ceilometer:
charm: cs:~openstack-charmers-next/xenial/ceilometer
num_units: 1
to:
- lxd:1
glance:
charm: cs:~openstack-charmers-next/xenial/glance
num_units: 1
to:
- lxd:1
heat:
charm: cs:~openstack-charmers-next/xenial/heat
num_units: 1
to:
- lxd:2
keystone:
charm: cs:~openstack-charmers-next/xenial/keystone
options:
admin-password: openstack
admin-token: ubuntutesting
num_units: 1
to:
- lxd:1
mongodb:
charm: cs:trusty/mongodb
num_units: 1
to:
- lxd:1
mysql:
charm: cs:~openstack-charmers-next/xenial/percona-cluster
options:
dataset-size: 25%
max-connections: 20000
root-password: ChangeMe123
sst-password: ChangeMe123
num_units: 1
to:
- lxd:2
neutron-api:
charm: cs:~openstack-charmers-next/xenial/neutron-api
options:
flat-network-providers: physnet1
neutron-security-groups: true
num_units: 1
to:
- lxd:2
neutron-gateway:
charm: cs:~openstack-charmers-next/xenial/neutron-gateway
options:
bridge-mappings: physnet1:br-ex
data-port: br-ex:eth1
instance-mtu: 1300
num_units: 1
to:
- 1
nova-cloud-controller:
charm: cs:~openstack-charmers-next/xenial/nova-cloud-controller
options:
network-manager: Neutron
num_units: 1
to:
- lxd:2
openstack-dashboard:
charm: cs:~openstack-charmers-next/xenial/openstack-dashboard
options:
num_units: 1
to:
- lxd:1
rabbitmq-server:
charm: cs:~openstack-charmers-next/xenial/rabbitmq-server
num_units: 1
to:
- lxd:2
swift-proxy:
charm: cs:~openstack-charmers-next/xenial/swift-proxy
options:
replicas: 1
swift-hash: 23fa5444-3cf4-4371-a2e4-9288a509ecff
zone-assignment: manual
num_units: 1
to:
- lxd:1
swift-storage:
charm: cs:~openstack-charmers-next/xenial/swift-storage
num_units: 1
options:
block-device: sdb
overwrite: "true"
zone: 1
to:
- 2