openstack ephemeral storage and ceph
ed bond
celpa.firl at gmail.com
Thu Nov 5 14:22:36 UTC 2015
Does anyone know how to configure the juju openstack charms to have ephemeral storage use ceph instead of the local disk so that I can do live migrations?
- Ed
My sample bundle that I used:
machines:
'0':
constraints: "arch=amd64 cpu-cores=4 root-disk=2072"
series: trusty
'1':
series: trusty
'2':
series: trusty
'3':
series: trusty
'4':
series: trusty
'5':
series: trusty
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
- - cinder:image-service
- glance:image-service
- - cinder:amqp
- rabbitmq-server:amqp
- - cinder:identity-service
- keystone:identity-service
- - cinder:cinder-volume-service
- nova-cloud-controller:cinder-volume-service
- - cinder-ceph:storage-backend
- cinder:storage-backend
- - ceph:client
- nova-compute:ceph
- - cinder:shared-db
- mysql:shared-db
- - ceph:client
- cinder-ceph:ceph
- - ceph:client
- glance:ceph
- - ceph-osd:mon
- ceph:osd
- - ntp:juju-info
- nova-compute:juju-info
- - ntp:juju-info
- neutron-gateway:juju-info
- - ceph-radosgw:mon
- ceph:radosgw
- - ceph-radosgw:identity-service
- keystone:identity-service
series: trusty
services:
ceph:
annotations:
gui-x: '750'
gui-y: '500'
charm: cs:trusty/ceph-38
num_units: 3
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
monitor-secret: AQAi5a9UeJXUExAA+By9u+GPhl8/XiUQ4nwI3A==
osd-devices: /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp /dev/sdq /dev/sdr
osd-reformat: 'yes'
source: cloud:trusty-kilo
to:
- '0'
- '1'
- '2'
ceph-osd:
annotations:
gui-x: '1000'
gui-y: '500'
charm: cs:trusty/ceph-osd-12
num_units: 3
options:
osd-devices: /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp /dev/sdq /dev/sdr
osd-reformat: 'yes'
source: cloud:trusty-kilo
to:
- '3'
- '4'
- '5'
ceph-radosgw:
num_units: 1
annotations:
gui-x: '1000'
gui-y: '250'
charm: cs:trusty/ceph-radosgw-15
options:
source: cloud:trusty-kilo
use-embedded-webserver: true
to:
- lxc:0
cinder:
num_units: 2
annotations:
gui-x: '750'
gui-y: '0'
charm: cs:trusty/cinder-26
options:
block-device: None
glance-api-version: 2
ha-mcastport: 5401
openstack-origin: cloud:trusty-kilo
to:
- lxc:0
- lxc:1
cinder-ceph:
annotations:
gui-x: '750'
gui-y: '250'
charm: cs:trusty/cinder-ceph-9
options:
ceph-osd-replication-count: 2
num_units: 0
glance:
annotations:
gui-x: '250'
gui-y: '0'
charm: cs:trusty/glance-24
num_units: 2
options:
ha-mcastport: 5402
openstack-origin: cloud:trusty-kilo
to:
- lxc:1
- lxc:2
keystone:
annotations:
gui-x: '500'
gui-y: '0'
charm: cs:trusty/keystone-28
options:
admin-password: openstack
ha-mcastport: 5403
openstack-origin: cloud:trusty-kilo
num_units: 2
to:
- lxc:2
- lxc:3
mysql:
annotations:
gui-x: '0'
gui-y: '250'
charm: cs:trusty/percona-cluster-26
options:
max-connections: 20000
num_units: 2
to:
- lxc:3
- lxc:4
neutron-api:
annotations:
gui-x: '500'
gui-y: '500'
charm: cs:trusty/neutron-api-17
options:
neutron-security-groups: true
openstack-origin: cloud:trusty-kilo
num_units: 2
to:
- lxc:4
- lxc:5
neutron-gateway:
annotations:
gui-x: '0'
gui-y: '0'
charm: cs:trusty/neutron-gateway-5
options:
ext-port: eth1
openstack-origin: cloud:trusty-kilo
num_units: 1
to:
- '0'
neutron-openvswitch:
annotations:
gui-x: '250'
gui-y: '500'
charm: cs:trusty/neutron-openvswitch-9
num_units: 0
nova-cloud-controller:
annotations:
gui-x: '0'
gui-y: '500'
charm: cs:trusty/nova-cloud-controller-60
options:
network-manager: Neutron
openstack-origin: cloud:trusty-kilo
quantum-security-groups: 'yes'
num_units: 2
to:
- lxc:2
- lxc:3
nova-compute:
annotations:
gui-x: '250'
gui-y: '250'
charm: cs:trusty/nova-compute-26
options:
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: cloud:trusty-kilo
num_units: 6
to:
- '0'
- '1'
- '2'
- '3'
- '4'
- '5'
ntp:
annotations:
gui-x: '1000'
gui-y: '0'
charm: cs:trusty/ntp-11
num_units: 0
openstack-dashboard:
charm: cs:trusty/openstack-dashboard-16
openstack-origin: cloud:trusty-kilo
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: 'true'
webroot: /horizon
openstack-origin-git: |
{repositories:[
{name: requirements,
repository: 'git://github.com/openstack/requirements',
branch: master},
{name: muranodashboard,
repository: 'git://github.com/openstack/murano-dashboard',
branch: master},
{name: horizon,
repository: 'git://github.com/openstack/horizon',
branch: master}]}
num_units: 2
to:
- lxc:3
- lxc:4
rabbitmq-server:
annotations:
gui-x: '500'
gui-y: '250'
charm: cs:trusty/rabbitmq-server-33
num_units: 2
to:
- lxc:4
- lxc:5
More information about the Juju
mailing list