Commit Graph

1187 Commits (4a181d420d7d0f8361d24f274c0e952b9d956945)
 

Author SHA1 Message Date
Leseb 3cb3b35f9d Merge pull request #247 from leseb/use-hammer
Use last Ceph release Hammer
2015-04-09 10:56:38 +02:00
Sébastien Han 7b77ce5a9a Use last Ceph release Hammer
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-09 10:55:41 +02:00
Leseb d39a1f021f Merge pull request #245 from leseb/change-when-false
Only change when the task returns false
2015-04-08 18:48:01 +02:00
Sébastien Han d20288c3c2 Only change when the task returns false
We only want to see things that really changed after a play completes.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-08 18:46:54 +02:00
Sébastien Han 54353f74e8 Add role dependancies
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-08 17:36:40 +02:00
Leseb 4166c6cdc2 Merge pull request #243 from leseb/os-migration-rgw
Add support for RGW
2015-04-08 16:19:51 +02:00
Sébastien Han 56de5cc111 Add support for RGW
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-08 16:19:28 +02:00
Leseb d400d242f8 Merge pull request #242 from ceph/improve-upgrades-checks
Improve regex syntax
2015-03-31 14:27:46 +02:00
Sébastien Han 557c5790d9 Improve regex syntax
Chain sed commands with ';' and add '-s' to grep for quiet output

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-30 22:13:29 +02:00
Leseb 6343378852 Merge pull request #237 from leseb/improve-rolling-upgrade
Improve upgrades
2015-03-30 18:57:40 +02:00
Sébastien Han 6aaea43d1c Merge branch 'master' of https://github.com/ceph/ceph-ansible into improve-rolling-upgrade 2015-03-30 17:29:28 +02:00
Leseb c40734b7ca Merge pull request #240 from leseb/vagrant-boxes
Make more boxes available
2015-03-30 11:52:11 +02:00
Sébastien Han ad0d75a9a1 Make more boxes available
The box can be configured thanks to a new var, look at vagrant_variables
and select your box.
Handy to test several distros deployment.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-30 11:48:17 +02:00
Leseb e9dc0e13ec Merge pull request #239 from leseb/upstart-sysvinit
Rework upstart and sysvinit
2015-03-30 11:39:01 +02:00
Sébastien Han 6005f446db Rework upstart and sysvinit
Once again and hopefully final commit to rework the support of both
upstart and sysvinit. As from now, Ubuntu systems will use upstart and
the others will use sysvinit.
A later commit might include the support of systemd as the unit files
come out. This will be for Hammer so probably soon.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-30 11:38:19 +02:00
Leseb 5ff8867e6f Merge pull request #214 from mhubig/splitup
Adds an ansible playbook to split the roles from this repo.
2015-03-30 11:20:34 +02:00
Leseb 421c14fb37 Merge pull request #236 from leseb/fix-mon-upstart
Activate either sysvinit or upstart
2015-03-26 18:50:43 +01:00
Sébastien Han b6b8437a7a Activate either sysvinit or upstart
Depending on the distro, init scripts will look for different files to
be available on the ceph data dir.
Fixing the upstart support here.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-26 18:23:58 +01:00
Sébastien Han 6f806cc3be Improve rolling upgrades
Re-arrange the files.
Add new checks.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-26 17:44:32 +01:00
Leseb 63399197de Merge pull request #235 from leseb/fix-rest-api
Default client is already client.restapi
2015-03-25 11:30:37 +01:00
Sébastien Han 57b8eef771 Default client is already client.restapi
No need to specify it.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-25 11:29:51 +01:00
Leseb 54a3534d49 Merge pull request #234 from leseb/rework-rgw-keys
Fix RGW startup
2015-03-24 11:03:09 +01:00
Sébastien Han 22348ebce7 Fix RGW startup
If the distribution wasn't Ubuntu, the check wasn't performed so the
evaluation in the task later wasn't possible.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-24 11:02:12 +01:00
Leseb 8d126a361b Merge pull request #233 from leseb/fix-mds-pool-creation
Enforce var pool creation
2015-03-24 10:12:22 +01:00
Leseb 72e1050bae Merge pull request #232 from leseb/ceph-rest-api
Implement Ceph REST API
2015-03-23 18:55:24 +01:00
Sébastien Han 1122c90ec4 Enforce var pool creation
Make sure that 'mds' is enabled before creating the filesystem.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-23 18:53:42 +01:00
Sébastien Han a2bef31425 Implement Ceph REST API
Now the Ceph REST API can be deployed.
Default implementation deploys it on the same nodes as the monitors
which should be fine.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-23 18:30:52 +01:00
Leseb f2cc190127 Merge pull request #231 from leseb/fix-rgw-dir-path
Rework radosgw keys and data dir path
2015-03-23 15:10:27 +01:00
Sébastien Han 4f68598779 Rework radosgw keys and data dir path
Fix the usage of Upstart for Ubuntu machines instead of the init.d
script.
Note that because of the way upstart init script looks at the radosgw id
the command 'start radosgw id=' is broken, you should use 'start
radosgw-all' instead.
Keep backard compatibility with the radosgw init script as well by using
client prefixed by 'client.radosgw'.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-23 14:41:22 +01:00
Leseb f206d8ee55 Merge pull request #229 from leseb/improve-syntax
Improve YAML syntax
2015-03-19 12:27:19 +01:00
Sébastien Han e4a9031952 Improve YAML syntax
Improve readibility.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-19 12:23:12 +01:00
Leseb 8fea199418 Merge pull request #211 from leseb/postdeployment-validator
WIP: first implementation of functional tests
2015-03-12 10:57:56 -05:00
Leseb 848ab23e16 Merge pull request #227 from leseb/fix-mds-giant
Fix MDS creation for version >= 0.84
2015-03-11 22:54:06 -05:00
Sébastien Han 82c9abb725 Fix MDS creation for version >= 0.84
The ceph fs new command was introduced in Ceph 0.84. Prior to this
release, no manual steps are required to create a filesystem, and pools
named data and metadata exist by default.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-11 22:50:38 -05:00
Leseb 039b167001 Merge pull request #190 from leseb/coreos-support
Docker support
2015-03-11 21:37:00 -05:00
Sébastien Han 3624a85b64 Docker support
WIP!

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-11 21:21:52 -05:00
Leseb 4138221e19 Merge pull request #223 from leseb/vagrant-if
Fix Vagrant vars for MDS and RGW
2015-03-02 17:48:48 +01:00
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
Leseb c0ce7dd754 Merge pull request #222 from leseb/improve-handlers
Improve Handler support
2015-03-02 17:16:32 +01:00
Sébastien Han 559e3b921d Improve Handler support
Now proper commands/actions are used per hosts and groups.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 17:13:30 +01:00
Leseb 1323f7cb89 Merge pull request #212 from leseb/rbd-client-logs
Add RBD client logs support
2015-03-02 15:12:56 +01:00
Leseb a397c65b74 Merge pull request #218 from leseb/radosgw-civetweb
Add support of civetweb for Rados Gateway
2015-03-02 14:26:56 +01:00
Sébastien Han c5c0e21532 Add support of civetweb for Rados Gateway
Almost here.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 14:16:53 +01:00
Leseb 4990a9abdb Merge pull request #219 from leseb/fix-rgw-socket
Fix Rados Gateway socket path
2015-03-02 10:57:53 +01:00
Sébastien Han 962d1ad17f Fix Rados Gateway socket path
Fixes: #217

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-03-02 10:48:18 +01:00
Leseb abd96a22b0 Merge pull request #216 from leseb/vagrant-vars
Use an external file to manage Vagrant variables
2015-02-24 13:40:01 +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
Markus Hubig f27e8e0846 Adds ansible script to split this repo into roles.
Use it like this, to split and update:

ansible-playbook -i dummy-ansible-hosts contrib/splitup.yml \
  --tags split --extra-vars github=mhubig/ansible

ansible-playbook -i dummy-ansible-hosts contrib/splitup.yml \
  --tags update --extra-vars github=mhubig/ansible
2015-02-23 18:25:37 +01:00
Sébastien Han 68e470c6b8 Add RBD client logs support
The path must be writable by QEMU and allowed by SELinux or AppArmor

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-23 15:28:27 +01:00
Sébastien Han 188c32323b WIP: first implementation of functional tests
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-02-22 02:31:28 +01:00