Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
441 lines (439 sloc) 10.8 KB
series: trusty
services:
neutron-gateway:
charm: cs:trusty/neutron-gateway
series: trusty
num_units: 3
options:
openstack-origin: cloud:trusty-liberty
action-managed-upgrade: 'true'
bridge-mappings: physnet1:br-ex vnet1:br-vlan
data-port: br-ex:eth1 br-vlan:eth2
database: nova
database-user: nova
debug: 'false'
ext-port: eth1
flat-network-providers: physnet1
nagios_context: juju
nova-rabbit-user: nova
nova-rabbit-vhost: openstack
plugin: ovs
rabbit-user: neutron
rabbit-vhost: openstack
use-syslog: 'false'
verbose: 'false'
vlan-ranges: physnet1 vnet1:20:29
to:
- '4'
- '5'
- '6'
mysql:
charm: cs:trusty/percona-cluster
series: trusty
num_units: 3
options:
vip: '10.0.20.20'
vip_iface: 'eth0'
ha-bindiface: 'eth0'
vip_cidr: 24
max-connections: 25000
min-cluster-size: 3
access-network: 10.0.20.0/24
innodb-buffer-pool-size: 512M
root-password: Ye1Ow2jAu6He9t
sst-password: Ye1Ow2jAu6He9t
to:
- lxc:1
- lxc:2
- lxc:3
ceph:
charm: cs:trusty/ceph
series: trusty
num_units: 3
options:
source: cloud:trusty-liberty
ceph-public-network: 10.0.20.0/24
fsid: f649b7fa-1f21-11e4-8efd-685b358b0b5c
monitor-secret: AQC6COVTsLKSABAA1Xjw8B0Hnv0KJzDEQuGpdw==
osd-devices: /dev/sdb
osd-format: xfs
osd-journal-size: 1024
osd-reformat: 'true'
to:
- '1'
- '2'
- '3'
# ceph-osd:
# charm: cs:trusty/ceph-osd
# series: trusty
# num_units: 1
# options:
# ceph-public-network: 10.0.20.0/24
# osd-devices: /dev/sdb
# osd-format: xfs
# osd-journal-size: 10240
# osd-reformat: 'true'
# source: cloud:trusty-liberty
# to:
# - '1'
# - '2'
# - '3'
rabbitmq-server:
charm: cs:trusty/rabbitmq-server
series: trusty
num_units: 3
options:
source: cloud:trusty-liberty
management_plugin: 'true'
to:
- lxc:1
- lxc:2
- lxc:3
# ceph-radosgw:
# charm: cs:trusty/ceph-radosgw
# series: trusty
# num_units: 1
# options:
# cache-size: 500
# region: RegionOne
# revocation-check-interval: 600
# source: cloud:trusty-liberty
# use-ceph-optimised-packages: 'true'
# use-embedded-webserver: 'true'
# use-syslog: 'false'
# to:
# - lxc:2
glance:
charm: cs:trusty/glance
series: trusty
num_units: 3
options:
vip: '10.0.20.21'
action-managed-upgrade: 'true'
ceph-osd-replication-count: 2
database: glance
database-user: glance
debug: 'false'
openstack-origin: cloud:trusty-liberty
prefer-ipv6: 'false'
rabbit-user: glance
rabbit-vhost: openstack
region: RegionOne
use-syslog: 'false'
verbose: 'false'
worker-multiplier: 2
to:
- lxc:1
- lxc:2
- lxc:3
keystone:
charm: cs:trusty/keystone
series: trusty
num_units: 3
options:
vip: '10.0.20.22'
action-managed-upgrade: 'true'
openstack-origin: cloud:trusty-liberty
keystone-service-admin-role: KeystoneServiceAdmin
admin-password: bdx
admin-token: bdx
token-expiration: 7200
admin-port: 35357
admin-role: Admin
admin-user: admin
assignment-backend: sql
database: keystone
database-user: keystone
debug: 'false'
enable-pki: 'false'
https-service-endpoints: 'false'
identity-backend: sql
keystone-admin-role: Admin
ldap-config-flags: None
ldap-password: None
ldap-readonly: 'true'
ldap-server: None
ldap-suffix: None
log-level: WARNING
prefer-ipv6: 'false'
region: RegionOne
service-port: 5000
service-tenant: services
token-expiration: 10000
use-https: 'no'
use-syslog: 'false'
verbose: 'false'
worker-multiplier: 2
to:
- lxc:1
- lxc:2
- lxc:3
neutron-api:
charm: cs:trusty/neutron-api
series: trusty
num_units: 3
options:
vip: '10.0.20.23'
action-managed-upgrade: 'true'
openstack-origin: cloud:trusty-liberty
vlan-ranges: physnet1 vnet1:20:29
database: neutron
database-user: neutron
debug: 'false'
enable-dvr: 'false'
enable-l3ha: 'true'
l2-population: 'false'
neutron-plugin: ovs
max-l3-agents-per-router: 3
min-l3-agents-per-router: 3
neutron-security-groups: 'false'
prefer-ipv6: 'false'
quota-floatingip: -1
quota-health-monitors: -1
quota-member: -1
quota-network: -1
quota-pool: -1
quota-port: -1
quota-router: -1
quota-security-group: -1
quota-security-group-rule: -1
quota-subnet: -1
rabbit-user: neutron
rabbit-vhost: openstack
region: RegionOne
use-syslog: 'false'
verbose: 'false'
worker-multiplier: 2
to:
- lxc:1
- lxc:2
- lxc:3
neutron-openvswitch:
charm: cs:trusty/neutron-openvswitch
series: trusty
options:
bridge-mappings: vnet1:br-vlan physnet1:br-ex
data-port: br-vlan:eth2 br-ex:eth1
debug: 'false'
disable-security-groups: 'true'
ext-port: eth1
rabbit-user: neutron
rabbit-vhost: openstack
use-syslog: 'false'
verbose: 'false'
vlan-ranges: vnet1:20:29 physnet1
ncc:
charm: cs:trusty/nova-cloud-controller
series: trusty
num_units: 3
options:
vip: "10.0.20.24"
openstack-origin: cloud:trusty-liberty
action-managed-upgrade: 'true'
config-flags: allow_resize_to_same_host=true,allow_migrate_to_same_host=true
console-access-protocol: novnc
console-keymap: en-us
database: nova
database-user: nova
debug: 'false'
network-manager: Neutron
neutron-database: neutron
neutron-database-user: neutron
prefer-ipv6: 'false'
quantum-plugin: ovs
quantum-security-groups: 'no'
rabbit-user: nova
rabbit-vhost: openstack
region: RegionOne
service-guard: 'true'
use-syslog: 'false'
verbose: 'false'
worker-multiplier: 2
to:
- lxc:1
- lxc:2
- lxc:3
nova-compute:
charm: cs:trusty/nova-compute
series: trusty
num_units: 3
options:
action-managed-upgrade: 'true'
openstack-origin: cloud:trusty-liberty
ceph-osd-replication-count: 2
cpu-mode: custom
cpu-model: kvm64
config-flags: libvirt_live_migration_flag="VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE,VIR_MIGRATE_PERSIST_DEST"
database: nova
database-user: nova
disable-neutron-security-groups: 'true'
disk-cachemodes: network=writeback,block=writeback
enable-live-migration: 'true'
enable-resize: 'true'
libvirt-image-backend: rbd
migration-auth-type: ssh
multi-host: 'no'
neutron-database: neutron
neutron-database-user: neutron
rabbit-user: nova
rabbit-vhost: openstack
use-syslog: 'false'
verbose: 'false'
virt-type: kvm
to:
- '1'
- '2'
- '3'
openstack-dashboard:
charm: cs:trusty/openstack-dashboard
series: trusty
num_units: 3
options:
vip: "10.0.20.25"
action-managed-upgrade: 'true'
openstack-origin: cloud:trusty-liberty
debug: 'no'
default-role: Member
neutron-network-firewall: 'true'
neutron-network-lb: 'true'
neutron-network-vpn: 'true'
offline-compression: 'yes'
prefer-ipv6: 'false'
ubuntu-theme: 'yes'
use-syslog: 'false'
webroot: /
to:
- lxc:1
- lxc:2
- lxc:3
ntp:
charm: cs:trusty/ntp
series: trusty
glance-simplestreams-sync:
charm: cs:trusty/glance-simplestreams-sync
series: trusty
options:
use_swift: false
to:
- lxc:4
mysql-hacluster:
charm: cs:trusty/hacluster
series: trusty
options:
cluster_count: 3
corosync_transport: unicast
ncc-hacluster:
charm: cs:trusty/hacluster
series: trusty
options:
corosync_transport: unicast
keystone-hacluster:
charm: cs:trusty/hacluster
series: trusty
options:
corosync_transport: unicast
neutron-api-hacluster:
charm: cs:trusty/hacluster
series: trusty
options:
corosync_transport: unicast
glance-hacluster:
charm: cs:trusty/hacluster
series: trusty
options:
corosync_transport: unicast
dashboard-hacluster:
charm: cs:trusty/hacluster
series: trusty
options:
corosync_transport: unicast
relations:
- - keystone
- openstack-dashboard
- - glance:ceph
- ceph:client
- - nova-compute:ceph
- ceph:client
- - ntp:juju-info
- ceph:juju-info
- - nova-compute:neutron-plugin
- neutron-openvswitch:neutron-plugin
- - nova-compute:amqp
- rabbitmq-server:amqp
- - mysql:shared-db
- nova-compute:shared-db
- - nova-compute:image-service
- glance:image-service
- - ncc:cloud-compute
- nova-compute:cloud-compute
- - ntp:juju-info
- nova-compute:juju-info
- - ncc:shared-db
- mysql:shared-db
- - rabbitmq-server:amqp
- ncc:amqp
- - glance:image-service
- ncc:image-service
- - keystone:identity-service
- ncc:identity-service
- - mysql:shared-db
- glance:shared-db
- - keystone:identity-service
- glance:identity-service
- - rabbitmq-server:amqp
- glance:amqp
- - keystone:identity-service
- openstack-dashboard:identity-service
- - mysql:shared-db
- keystone:shared-db
- - neutron-api:identity-service
- keystone:identity-service
- - neutron-openvswitch:neutron-plugin-api
- neutron-api:neutron-plugin-api
- - mysql:shared-db
- neutron-api:shared-db
- - rabbitmq-server:amqp
- neutron-api:amqp
- - ncc:neutron-api
- neutron-api:neutron-api
- - rabbitmq-server:amqp
- neutron-openvswitch:amqp
- - mysql:shared-db
- neutron-gateway:shared-db
- - ncc:quantum-network-service
- neutron-gateway:quantum-network-service
- - ntp:juju-info
- neutron-gateway:juju-info
- - rabbitmq-server:amqp
- neutron-gateway:amqp
- - neutron-gateway
- neutron-api
- - mysql
- mysql-hacluster
- - glance
- glance-hacluster
- - neutron-api
- neutron-api-hacluster
- - keystone
- keystone-hacluster
- - ncc
- ncc-hacluster
- - openstack-dashboard
- dashboard-hacluster
- - glance-simplestreams-sync:amqp
- rabbitmq-server:amqp
- - glance-simplestreams-sync:identity-service
- keystone:identity-service
machines:
1:
constraints: tags=ex-stor
2:
constraints: tags=ex-stor
3:
constraints: tags=ex-stor
4:
constraints: tags=network
5:
constraints: tags=network1
6:
constraints: tags=network2