]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Alfredo Deza [Wed, 6 Jul 2016 17:20:14 +0000 (13:20 -0400)]
ceph-common: ensure that destination iso paths exist before copying
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1338551
Leseb [Wed, 6 Jul 2016 13:30:49 +0000 (15:30 +0200)]
Merge pull request #858 from dang/custom-repo
Add a custom yum repo ability
Leseb [Wed, 6 Jul 2016 09:47:11 +0000 (11:47 +0200)]
Merge pull request #826 from ceph/rolling-update
rolling-upgrade: cleanup and cosmetic
Leseb [Wed, 6 Jul 2016 09:37:49 +0000 (11:37 +0200)]
Merge pull request #870 from ceph/operation-osd
README: add a FAQ
Sébastien Han [Wed, 6 Jul 2016 09:37:14 +0000 (11:37 +0200)]
README: add a FAQ
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 6 Jul 2016 08:56:47 +0000 (10:56 +0200)]
Merge pull request #869 from ceph/install-check
install-ansible: exit if ansible is installed
Sébastien Han [Wed, 6 Jul 2016 08:55:58 +0000 (10:55 +0200)]
install-ansible: exit if ansible is installed
fixes: #868
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Tue, 5 Jul 2016 15:34:17 +0000 (17:34 +0200)]
Merge pull request #859 from dang/cleanups
Add DNF for RedHat
Leseb [Tue, 5 Jul 2016 15:33:39 +0000 (17:33 +0200)]
Merge pull request #856 from dang/ceph-nfs
Add support for Ceph NFS Gateway
Leseb [Tue, 5 Jul 2016 15:28:59 +0000 (17:28 +0200)]
Merge pull request #866 from PiotrProkop/ceph-mon-kv-fix
Adding option to change kv_port and docker tag
Leseb [Wed, 29 Jun 2016 22:00:50 +0000 (15:00 -0700)]
Merge pull request #867 from albertomurillo/init_system
Trim init_system var
Alberto Murillo [Tue, 28 Jun 2016 21:54:34 +0000 (16:54 -0500)]
Trim init_system var
init_system was getting the value of "systemd\n"
and was later compared to be equal to "systemd"
making the wrong scripts to be executed.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
pprokop [Wed, 29 Jun 2016 05:53:37 +0000 (07:53 +0200)]
Fixing typos
Leseb [Wed, 29 Jun 2016 00:27:53 +0000 (17:27 -0700)]
Merge pull request #864 from PiotrProkop/ceph-common-coreos-fix
Fix not creating pypy_binary_directory.
pprokop [Tue, 28 Jun 2016 12:02:00 +0000 (14:02 +0200)]
Adding option to change kv_port anf docker tag
pprokop [Tue, 28 Jun 2016 11:58:26 +0000 (13:58 +0200)]
Removing symblic links and fixing systemctl enable on CoreOS
pprokop [Tue, 28 Jun 2016 10:11:42 +0000 (12:11 +0200)]
Fix not creating pypy_binary_direcotry
Daniel Gryniewicz [Wed, 22 Jun 2016 14:13:55 +0000 (10:13 -0400)]
Add a custom repo ability
Add the ability to use a custom repo, rather than just upstream, RHEL,
and distro. This allows ansible to be used for internal testing.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Leseb [Fri, 24 Jun 2016 09:23:38 +0000 (11:23 +0200)]
Merge pull request #861 from font/test_issues
Fail when we cannot retrieve docker image
Sébastien Han [Wed, 15 Jun 2016 15:08:15 +0000 (17:08 +0200)]
rolling update: add systemd support
Signed-off-by: Sébastien Han <seb@redhat.com>
Ivan Font [Fri, 24 Jun 2016 00:09:12 +0000 (17:09 -0700)]
Fail when we cannot retrieve docker image
If the docker image cannot be retrieved we will fail this task silently
and the playbook ultimately succeeds without a successful deployment.
This change makes it so we fail the playbook immediately.
Signed-off-by: Ivan Font <ivan.font@redhat.com>
Daniel Gryniewicz [Thu, 16 Jun 2016 14:06:31 +0000 (10:06 -0400)]
Add DNF for RedHat
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Daniel Gryniewicz [Thu, 5 May 2016 18:20:03 +0000 (14:20 -0400)]
Add support for Ceph NFS Gateway
Ceph has the ability to export it's filesystem via NFS using Ganesha.
Add a ceph-nfs role that will start Ganesha and export the Ceph
filesystems.
Note that, although support is going in to export RGW via NFS, this is
not working yet.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Leseb [Wed, 22 Jun 2016 16:22:08 +0000 (18:22 +0200)]
Merge pull request #857 from dang/url
Add URL option to vagrant
Daniel Gryniewicz [Mon, 20 Jun 2016 19:07:37 +0000 (15:07 -0400)]
Add URL option to vagrant
Vagrant has the ability to download images from an arbitraty URL. Add
this support to the Vagrantfile and vagrant_varables.yml
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Leseb [Tue, 21 Jun 2016 17:54:39 +0000 (19:54 +0200)]
Merge pull request #855 from jimcurtis/master
docker: fix missing quotes
Jim Curtis [Tue, 21 Jun 2016 16:29:02 +0000 (09:29 -0700)]
docker: fix missing quotes
Leseb [Mon, 20 Jun 2016 13:10:25 +0000 (15:10 +0200)]
Merge pull request #853 from ceph/rhbz-
1348130
ceph-agent: install the correct package for the agent in Ubuntu
Alfredo Deza [Mon, 20 Jun 2016 11:49:40 +0000 (07:49 -0400)]
ceph-agent: install the correct package for the agent in Ubuntu
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1348130
Leseb [Mon, 20 Jun 2016 09:00:52 +0000 (11:00 +0200)]
Merge pull request #852 from rootfs/doc-fix
be explicit on Atomic VirtualBox instruction
Leseb [Fri, 17 Jun 2016 21:27:06 +0000 (23:27 +0200)]
Merge pull request #851 from ceph/rhbz-
1346812
Enable rhcs repos according to the released version
Huamin Chen [Fri, 17 Jun 2016 16:59:53 +0000 (16:59 +0000)]
fix rgw containerized deployment
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Fri, 17 Jun 2016 16:52:52 +0000 (16:52 +0000)]
fix mds containerized deployment
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Fri, 17 Jun 2016 16:09:12 +0000 (16:09 +0000)]
be explicit on Atomic VirtualBox instruction
Signed-off-by: Huamin Chen <hchen@redhat.com>
Alfredo Deza [Thu, 16 Jun 2016 14:38:08 +0000 (10:38 -0400)]
ceph-common: use rh_storage_version variable to enable the correct repos
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1346812
Alfredo Deza [Thu, 16 Jun 2016 14:16:30 +0000 (10:16 -0400)]
ceph-common: do not enable optional repos for rhel7
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1346812
Alfredo Deza [Thu, 16 Jun 2016 14:15:12 +0000 (10:15 -0400)]
ceph-common: default to 1.3 for rh_storage_version
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1346812
Alfredo Deza [Thu, 16 Jun 2016 14:12:41 +0000 (10:12 -0400)]
group_vars: define the rh_storage_version
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1346812
Sébastien Han [Mon, 13 Jun 2016 10:33:36 +0000 (12:33 +0200)]
ceph-common: declare mon_containerized_deployment
If not declared, the play will fail.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 9 Jun 2016 15:09:37 +0000 (17:09 +0200)]
Merge pull request #846 from dang/docker-configs
Put path back to playbook_dir for common template
Daniel Gryniewicz [Thu, 9 Jun 2016 14:56:44 +0000 (10:56 -0400)]
Put path back to playbook_dir for common template
The config template is in ceph-common, not in the individual roles, so
roles referencing it need to use playbook_dir, not role_path.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Sébastien Han [Thu, 9 Jun 2016 13:35:57 +0000 (15:35 +0200)]
ceph-mon: fix wrong indent
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 9 Jun 2016 13:33:32 +0000 (15:33 +0200)]
Merge pull request #812 from rootfs/fix
some fixes for container deployment
Leseb [Tue, 7 Jun 2016 15:26:37 +0000 (17:26 +0200)]
Merge pull request #844 from matthewrees/master
Various fixes for check_firewall task
Matthew Rees [Tue, 7 Jun 2016 14:50:43 +0000 (16:50 +0200)]
Fix typo for ceph monitor port
Matthew Rees [Tue, 7 Jun 2016 14:27:07 +0000 (16:27 +0200)]
Clean up checks and with_item loops that are no longer needed due to
other fixes in this PR
Leseb [Tue, 7 Jun 2016 11:56:37 +0000 (13:56 +0200)]
Merge pull request #840 from jimcurtis/master
docker: enable mds container on Atomic host environment
Matthew Rees [Tue, 7 Jun 2016 11:48:07 +0000 (13:48 +0200)]
Fix for nmap arguments and grep matching, as well as only running
local_actions once
Jim Curtis [Mon, 6 Jun 2016 23:49:35 +0000 (16:49 -0700)]
docker: review feedback on PR #840
Huamin Chen [Mon, 6 Jun 2016 17:34:51 +0000 (17:34 +0000)]
ceph.conf.j2: check if interface is defined before using it
ceph-mon.service.j2: remove redundant --name option from docker command
Signed-off-by: Huamin Chen <hchen@redhat.com>
Matthew Rees [Mon, 6 Jun 2016 14:29:59 +0000 (16:29 +0200)]
Fix to reference the monitor_address variable correctly in hostvars
Matthew Rees [Mon, 6 Jun 2016 13:57:51 +0000 (15:57 +0200)]
Add fix for those who are using monitor_address
Matthew Rees [Mon, 6 Jun 2016 13:12:03 +0000 (15:12 +0200)]
Update sample vars for change in default value of check_firewall
Matthew Rees [Mon, 6 Jun 2016 12:11:02 +0000 (14:11 +0200)]
Change default to False for checking firewalls
Matthew Rees [Mon, 6 Jun 2016 12:08:53 +0000 (14:08 +0200)]
Only include the firewall checks when a user wants them checked
Matthew Rees [Mon, 6 Jun 2016 09:48:31 +0000 (11:48 +0200)]
Use the command module in place of the shell module
Matthew Rees [Sat, 4 Jun 2016 07:03:22 +0000 (09:03 +0200)]
Various fixes for check_firewall task:
- Check for nmap being available was not running as a local_action, when the checks using nmap were
- Various fixes on Ansible 2.x now that the above is working
Leseb [Mon, 6 Jun 2016 11:41:15 +0000 (13:41 +0200)]
Merge pull request #839 from dcwangmit01/centos_remove_plugin_priorities
Remove Centos7 dependency yum-plugin-priorities
Leseb [Mon, 6 Jun 2016 09:12:43 +0000 (11:12 +0200)]
Merge pull request #804 from dang/docker-dev
Allow running on local dev docker images
Jim Curtis [Sat, 4 Jun 2016 17:56:01 +0000 (10:56 -0700)]
docker: review feedback on PR #840
David C Wang [Fri, 3 Jun 2016 19:26:52 +0000 (19:26 +0000)]
Ran generate_group_vars_sample.sh
The changes here are not anything to do with removing
yum-plugin-priorities. They must be leftover from
prior commits that did not run generate_group_vars_sample.sh
David C Wang [Fri, 3 Jun 2016 19:24:43 +0000 (19:24 +0000)]
Added comments from ./group_vars/all.sample back into roles/ceph-common/defaults/main.yml
David C Wang [Fri, 3 Jun 2016 19:14:27 +0000 (19:14 +0000)]
Remove Centos7 dependency yum-plugin-priorities
This causes ceph-ansible scripts to fail when targeting Centos7 machines.
Installation fails because newer ceph package dependencies provided
by ceph-release-{version}.noarch.rpm were overridden by older
package dependency versions in default distribution repositories,
due to the fact that default distribution repositories have higher
priority.
Daniel Gryniewicz [Thu, 24 Mar 2016 13:21:07 +0000 (09:21 -0400)]
Allow running on local dev docker images
Docker makes it difficult to use images that are not on signed
registries. This is a problem for developers, who likely won't have
access to a registry with proper signed certificates.
This allows the ability to use any docker image on the machine running
vagrant/ansible. The way it works is that the image in question is
exported locally, then sent to each target box and imported there.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Huamin Chen [Fri, 3 Jun 2016 15:32:02 +0000 (15:32 +0000)]
update osd default vars
Signed-off-by: Huamin Chen <hchen@redhat.com>
Huamin Chen [Fri, 3 Jun 2016 15:24:00 +0000 (15:24 +0000)]
fix containerized deployment on centos
Signed-off-by: Huamin Chen <hchen@redhat.com>
Leseb [Fri, 3 Jun 2016 15:06:35 +0000 (17:06 +0200)]
Merge pull request #841 from TeutoNet/master
- prepare for python3
Tino Schmeier [Fri, 3 Jun 2016 12:23:21 +0000 (14:23 +0200)]
- prepare for python3
Leseb [Fri, 3 Jun 2016 08:46:12 +0000 (10:46 +0200)]
Merge pull request #837 from ceph/rhbz-
1342117
Do not ignore ceph-disk issues
Jim Curtis [Thu, 2 Jun 2016 22:54:56 +0000 (15:54 -0700)]
docker: enable mds container on Atomic host environment
Leseb [Thu, 2 Jun 2016 22:23:33 +0000 (00:23 +0200)]
Merge pull request #836 from ceph/RHBZ-
1337601
include the red hat storage apt-key as a file
Leseb [Thu, 2 Jun 2016 22:19:05 +0000 (00:19 +0200)]
Merge pull request #838 from ksingh7/fix-819
Fix for #819
Alfredo Deza [Thu, 2 Jun 2016 21:16:21 +0000 (17:16 -0400)]
ceph-osd: do not ignore ceph-disk errors in raw multi journal
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1342117
Alfredo Deza [Thu, 2 Jun 2016 21:16:05 +0000 (17:16 -0400)]
ceph-osd: do not ignore ceph-disk errors in journal_collocation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1342117
Alfredo Deza [Thu, 2 Jun 2016 21:15:35 +0000 (17:15 -0400)]
ceph-osd: do not ignore ceph-disk errors in bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1342117
Andrew Schoen [Thu, 2 Jun 2016 20:20:04 +0000 (15:20 -0500)]
include the red hat storage apt-key as a file
This will allow nodes to install rhcs that do
not have access to the internet.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#
1337601
Leseb [Thu, 2 Jun 2016 16:52:48 +0000 (18:52 +0200)]
Merge pull request #833 from ceph/template-path
ceph-common: uniformize template path calls
Sébastien Han [Thu, 2 Jun 2016 08:52:23 +0000 (10:52 +0200)]
ceph-common: uniformize template path calls
In order to align all Ansible versions, we now use the full path for the
template. We rely on `role_path` variable. Now all the tasks using
the template module have a uniform syntax.
Might fix issue raised in #483
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 2 Jun 2016 15:18:32 +0000 (17:18 +0200)]
Merge pull request #831 from SamYaple/fix_when
The when conditional was improperly being checked
Sam Yaple [Thu, 2 Jun 2016 14:54:36 +0000 (14:54 +0000)]
Add undefined vars to ceph-common role
This is a temporary action to get the playbooks functional before a
refactor to better correct this issue.
Sam Yaple [Thu, 2 Jun 2016 14:45:00 +0000 (14:45 +0000)]
Revert "Fix commit conditionals"
This reverts commit
9ed45f7367bc03ccaa5c40e574e5a5036493c856 .
karan singh [Thu, 2 Jun 2016 10:08:19 +0000 (13:08 +0300)]
Fix for #819
This commit removes /etc/yum.repos.d/rh_storage.repo file
for RedHat OS with RHCS ISO install during cluster purge
Leseb [Thu, 2 Jun 2016 09:32:48 +0000 (11:32 +0200)]
Merge pull request #832 from ceph/RHBZ-
1339439
remove the gpgkey line from the red hat storage repo template
Leseb [Thu, 2 Jun 2016 08:55:53 +0000 (10:55 +0200)]
Merge pull request #828 from jimcurtis/master
docker: enable rgw container on Atomic host environment
Andrew Schoen [Wed, 1 Jun 2016 19:00:31 +0000 (14:00 -0500)]
remove the gpgkey line from the red hat storage repo template
See: https://bugzilla.redhat.com/show_bug.cgi?id=
1339439
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#
1339439
Sam Yaple [Wed, 1 Jun 2016 18:31:30 +0000 (18:31 +0000)]
Add defaults to False for undefined variables
Sam Yaple [Wed, 1 Jun 2016 18:14:13 +0000 (18:14 +0000)]
Fix commit conditionals
The goal is to _fail_ this when conditional when one (and only one) is
set. The 'not's were incorrectly added.
Sam Yaple [Wed, 1 Jun 2016 17:58:26 +0000 (17:58 +0000)]
The when conditional was improperly being checked
The scenarios were not being accurately compared to ensure that:
* A single scenario was choosen
* ONLY a single scenario was choosen
This solution does not scale for long, but that can be addressed in a
different patchset.
Jim Curtis [Wed, 1 Jun 2016 16:55:08 +0000 (09:55 -0700)]
docker: review feedback on PR #828
Leseb [Wed, 1 Jun 2016 09:41:51 +0000 (11:41 +0200)]
Merge pull request #827 from gcharot/gcharot-master
LSB Release is not installed by default on minimal OS installs (for e…
Jim Curtis [Tue, 31 May 2016 19:59:05 +0000 (12:59 -0700)]
docker: enable rgw container on Atomic host environment
Alfredo Deza [Tue, 31 May 2016 18:53:56 +0000 (14:53 -0400)]
Merge pull request #823 from ceph/rhbz-
1339096
ceph-common: ceph-base is not part of rhstorage, remove it
root [Tue, 31 May 2016 14:49:40 +0000 (10:49 -0400)]
LSB Release is not installed by default on minimal OS installs (for example cloud-images). Script fails with a "command not found" erroor.
Checking if lsb_release is present BEFORE doing the test
Change os_VERSION to grab the major OS version instead of the distro codename
When installing EPEL, use $os_VERSION to grab the correct rpm instead of using hardcoded '7' package that would fail on other versions.
os_Version can also be use to deprecate old version on which ceph-ansible is not supported.
Sébastien Han [Tue, 31 May 2016 16:13:47 +0000 (18:13 +0200)]
rolling-upgrade: cleanup and cosmetic
refactoring the current code to apply the default syntax style that is
used in the entire playbook.
Signed-off-by: Sébastien Han <seb@redhat.com>
Alfredo Deza [Tue, 31 May 2016 16:09:50 +0000 (12:09 -0400)]
ceph-common: install ceph-common packages for clients on debian for rhcs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1339096
Alfredo Deza [Tue, 31 May 2016 16:09:31 +0000 (12:09 -0400)]
ceph-common: install ceph-common packages for clients on redhat for rhcs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#
1339096
Leseb [Tue, 31 May 2016 13:05:17 +0000 (15:05 +0200)]
Merge pull request #822 from gcharot/patch-2
Specify OSD journal size unit
Leseb [Tue, 31 May 2016 13:03:52 +0000 (15:03 +0200)]
Merge pull request #821 from gcharot/patch-1
Ambiguous "version is only supported on RHEL 7.1"
Grégory Charot [Tue, 31 May 2016 12:45:42 +0000 (14:45 +0200)]
Specify OSD journal size unit
Specify unit to use for the journal_size parameter.
Grégory Charot [Tue, 31 May 2016 12:32:04 +0000 (14:32 +0200)]
Ambiguous "version is only supported on RHEL 7.1"
Change from "only supported on RHEL 7.1" to "only supported on RHEL >= 7.1" for RHS