crcceph
923cd6fc2c
move set_fact above test
...
moved the set_fact above where it is being tested
2015-12-16 09:01:36 -08:00
Sébastien Han
4407967de0
Using config_template
...
Thanks to @cloudnull great patch at
https://github.com/ansible/ansible/pull/12555
we now have the ability to add more configuration options instead of
having to push a PR to add a new option to the template. So you can
dynamically add and remove flags.
To use it, edit `ceph_conf_overrides` in `group_vars/all` like so:
```
ceph_conf_overrides
global:
foo: 12345
bar: 6789
```
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-16 17:19:50 +01:00
crcceph
6d91bdaf36
added python-setuptools as dependency
...
CentOS7 needs python-setuptools for /usr/bin/ceph-init-detect to work correctly
2015-12-15 23:23:37 -08:00
crcceph
4dd993ebae
changed permissions under ceph user
...
when running under the user ceph the rbd client directory should be owned by ceph
2015-12-15 23:19:07 -08:00
Leseb
38c5e6c259
Merge pull request #459 from ceph/civetweb-port2
...
Change update group_vars ivetweb port
2015-12-15 23:31:03 +01:00
Sébastien Han
c1e1b65db7
Change update group_vars ivetweb port
...
follow up on #458
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-15 23:30:15 +01:00
Leseb
d688009e99
Merge pull request #458 from ceph/civetweb-port
...
Change default civetweb port to 8080
2015-12-15 23:29:30 +01:00
Sébastien Han
f19b765f79
Change default civetweb port to 8080
...
Because of some permission issue, likely due to the recent ceph user, if
80 is used for civetweb we get:
set_ports_option: cannot bind to 80: 13 (Permission denied)
Changing the port to 8080 until this gets solved.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-15 23:28:08 +01:00
Leseb
abb86d331d
Merge pull request #457 from ceph/rgw-log-dir
...
Use /var/log/ceph for rgw logs
2015-12-15 23:23:09 +01:00
Sébastien Han
8f6870f3a6
Use /var/log/ceph for rgw logs
...
We should not bother having another directory for this. So we stick with
the default logging dir.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-15 23:22:19 +01:00
Leseb
e412ac3f66
Merge pull request #442 from ceph/infernalis-for-rh-storage
...
Support infernalis for rh storage
2015-12-15 23:20:36 +01:00
Leseb
5835443dcc
Merge pull request #456 from Abhishekvrshny/fix-rgw-print-continue
...
removed rgw print continue = false, to set it to its default value of…
2015-12-15 23:10:02 +01:00
Sébastien Han
e6a9727478
Support infernalis for rh storage
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-15 22:07:45 +01:00
Abhishek Varshney
bd7c03aa3d
removed rgw print continue = false, to set it to its default value of true
2015-12-15 21:35:17 +05:30
Leseb
f64920e233
Merge pull request #449 from nexecook/pre-infernalis_fixes
...
fixes ceph_stable_release logic mentioned in issue #446
2015-12-12 13:34:23 +01:00
Eric Cook
2e7994ef62
fix comment headings
2015-12-11 07:36:09 -05:00
Eric Cook
9f542fccad
add ceph_stable_releases to group_vars/all.sample
2015-12-10 13:43:32 -05:00
Eric Cook
46af3496d4
Add ceph_stable_releases array to ceph-common/defaults/main.yml
...
rework the various `when' tests to use that array.
2015-12-09 15:52:23 -05:00
Leseb
45bb26649e
Merge pull request #452 from BjoernT/bug/451
...
Adding osd_scrub_begin_hour and osd_scrub_end_hour
2015-12-09 17:26:38 +01:00
Bjoern Teipel
27fa1cc299
Adding osd_scrub_begin_hour and osd_scrub_end_hour to limit scrub window of 24h if needed
...
Fixes-Bug: #451
2015-12-09 10:22:59 -06:00
Leseb
88d8edcb81
Merge pull request #447 from lpabon/libvirt
...
Support for libvirt provider in vagrant
2015-12-07 14:07:07 +01:00
Leseb
3bc8e5a578
Merge pull request #450 from ceph/tun
...
Reserve some memory
2015-12-07 11:40:06 +01:00
Sébastien Han
3197896973
Reserve some memory
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-12-07 09:01:08 +01:00
Leseb
c238d8704b
Merge pull request #448 from mattt416/add_run_once
...
Add run_once to 'copy keys to the ansible server'
2015-12-07 08:39:11 +01:00
Eric Cook
ab884c7cb2
fixes ceph_stable_release logic mentioned in issue #446
...
I changed the argument used for starting the mds server. (pre
infernalis)
```
service ceph start mds
```
errors, while
```
service ceph start mds.$hostname
```
correctly starts the service.
I changed the mds directory ownership from ceph:cephh to root:root
again, for pre-infernalis.
And finally, add the ceph_stable_releases checks for the upstart
activation task `for or after infernalis release'.
2015-12-04 17:36:24 -05:00
Matt Thompson
5db9f45c04
Add run_once to 'copy keys to the ansible server'
...
I have seen a number of failures on this task due to mismatch of
checksum of source file and destination. I suspect this is due to a
race condition caused by several hosts simultaneously copying the same
file to single location on the deployment server.
This change simply updates the 'copy keys to the ansible server' task
by adding 'run_once', which limits the task to being run on a single
MON host.
Closes issue #410
2015-12-04 16:14:18 +00:00
Luis Pabón
71a56a86f6
Update README.md
2015-12-02 22:26:13 -05:00
Luis Pabón
ec1cb44220
Support for libvirt provider in vagrant
2015-12-02 17:59:52 -05:00
Leseb
8d14048bac
Merge pull request #445 from ceph/site-sample-restapi
...
Moving out the restapi from the mons
2015-11-26 19:59:21 +01:00
Sébastien Han
c8dab6546f
Moving out the restapi from the mons
...
This has the tendency to make the ceph-mon play unnecessary longer when not
activated.
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-26 19:57:16 +01:00
Leseb
aeff06405c
Merge pull request #444 from ceph/site-sample
...
Do not track site example file
2015-11-26 17:49:21 +01:00
Sébastien Han
ec6692257f
Do not track site example file
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-26 17:48:04 +01:00
Leseb
0e6f509876
Merge pull request #440 from eikef/master
...
Add systemd-specific start/restart tasks/handlers for el7/infernalis
2015-11-24 14:20:54 +01:00
Leseb
0bb56f7a51
Merge pull request #439 from ceph/proactive-dev-check
...
Check partition status
2015-11-23 17:01:54 +01:00
Sébastien Han
d60f5fddd0
Check partition status
...
Verify that partitions (for both osd disks and journal disks) are sane
before attempting to prepare the device. Fail if parted fails for
whatever reason.
Closes : #437
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-23 16:20:08 +01:00
Eike Frost
d49e8bd904
Add systemd-specific start/restart tasks/handlers for el7/infernalis
2015-11-20 22:34:29 +01:00
Leseb
330abb307f
Merge pull request #438 from ceph/ansible-version-check
...
Fail for unsupported ansible version
2015-11-20 15:31:51 +01:00
Sébastien Han
83b2a51fe1
Fail for unsupported ansible version
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-20 15:30:18 +01:00
Leseb
50eb69e3be
Merge pull request #436 from ceph/use-infernalis
...
Use new Infernalis release
2015-11-18 12:02:25 +01:00
Sébastien Han
2fa995a889
Use new Infernalis release
...
Add proper fixes for the new ceph user and dir/files permissions
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-18 11:47:38 +01:00
Leseb
d092c0c899
Merge pull request #435 from ceph/install-pip
...
Install pip before using it
2015-11-16 11:50:48 +01:00
Sébastien Han
fcfac5c1e1
Install pip before using it
...
Fixes : #430
Signed-off-by: Sébastien Han <seb@redhat.com>
2015-11-16 11:47:23 +01:00
Leseb
b93fd938e8
Merge pull request #432 from rootfs/centos
...
various fixes for CentOS
2015-11-06 12:33:50 +09:00
Leseb
52ce81c757
Merge pull request #433 from dvusboy/fix-start_radosgw-centos
...
This change address radosgw not getting started on CentOS
2015-11-06 12:31:59 +09:00
Leseb
60265eb539
Merge pull request #434 from dvusboy/fix-ceph-mon-defaults
...
Defaults for the ceph-mon role should be setting the 'mon_group_name'
2015-11-06 12:31:19 +09:00
K.C. Wong
bc1681e0bd
Defaults for the ceph-mon role should be setting the 'mon_group_name'
...
* without this, the handler in ceph-common that depends on
the value of 'mon_group_name' would fail
2015-11-05 18:31:34 -08:00
K.C. Wong
92246616e5
This change address radosgw not getting started on CentOS
...
* The explicit check of 'ansible_distribution' being 'RedHat'
will not work on CentOS hosts.
* Check the value of 'ansible_os_family' instead.
2015-11-05 18:06:41 -08:00
Huamin Chen
860125ff8f
various fixes for CentOS
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-11-05 20:39:03 +00:00
Leseb
b5544a1be7
Merge pull request #428 from ceph/rename-vars
...
Ability to collocate bare metal and container
2015-10-21 23:25:34 +02:00
Leseb
072c829a83
Merge pull request #427 from msambol/gitignore
...
Add .DS_Store to .gitignore
2015-10-21 23:21:36 +02:00