Commit Graph

70 Commits (f50b9ec86143597e9a7b54bfd04cee0e27b0b38d)

Author SHA1 Message Date
Sébastien Han a1d062b8f9 Fix Vagrant vars for MDS and RGW
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 17:41:52 +01:00
Sébastien Han 227927044c Use an external file to manage Vagrant variables
This is really handy when we are testing code since we don't need to
modify the Vagrantfile, which is tracked by git.
The next commit will ignore the vagrant_variables.yml file.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-24 00:09:29 +01:00
Sébastien Han f12dab9835 Enable proper options while activating rgw or mds with Vagrant
When enabling radosgw virtual machines, we also need to enable the
radosgw variable. Same thing goes with the mds.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-15 02:01:35 +01:00
Sébastien Han 812776bce4 Change disk controller name
The recently added Trusty box was build with a Controller named
"SATAController", we must reuse the same name while adding our devices.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-19 18:25:14 +01:00
Sébastien Han b31a81b2b5 Upgrade to Trusty box
Use a Trusty box instead of Precise.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-19 17:41:19 +01:00
Sébastien Han 84271325d7 Fix vagrant deployment for vagrant version > 1.7
See: https://github.com/mitchellh/vagrant/issues/5048.

Closes: #172

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-01-06 16:23:43 +01:00
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