Commit Graph

543 Commits (e8559bf0523558905bf3ae5c7bf8c8831342cae9)
 

Author SHA1 Message Date
Sébastien Han b50e525004 Reduce scrubbing impact
Add more param to reduce the scrub overhead.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-11 16:49:57 +02:00
Bjørnar Ness 5588ada332 make group names definable 2015-06-11 02:42:41 +02:00
Leseb bd6b8beada Merge pull request #277 from cy-lee/install-lastest-ansible
Minor change: Install latest Ansible from official PPA
2015-06-10 10:30:51 +02:00
Chang-Yi Lee 40d665b480 Minor change: Install latest Ansible from official PPA
Ansible version must >= 1.6.0
2015-06-10 14:14:52 +08:00
Leseb e558b0c296 Merge pull request #276 from ceph/rework-groupvar
Add more flags to RBD clients
2015-06-09 17:22:54 +02:00
Sébastien Han e1f0e660e8 Add more flags to RBD clients
More options.
We also now configure the rbd clients directories for logs and socket.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-09 17:20:15 +02:00
Leseb 29e25de992 Merge pull request #275 from ceph/rename-install-ansible
Rename bootstrap ansible to install
2015-06-09 16:07:59 +02:00
Sébastien Han 1a9ddb5a26 Rename bootstrap ansible to install
The bootstrap was confusing.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-09 16:06:54 +02:00
Leseb a74b9aeab8 Merge pull request #273 from bjne/rbd_concurrent_management_ops
Add rbd_concurrent_management_ops
2015-06-09 13:35:38 +02:00
Bjørnar Ness a5ed377e4e Add rbd_concurrent_management_ops 2015-06-09 00:42:01 +02:00
Leseb f732412901 Merge pull request #269 from bjne/patch-2
Directory should be executable
2015-06-08 23:50:51 +02:00
Leseb 501c5f2d6c Merge pull request #268 from bjne/patch-1
Directory should be executable
2015-06-08 23:50:47 +02:00
Leseb 55faf977c0 Merge pull request #270 from bjne/patch-3
simplify running process check
2015-06-08 18:09:18 +02:00
bjne ab2fb1856a simplify running process check
eventually pidof
2015-06-08 18:08:13 +02:00
bjne 154f3d9c05 Directory should be executable
Unless you do this for a specific reason. If so, should be commented.
2015-06-08 18:04:38 +02:00
bjne 8e99920a0d Directory should be executable
This looks like a bug, if not, it should have a comment that tells why
2015-06-08 17:33:56 +02:00
Leseb 26dba2eef2 Merge pull request #267 from leseb/rgw-keystone
Add support for Rados Gateway configuration with Keystone
2015-06-03 22:24:15 +02:00
Sébastien Han bdd4cc4363 Add support for Rados Gateway configuration with Keystone
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-06-03 21:42:16 +02:00
Leseb a86439f2d2 Merge pull request #266 from leseb/fix-rgw-start-rh
Fix radosgw startup on RedHat systems
2015-06-03 16:33:24 +02:00
Sébastien Han 8ca8ecc0e1 Fix radosgw startup on RedHat systems
Fix startup and move vars to group_vars

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-06-03 16:31:51 +02:00
Leseb 58e6565300 Merge pull request #263 from leseb/cosmetic
Cosmetic changes
2015-05-15 18:39:21 +02:00
Sébastien Han 8b39214ab8 Consmetic changes
This branch has been sitting on my local repo for a while. I guess I had
time to spend on a plane :).

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-05-15 18:27:41 +02:00
Leseb c030786db1 Merge pull request #262 from leseb/vagrant-vars
Fix multiple things
2015-05-15 14:45:31 +02:00
Sébastien Han 8dc1554788 Fix multiple things
* fix the Vagrantfile ruby check
* fix the variable positions

Bring more mandatory variables and try to separate Vagrant vars from the
playbook vars.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2015-05-15 14:32:26 +02:00
Leseb 61eebb526a Merge pull request #260 from flisky/master
make sure journal_size configured
2015-05-15 10:46:20 +02:00
Yin Jifeng 03508a7ab2 journal_size for Vagrant 2015-05-15 13:45:50 +08:00
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