Commit Graph

14 Commits (1ac45b966b103e06da107ae29d47e0e73d2c20be)

Author SHA1 Message Date
Sébastien Han 64df495bb6 Introduce client configuration
Introduce a client VM for KRBD and RGW.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-19 12:27:56 -08:00
Leseb 3a485bf22a Revert "Fix autogen UUID and add auto gen monitor key" 2014-11-14 15:03:50 +01:00
Sébastien Han a7bba85027 Fix autogen UUID and add auto gen monitor key
This fixes the UUID auto generation and introduces the monitor key auto
generation.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-13 15:38:10 +01:00
Matthew Rees 11f8f71aa1 Further linting and deployment automation 2014-11-10 14:33:21 +02:00
Sébastien Han 8fe3b97284 Make RGW configurable in Vagrant
Depending on what we want to test, it might be handy to simply disable
the creation of a specific virtual machine. Now if NRGWS is set to 0
this will disable it.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-06 12:15:25 +01:00
Matthew Rees 56ad45859f Ruby linting for Vagrantfile
Mostly cosmetic changes with a few changes to preferred conditional
formatting.

The only linting issues outstanding are lines that are too long and
using snake_case for the filename.
2014-11-05 17:40:36 +02:00
Sébastien Han 83be67cd54 Use a very unlikely subnet address for Vagrant
Since 192.168.0.0/24 is very commong and might overlap with some
existing networks on your laptop, using another subnet like '42' is less
bound to happen.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-09-03 00:13:07 +02:00
Sébastien Han 6f17371632 Fix OSD weight and device size
Because of the following bug: http://tracker.ceph.com/issues/8551
If we use a disk file size of 1GB the OSD weight calculation ends up
being 0. Thus no data will be stored on any OSD.
Increasing the disk file size up to 11GB (we save some filesystem
overhead since the calculation is based on df thus 11GB is safer than
10GB). Because we significantly increased the size of the disk files we
now only create 2 devices per OSD host.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-09-03 00:08:06 +02:00
Joseph Glanville e562303c03 Introduce VMware Fusion Vagrant support
* Use a box that supports all providers
* Fix hdd creation so it doesn't call customize more than once
* Introduce method to create vmdks
* Add provider customization for VMware Fusion
2014-08-16 19:06:29 +10:00
Lorin Hochstein 92c0445989 Use Vagrant's Ansible provisioner
Use Vagrant's built-in support for Ansible provisioner. This eliminates the need
for a hosts file, and simplifies the ansible config file.

Renames config from .ansible.cfg to ansible.cfg since Ansible expects the file
to be called ansible.cfg and be adjacent to Vagrantfile when using the Vagrant
provisioner.
2014-05-11 19:34:37 -04:00
Sébastien Han 8a9851a045 Reduce VM memory consumption
We now have 7 virtual machines in the Vagrant sandbox. This takes a lot
of memory. This might be a problem for some laptop and whon't help
testings.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-14 10:47:06 +01:00
Sébastien Han f295b4f5b4 Add RADOS Gateway support
This is a wip branch.
This works on Ubuntu precise, Debian Wheezy and CentOS 6.4.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-13 23:43:57 +01:00
Sébastien Han cbbd046a0f Add more tiny disks
Instead of having 5GB disks now we have 6 disks of 1GB per virtual
machine, which is more than enough for testing.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-11 14:22:11 +01:00
Sébastien Han a984854956 Add Ceph Playbook
Initial commit.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-03-03 19:08:51 +01:00