Commit Graph

1254 Commits (60b3121d2b30a223259a8a76ef4d2fe5015c6d81)
 

Author SHA1 Message Date
Leseb 013f0c372a Merge pull request #476 from Logan2211/master
allow customization of debian ceph stable repo url
2016-01-12 14:11:25 +01:00
Logan V 044396369f adding repo url to group_vars/all 2016-01-12 06:38:17 -06:00
Logan V d23b27e6d7 allow customization of debian ceph stable repo url 2016-01-11 12:13:09 -06:00
Leseb 00f10c828a Merge pull request #474 from fcharlier/patch-1
Fix failing install-ansible test
2016-01-11 17:06:50 +01:00
François Charlier ee61abef30 Fix failing install-ansible test
Fix test for Red Hat Enterprise Server and add a default case.
2016-01-11 17:05:53 +01:00
Leseb ba6a54fc53 Merge pull request #473 from ceph/fix-install-ansible
Fix install for rhel
2016-01-11 15:17:43 +01:00
Sébastien Han 92ba3ba04a Fix install for rhel
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-11 15:07:19 +01:00
Leseb c0b5e43c21 Merge pull request #472 from ceph/nmap-optionnal
Do not make nmap mandatory
2016-01-10 17:28:44 +01:00
Sébastien Han 789834f847 Do not make nmap mandatory
We can not force people to have nmap installed so instead we raise a
warning is not present.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-10 17:22:17 +01:00
Leseb 59811bd83c Merge pull request #471 from ceph/tiny-fix-nmap
Fix firewall check
2016-01-10 16:59:32 +01:00
Sébastien Han 0a576bebf9 Fix firewall check
Use command module instead of shell since we do not do anything fancy
here. Remove the duplicate register.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-10 16:52:37 +01:00
Leseb 876811ae6a Merge pull request #469 from ceph/firewall-checks
Check for blocked ports
2016-01-08 18:59:20 +01:00
Sébastien Han 9209f50868 Check for blocked ports
As raised in #466 it is important in order to avoid unnecessary
troubleshooting to check that ceph ports are allowed on the platform.
The check runs a nmap command from the host running Ansible
to all the ceph nodes with their respective ports.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-08 18:57:13 +01:00
Leseb 72567a741b Merge pull request #468 from bengland2/fix_check_system
use proper syntax for expanding variables
2016-01-08 15:06:07 +01:00
Leseb 9401c1472c Merge pull request #467 from ceph/restapi-infernalis
Fix condition logic for infernalis in restapi
2016-01-08 15:05:57 +01:00
Ben England 3ba824ffd8 use proper syntax for expanding variables 2016-01-08 08:54:00 -05:00
Sébastien Han 1d792fcdb1 Fix condition logic for infernalis in restapi
fixes: #465

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-01-08 14:52:50 +01:00
Leseb 1664316d4d Merge pull request #460 from crcceph/master
fixed for infernalis on EL7
2015-12-17 10:22:51 +01:00
crcceph d89ddb1cee moved set_fact higher in file
moved set_fact for is_ceph_infernalis near top of file so that it can be used in other tests
2015-12-16 11:01:39 -08:00
Leseb 8cff6816f3 Merge pull request #461 from ceph/templating
Using config_template
2015-12-16 18:56:28 +01:00
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