Commit Graph

1346 Commits (4219221bf46eb5bbc9de6a0a2877f1fed99200bd)
 

Author SHA1 Message Date
Leseb 9db28f52ed Merge pull request #544 from ceph/contrib-rhscon
contrib: add the ceph-agent
2016-02-15 17:43:37 +01:00
Leseb 7c33a27b06 Merge pull request #539 from ceph/rhscon-support
rhscon (storage agent)
2016-02-15 17:43:25 +01:00
Alfredo Deza 6ae743702f gitignore group_vars/agent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-15 11:42:01 -05:00
Sébastien Han 3c074fba9b contrib: add the ceph-agent
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-15 17:11:03 +01:00
KGoreczny 4e2303fce5 Add dnf package support; change condition checks for package managers
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-02-15 16:51:16 +01:00
KGoreczny fc2ace7ba0 Use yum and apt modules instead of package to provide Ansible <2.0 support; fix typo
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-02-15 16:01:00 +01:00
Sébastien Han 6a3c4311b5 ceph-common: update group_vars vm.min_free_kbytes
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-15 15:05:42 +01:00
Leseb 270d98bb16 Merge pull request #541 from haasn/master
ceph-common: use explicit action syntax for config_template
2016-02-15 15:04:37 +01:00
Sébastien Han 4ede7211a0 ceph-common: calculate vm.min_free_kbytes
based on the os memory we calculate the value for vm.min_free_kbytes

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-15 15:03:10 +01:00
Krzysztof Goreczny bbcdf2fde7 Rewrite purge-cluster playbook
Signed-off-by: Krzysztof Goreczny <krzysztof.goreczny@intel.com>
2016-02-15 14:22:25 +01:00
Alfredo Deza b0fce503a8 use the agent on monitors on site.yml.sample
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-15 07:58:02 -05:00
Alfredo Deza f49b348979 create a group_vars agent sample file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-15 07:52:46 -05:00
Alfredo Deza da4b7b290c fix wording on defaults main.yml
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-15 07:50:09 -05:00
Alfredo Deza 73928a5d7b only check for subscription manager on RH systems
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-15 07:49:03 -05:00
Niklas Haas 20e6f932dd
ceph-common: use explicit action syntax for config_template
This fails with "ERROR! no action detected in task" otherwise.
2016-02-14 20:58:04 +01:00
Leseb 3ba68d3836 Merge pull request #540 from ceph/fix-autodiscover-osd
ceph-osd: fix the autodiscovery osd scenario
2016-02-13 23:19:50 +01:00
Sébastien Han 59b96e9f11 ceph-osd: fix the autodiscovery osd scenario
the parted command wasn't getting the devices properly and the partition
count is not necessary.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-13 23:07:44 +01:00
Alfredo Deza c59d6f00cb check for subscription manager
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-12 15:54:56 -05:00
Alfredo Deza 2fd5ab18ac create the task to install and configure the agent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-12 15:37:06 -05:00
Alfredo Deza 2d0993d4c7 better reword the master host variable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-12 13:27:04 -05:00
Alfredo Deza 42e5391723 create a template for the ceph agent minion
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-12 13:08:32 -05:00
Alfredo Deza 28abc3d6d4 define the supported versions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-12 12:01:51 -05:00
Alfredo Deza b4dc6cf43f initial files for the ceph-agent role
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-02-12 11:53:15 -05:00
Leseb 46f84c03fa Merge pull request #538 from ceph/galaxy-requirements
add a galaxy dependency file example
2016-02-12 15:56:30 +01:00
Sébastien Han b6d734e43b add a galaxy dependency file example
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-12 15:55:42 +01:00
Leseb eaee28093e Merge pull request #536 from ceph/fix-auto-discover-disk
ceph-osd: fix the auto discovery scenario
2016-02-12 01:08:09 +01:00
Sébastien Han 64c458bfcf ceph-osd: fix register variable
as stated in https://github.com/ansible/ansible/issues/4297
if we register a variable twice and even if a task is skipped the
  register will not get overwritten... So we use the fact variant as
  mentionned in the ansible issue.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-12 00:54:09 +01:00
Sébastien Han b285a5ae8f ceph-osd: simply the regex to check the device
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-11 22:51:23 +01:00
Sébastien Han ea0979cbbe ceph-osd: fix the auto discovery scenario
While this is not widly used (AFAIK :p) the feature was broken. Thanks
to @zmc for reporting it. You can now set `osd_auto_discovery` to
true in your group_vars/osd and it will go through all the devices
available and will make them OSDs.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-11 22:43:09 +01:00
Leseb 685b5f2940 Merge pull request #535 from dang/rgw_addr
Allow RGW and client VMs together
2016-02-11 21:25:14 +01:00
Daniel Gryniewicz 5c52c8070b Allow RGW and client VMs together
RGW and Client VMs were sharing a network range, causing vagrant
failure.  Bump the RGW range to the next value.
2016-02-11 15:16:13 -05:00
Leseb 78cb5cc726 Merge pull request #534 from ceph/fix-osd-typo
ceph-osd: docker: fix type
2016-02-11 17:59:07 +01:00
Sébastien Han a3cc055e61 ceph-osd: docker: fix type
use ceph_osd_docker_devices and not ceph_osd_docker_device

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-11 17:57:10 +01:00
Leseb dfcaf1b6d0 Merge pull request #533 from ceph/use-ansible-version
use the ansible_version variable
2016-02-11 17:52:04 +01:00
Sébastien Han 2d1cec643d use the ansible_version variable
use the builtin variable to check the ansible version

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-11 17:34:44 +01:00
Sébastien Han 61061c7dd6 Merge branch 'master' of github.com:ceph/ceph-ansible 2016-02-10 23:57:01 +01:00
Leseb a1a4848023 Merge pull request #526 from mattt416/issue_525
Change modes to string values
2016-02-10 23:54:29 +01:00
Ben England b0ee3616a5 make sure /etc/fstab is always valid at boot time no matter what 2016-02-09 15:02:55 -05:00
Leseb 86ebee190b Merge pull request #526 from mattt416/issue_525
Change modes to string values
2016-02-09 14:05:05 +01:00
Matt Thompson 14cf9f434e Change modes to string values
Currently deploying a MON fails with "bad symbolic permission for mode"
errors due to the file/directory modes not being interpreted as octal
values.  This commit updates roles/ceph-common/tasks/main.yml to set
the file/directory modes to strings so they can be interpreted
correctly.

Closes issue #525
2016-02-09 09:51:31 +00:00
Leseb 3e075a279a Merge pull request #524 from ceph/fix-typo
ceph-rgw: fix docker typo
2016-02-08 15:26:14 +01:00
Sébastien Han 774966b671 ceph-rgw: fix docker typo
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-08 15:25:24 +01:00
Leseb 18c3bac0d0 Merge pull request #521 from ceph/vagrant-container
ceph-ansible: allow to run containerized daemons
2016-02-07 22:36:38 +01:00
Sébastien Han fa610cabf7 ceph-ansible: allow to run containerized daemons
run containerized daemons in virtual machines.
to enable it simply do:

`cp site-docker.yml.sample site-docker.yml`

and set `docker: true` in `vagrant_variables.yml`

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-07 22:30:32 +01:00
Leseb 047e1afdc5 Merge pull request #519 from ceph/restapi-meta
ceph-restapi: fix meta file
2016-02-05 17:22:14 +01:00
Sébastien Han fd0dd3d89a ceph-restapi: fix meta file
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-05 17:19:54 +01:00
Leseb d050179121 Merge pull request #512 from guits/quick_fix
Refact code using `set_fact` to handle 'legacy' versions
2016-02-05 16:41:35 +01:00
Guillaume Abrioux dcec63adc8 Refact code using `set_fact`
At the moment, all the tasks using the file module are duplicated to have differents ownerships depending on the fact `is_ceph_infernalis`.
The goal of this commit is to have a new logic for this:
- First set facts depending on the `is_ceph_infernalis` fact
- Create the files or directories using the setted facts as ownerships.
2016-02-05 16:14:01 +01:00
Leseb 115d62d560 Merge pull request #516 from ceph/ansible-v2-warnings
ceph-common: replace 'sudo' by 'become'
2016-02-04 15:31:12 +01:00
Sébastien Han c0a3837d6e ceph-common: replace 'sudo' by 'become'
to avoid warning from ansible v2. works for both `1.9.4` and `2.0.0.2`.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-04 12:36:46 +01:00