Yin Jifeng
f0b5691186
make sure journal_size configured
2015-05-14 19:55:09 +08:00
Leseb
5c497a7c63
Merge pull request #259 from leseb/safety-first
...
Safety first
2015-05-12 11:33:36 +02:00
Sébastien Han
a37b373357
Ability to secure cluster pools
...
We set several flags to keep the cluster secure:
* nodelete
* nopgchange
* nosizechange
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-05-12 11:21:16 +02:00
Sébastien Han
bae8faf30d
Merge branch 'master' of https://github.com/ceph/ceph-ansible
...
Conflicts:
rolling_update.yml
2015-04-29 11:15:14 +02:00
Leseb
cd110bd249
Merge pull request #251 from leseb/rolling-update
...
Add more OSD flags
2015-04-27 19:20:29 +02:00
Leseb
c017389e9e
Merge pull request #8 from jcftang/wip-ceph_facts
...
Import of ceph_facts module
2015-04-27 19:10:24 +02:00
Sébastien Han
5c2fb75adb
Add more OSD flags
...
We don't really want to trigger any sort of scrubbing process while
performing the upgrade.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Conflicts:
rolling_update.yml
2015-04-27 19:08:05 +02:00
Sébastien Han
6f226a47e9
Merge branch 'master' of https://github.com/ceph/ceph-ansible
2015-04-27 19:06:10 +02:00
Sébastien Han
d98b701f99
Merge branch 'leseb-rolling-update'
2015-04-27 19:05:46 +02:00
Sébastien Han
6053cb98fd
Merge branch 'rolling-update' of https://github.com/leseb/ceph-ansible-1 into leseb-rolling-update
...
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
Conflicts:
rolling_update.yml
2015-04-27 19:05:31 +02:00
Leseb
c2a50e2857
Merge pull request #256 from leseb/vagrant-var-memory
...
Ability to configure the memory
2015-04-27 19:02:42 +02:00
Sébastien Han
3dd14e5e37
Ability to configure the memory
...
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-27 19:01:02 +02:00
Leseb
646cc76391
Merge pull request #255 from leseb/untrack-vagrant-var
...
Untrack vagrant_variables.yml and use a sample file
2015-04-27 18:49:18 +02:00
Sébastien Han
0488813eaa
Untrack vagrant_variables.yml and use a sample file
...
Now to enable the variable file and modify it as much as you want
simply:
git clone ...
cp vagrant_variables.yml.sample vagrant_variables.yml
Edit vagrant_variables.yml
Fixes : #241
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-27 18:48:49 +02:00
Leseb
49cfd6809e
Merge pull request #250 from flisky/master
...
rolling_update cleanup
2015-04-20 15:45:49 +02:00
Yin Jifeng
154c5aa4b5
make sure a running mon to check when upgrade mon
2015-04-17 10:04:52 +08:00
Yin Jifeng
95ca89695c
use yum to install ceph noarch package
...
command + creates prevent the package to be upgraded.
rpm returns 0 when install success, and
1 (Error: Nothing to do) when reinstall the same package
2015-04-16 15:16:18 +08:00
Sébastien Han
d6aa086be8
Add more OSD flags
...
We don't really want to trigger any sort of scrubbing process while
performing the upgrade.
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-15 23:23:50 +02:00
Yin Jifeng
2f0f873cc1
gather facts first
...
there are vars like hostvars["rgws"]["ansible_hostname"] under
ceph-common
2015-04-15 03:50:39 +08:00
Yin Jifeng
617ce6e91d
fix service arg typo
2015-04-15 03:47:37 +08:00
Yin Jifeng
a6d012b542
sysctl ignoreerrors
...
some key fails under CentOS 6
2015-04-15 03:46:03 +08:00
Yin Jifeng
4ce15f70df
cleanup delegate statement for rolling update
2015-04-14 22:02:05 +08:00
Yin Jifeng
44b37469d2
fix syntax for when statement
2015-04-14 22:02:02 +08:00
Yin Jifeng
efb8e68c69
make RGW directory use same host var
...
ansible_fqdn is full domain, while hostname may be in short form
2015-04-14 22:00:46 +08:00
Yin Jifeng
72269eb5a2
update ceph_stable_release var under group_vars
2015-04-14 22:00:43 +08:00
Leseb
a49d93c592
Merge pull request #249 from leseb/client
...
Add ceph-common role to client machines
2015-04-14 13:52:24 +02:00
Sébastien Han
5927df7962
Add ceph-common role to client machines
...
Add another warning for cephx signatures
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-04-14 12:53:41 +02:00
Leseb
7b3a001c33
Merge pull request #248 from aisrael/wip-allow_restapi_false
...
Allow restapi=false
2015-04-14 11:51:01 +02:00
Alistair A. Israel
40e6dd8e4f
Place "when: restapi" in site.yml
2015-04-14 17:40:58 +08:00
Alistair A. Israel
ea0e409b51
Added `when: restapi`
2015-04-14 14:30:32 +08:00
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