Juju-Gum with openstack/ceph
ed bond
celpa.firl at gmail.com
Thu Jul 30 16:36:42 UTC 2015
Hello all,
I set out to try to install openstack via the bundle, using the charm: cs:trusty/juju-gui-33.
While I didn’t commit the bundle, I needed to be able to add drives to my ceph configuration so that it would provision my 15 drive DAC’s. The problem was that changing the config before committing the bundle didn’t seem to apply the right configuration.
Rough steps that I did:
1. Add 4 machines and wait for them to come up in the gui
2. Added 5 lxc containers for the network / control node
root container:
neutron-api/0
neutron-gateway/0
glance/0
lxc/0:
rabbitmq-server/0
openstack-dashboard/0
lxc/1:
mysql/0
lxc/2:
keystone/0
lxc/3:
ceph-radosgw/0
nova-cloud-controller/2
lxc/4:
cinder/1
3. Add openstack-base bundle
4. Remove ceph, ceph-osd units
5. Place all the units
6. Commit the changes and wait for them all to come up
7. Change the ceph / ceph-osd config, commit the changes
8. Add 3 monitor units for ceph, place them
9. Add 1 ceph-osd unit, place it
Then I had a working openstack environment with the proper drives being used.
ubuntu at unsightly-teeths:~$ lsblk | grep -i ceph
├─sdb1 8:17 0 930G 0 part /var/lib/ceph/osd/ceph-7
├─sdc1 8:33 0 930G 0 part /var/lib/ceph/osd/ceph-8
├─sdd1 8:49 0 930G 0 part /var/lib/ceph/osd/ceph-9
├─sde1 8:65 0 930G 0 part /var/lib/ceph/osd/ceph-10
├─sdf1 8:81 0 930G 0 part /var/lib/ceph/osd/ceph-11
├─sdg1 8:97 0 930G 0 part /var/lib/ceph/osd/ceph-12
├─sdh1 8:113 0 930G 0 part /var/lib/ceph/osd/ceph-13
├─sdi1 8:129 0 930G 0 part /var/lib/ceph/osd/ceph-14
├─sdj1 8:145 0 930G 0 part /var/lib/ceph/osd/ceph-15
├─sdk1 8:161 0 930G 0 part /var/lib/ceph/osd/ceph-16
├─sdl1 8:177 0 930G 0 part /var/lib/ceph/osd/ceph-17
├─sdm1 8:193 0 930G 0 part /var/lib/ceph/osd/ceph-18
├─sdn1 8:209 0 930G 0 part /var/lib/ceph/osd/ceph-19
├─sdo1 8:225 0 930G 0 part /var/lib/ceph/osd/ceph-20
├─sdp1 8:241 0 930.5G 0 part /var/lib/ceph/osd/ceph-21
├─sdq1 65:1 0 930.5G 0 part /var/lib/ceph/osd/ceph-22
Being able to place a bundle’s units is awesome, but being able to upload a single config for all of the bundles configs. Things like ceph resilience and ceph devices have to be set on the first deploy of the unit and can’t be changed afterwards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150730/ae28d5fb/attachment.html>
More information about the Juju
mailing list