]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Sébastien Han [Mon, 29 Feb 2016 17:33:25 +0000 (18:33 +0100)]
README: how to submit patches
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 29 Feb 2016 15:49:51 +0000 (16:49 +0100)]
Merge pull request #581 from ceph/ceph-agent-galaxy1
ceph-agent and key fix platform RHEL key
Sébastien Han [Mon, 29 Feb 2016 15:49:12 +0000 (16:49 +0100)]
ceph-agent and key fix platform RHEL key
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 29 Feb 2016 15:34:39 +0000 (16:34 +0100)]
Merge pull request #579 from ceph/ceph-agent-galaxy
ceph-agent: add dependency section for the galaxy
Sébastien Han [Mon, 29 Feb 2016 15:33:43 +0000 (16:33 +0100)]
ceph-agent: add dependency section for the galaxy
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 29 Feb 2016 15:11:46 +0000 (16:11 +0100)]
Merge pull request #569 from stpierre/skip-generate-fsid
Add option to skip generating fsid
Leseb [Mon, 29 Feb 2016 15:10:59 +0000 (16:10 +0100)]
Merge pull request #577 from ceph/vm-byte-change
ceph-common: only change task when false
Sébastien Han [Mon, 29 Feb 2016 14:57:40 +0000 (15:57 +0100)]
ceph-common: only change task when false
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 29 Feb 2016 14:43:00 +0000 (15:43 +0100)]
Merge pull request #567 from ceph/distribut-keys
ceph-: abitlity to copy admin on all the nodes
Sébastien Han [Thu, 25 Feb 2016 11:10:45 +0000 (12:10 +0100)]
ceph-: update group_vars to reflect previous change
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 29 Feb 2016 13:42:17 +0000 (14:42 +0100)]
Merge pull request #576 from KGoreczny/purge_journal_devices
Add zap journal devices for raw multi journal scenario in purge-cluster
KGoreczny [Mon, 29 Feb 2016 12:19:56 +0000 (13:19 +0100)]
Add zap journal devices for raw multi journal scenario
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
Leseb [Mon, 29 Feb 2016 10:28:01 +0000 (11:28 +0100)]
Merge pull request #575 from ceph/ceph-config-dir
ceph-common: use saner defaults for ceph dir
Leseb [Mon, 29 Feb 2016 10:14:48 +0000 (11:14 +0100)]
Merge pull request #572 from bengland2/add_Tools_to_repo
help RGW install from RHCS .iso
Sébastien Han [Mon, 29 Feb 2016 10:10:56 +0000 (11:10 +0100)]
ceph-common: use saner defaults for ceph dir
re-use the logic introduced in #512 for the ceph directory and the
`ceph.conf` file.
Signed-off-by: Sébastien Han <seb@redhat.com>
Ben England [Sun, 28 Feb 2016 10:32:59 +0000 (05:32 -0500)]
help RGW install from RHCS .iso
Leseb [Fri, 26 Feb 2016 23:40:58 +0000 (00:40 +0100)]
Merge pull request #568 from stpierre/skip-keyring-cephx-disabled
Skip keyring tasks when cephx is disabled
Leseb [Fri, 26 Feb 2016 23:40:03 +0000 (00:40 +0100)]
Merge pull request #571 from stpierre/fix-openstack-config-skip
Fix openstack config skipping
Chris St. Pierre [Fri, 26 Feb 2016 21:39:27 +0000 (15:39 -0600)]
Fix openstack config skipping
Previously, creating pools was skipped if cephx was disabled; instead,
we should only skip key creation if cephx is disabled, and create
pools any time openstack_config is true.
Chris St. Pierre [Thu, 25 Feb 2016 16:29:12 +0000 (10:29 -0600)]
Add option to skip generating fsid
If using another method to generate a consistent fsid, then we can
skip creation of an (unused) cluster UUID file. If cephx is disabled
as well, we can skip creation of the fetch directory entirely.
Chris St. Pierre [Thu, 25 Feb 2016 13:57:50 +0000 (07:57 -0600)]
Skip keyring tasks when cephx is disabled
Skip a number of ceph keyring-related tasks (or remove the keyring
portion of some tasks) when cephx is disabled. Specifically, avoid
generating the initial keyring, which only clutters up the ansible
repo if cephx is not in use.
Sébastien Han [Thu, 25 Feb 2016 11:04:17 +0000 (12:04 +0100)]
ceph-: abitlity to copy admin on all the nodes
This commit allows you to set a new variable to 'true' if you want to
have ceph admin key copied over different kind of hosts such as MDS,
OSD, RGW. To enable this just set `copy_admin_key` to true.
Closes: #555
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 24 Feb 2016 12:48:13 +0000 (13:48 +0100)]
Merge pull request #559 from stpierre/rhel-ceph-origin-distro
Make RHEL installs honor ceph_origin: distro
Leseb [Wed, 24 Feb 2016 10:03:46 +0000 (11:03 +0100)]
Merge pull request #561 from ceph/mds-systemd-fix
ceph-mds: enable systemd unit file
Sébastien Han [Wed, 24 Feb 2016 10:01:17 +0000 (11:01 +0100)]
ceph-mds: enable systemd unit file
closes: #552
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 24 Feb 2016 09:55:18 +0000 (10:55 +0100)]
Merge pull request #560 from stpierre/cephx-false-skip-key-permissions
Cephx false skip key permissions
Leseb [Wed, 24 Feb 2016 09:42:36 +0000 (10:42 +0100)]
Merge pull request #528 from bengland2/iso_mount
make sure /etc/fstab is always valid at boot time no matter what
Ben England [Tue, 23 Feb 2016 21:43:45 +0000 (16:43 -0500)]
revert absent->unmounted as leseb requested
Leseb [Tue, 23 Feb 2016 18:36:47 +0000 (19:36 +0100)]
Merge pull request #558 from stpierre/firewall-check-improvements
Improve firewall checks
Chris St. Pierre [Tue, 23 Feb 2016 16:27:55 +0000 (10:27 -0600)]
Improve firewall checks
The firewall checks can fail for any number of reasons -- e.g., the
ceph cluster hostnames are unresolvable from the ansible host, or the
ports are filtered by some intermediate hop, etc. Make two changes to
make those checks better:
* Set pipefail when running the checks, so if nmap itself fails the
command will be marked as 'failed'. Specifically, this fixes the
case where the hostnames cannot be resolved.
* Add a new variable, check_firewall, which can be used to disable
checks entirely. Specifically, this fixes the case where some
intermediate firewall filters the ports, so nmap returns "filtered".
Chris St. Pierre [Tue, 23 Feb 2016 17:33:03 +0000 (11:33 -0600)]
Do not set key permissions with cephx: false
If cephx is set to false, the "set keys permissions" task fails with:
file ({# ceph_keys.stdout_lines #}) is absent, cannot continue
This skips that step when cephx is false.
Chris St. Pierre [Tue, 23 Feb 2016 17:30:26 +0000 (11:30 -0600)]
Make RHEL installs honor ceph_origin: distro
Installs on RHEL with ceph_origin set to distro previously would fail
because no packages would get installed, but all of the checks passed
fine. This adds support for ceph_origin: distro, simply installing the
packages using yum/dnf and assuming that the sysadmin has provided a
repository containing them.
This also supports the use case where Satellite or a similar local
mirror is in use, and the admin does not or cannot use the additional
repositories the role would otherwise add.
Leseb [Sun, 21 Feb 2016 18:15:19 +0000 (19:15 +0100)]
Merge pull request #554 from ceph/octal-file-perms
Octal file perms
Sébastien Han [Sun, 21 Feb 2016 17:25:42 +0000 (18:25 +0100)]
ceph-osd: use fact logic to set permissions
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Sun, 21 Feb 2016 17:21:19 +0000 (18:21 +0100)]
Octal file permissions must contain leading zero
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 18 Feb 2016 17:08:27 +0000 (18:08 +0100)]
Merge pull request #551 from ceph/add-ceph-fetch-key
contrib: add ceph-fetch-keys
Sébastien Han [Thu, 18 Feb 2016 17:07:43 +0000 (18:07 +0100)]
contrib: add ceph-fetch-keys
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 18 Feb 2016 16:52:57 +0000 (17:52 +0100)]
Merge pull request #550 from ceph/fetch-keys-role
Adds a new role, ceph-fetch-keys
Andrew Schoen [Thu, 18 Feb 2016 15:39:18 +0000 (09:39 -0600)]
a playbook to add an OSD to an existing cluster
The playbook uses the ceph-fetch-keys role to connect to the mons and
retrieve keys for the OSD bootstrapping. Ensure that all your mons for
the cluster you're adding the OSD to is in your inventory in the mons
group. This ensures that a proper ceph.conf is created for the new OSD.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 17 Feb 2016 22:15:57 +0000 (16:15 -0600)]
Adds a new ceph-fetch-keys role
The purpose of this is so we can connect to the mons and gather the keys
needed to configure an OSD or additonal MON without having to reconfigure
the existing mons at the same time.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Thu, 18 Feb 2016 12:58:30 +0000 (13:58 +0100)]
Merge pull request #549 from retspen/master
Added support parallels provider
retspen [Thu, 18 Feb 2016 11:58:33 +0000 (13:58 +0200)]
Added support parallels provider
Leseb [Wed, 17 Feb 2016 09:26:18 +0000 (10:26 +0100)]
Merge pull request #548 from ceph/more-tags
adds some more --package-install tags; make check_mandatory_vars more specific
Andrew Schoen [Mon, 15 Feb 2016 21:29:06 +0000 (15:29 -0600)]
make mandatory variable checks only apply when needed
In our use case we might only be configuring mons and not osds in the
same call, so we don't want to check variables needed for osds when they
are not needed to configure a mon.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Fri, 12 Feb 2016 21:32:48 +0000 (15:32 -0600)]
add the package-install tags to some tasks in check_mandatory_vars
We'll want these checks to always run when we're installing packages
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Tue, 16 Feb 2016 15:27:23 +0000 (16:27 +0100)]
Merge pull request #543 from ceph/min_free_kbytes
ceph-common: calculate vm.min_free_kbytes
Sébastien Han [Tue, 16 Feb 2016 14:48:28 +0000 (15:48 +0100)]
ceph-common: use stdout for the register var
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 16 Feb 2016 14:40:49 +0000 (15:40 +0100)]
ceph-common: do not calculate vm.min_free_kbytes
we preserve the default kernel value.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Tue, 16 Feb 2016 13:10:10 +0000 (14:10 +0100)]
Merge pull request #542 from KGoreczny/upgrade_purge_cluster
Rewrite purge-cluster playbook
Leseb [Tue, 16 Feb 2016 13:08:26 +0000 (14:08 +0100)]
Merge pull request #546 from ceph/separate-agent
separate the agent so it doesn't break standard installs
KGoreczny [Tue, 16 Feb 2016 12:41:58 +0000 (13:41 +0100)]
Unify quotation marks
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
Alfredo Deza [Tue, 16 Feb 2016 12:12:07 +0000 (07:12 -0500)]
remove the agent from the mons
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 16 Feb 2016 12:09:54 +0000 (07:09 -0500)]
separate the agent so it doesn't break standard installs
Mainly because some packages are still not there for upstream which will cause
it to break installs that would otherwise would succeed
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Mon, 15 Feb 2016 16:43:37 +0000 (17:43 +0100)]
Merge pull request #544 from ceph/contrib-rhscon
contrib: add the ceph-agent
Leseb [Mon, 15 Feb 2016 16:43:25 +0000 (17:43 +0100)]
Merge pull request #539 from ceph/rhscon-support
rhscon (storage agent)
Alfredo Deza [Mon, 15 Feb 2016 16:42:01 +0000 (11:42 -0500)]
gitignore group_vars/agent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sébastien Han [Mon, 15 Feb 2016 16:11:03 +0000 (17:11 +0100)]
contrib: add the ceph-agent
Signed-off-by: Sébastien Han <seb@redhat.com>
KGoreczny [Mon, 15 Feb 2016 15:51:16 +0000 (16:51 +0100)]
Add dnf package support; change condition checks for package managers
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
KGoreczny [Mon, 15 Feb 2016 15:01:00 +0000 (16:01 +0100)]
Use yum and apt modules instead of package to provide Ansible <2.0 support; fix typo
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
Sébastien Han [Mon, 15 Feb 2016 14:05:42 +0000 (15:05 +0100)]
ceph-common: update group_vars vm.min_free_kbytes
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Mon, 15 Feb 2016 14:04:37 +0000 (15:04 +0100)]
Merge pull request #541 from haasn/master
ceph-common: use explicit action syntax for config_template
Sébastien Han [Mon, 15 Feb 2016 14:03:10 +0000 (15:03 +0100)]
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>
Krzysztof Goreczny [Wed, 10 Feb 2016 12:13:39 +0000 (13:13 +0100)]
Rewrite purge-cluster playbook
Signed-off-by: Krzysztof Goreczny <krzysztof.goreczny@intel.com>
Alfredo Deza [Mon, 15 Feb 2016 12:58:02 +0000 (07:58 -0500)]
use the agent on monitors on site.yml.sample
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 15 Feb 2016 12:52:46 +0000 (07:52 -0500)]
create a group_vars agent sample file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 15 Feb 2016 12:50:09 +0000 (07:50 -0500)]
fix wording on defaults main.yml
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 15 Feb 2016 12:49:03 +0000 (07:49 -0500)]
only check for subscription manager on RH systems
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Niklas Haas [Sun, 14 Feb 2016 19:58:04 +0000 (20:58 +0100)]
ceph-common: use explicit action syntax for config_template
This fails with "ERROR! no action detected in task" otherwise.
Leseb [Sat, 13 Feb 2016 22:19:50 +0000 (23:19 +0100)]
Merge pull request #540 from ceph/fix-autodiscover-osd
ceph-osd: fix the autodiscovery osd scenario
Sébastien Han [Sat, 13 Feb 2016 22:07:44 +0000 (23:07 +0100)]
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>
Alfredo Deza [Fri, 12 Feb 2016 20:54:56 +0000 (15:54 -0500)]
check for subscription manager
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 20:37:06 +0000 (15:37 -0500)]
create the task to install and configure the agent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 18:24:46 +0000 (13:24 -0500)]
better reword the master host variable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 18:08:32 +0000 (13:08 -0500)]
create a template for the ceph agent minion
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 17:01:51 +0000 (12:01 -0500)]
define the supported versions
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Feb 2016 16:53:15 +0000 (11:53 -0500)]
initial files for the ceph-agent role
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Fri, 12 Feb 2016 14:56:30 +0000 (15:56 +0100)]
Merge pull request #538 from ceph/galaxy-requirements
add a galaxy dependency file example
Sébastien Han [Fri, 12 Feb 2016 14:55:42 +0000 (15:55 +0100)]
add a galaxy dependency file example
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 12 Feb 2016 00:08:09 +0000 (01:08 +0100)]
Merge pull request #536 from ceph/fix-auto-discover-disk
ceph-osd: fix the auto discovery scenario
Sébastien Han [Thu, 11 Feb 2016 23:54:09 +0000 (00:54 +0100)]
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>
Sébastien Han [Thu, 11 Feb 2016 21:51:23 +0000 (22:51 +0100)]
ceph-osd: simply the regex to check the device
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 11 Feb 2016 21:40:59 +0000 (22:40 +0100)]
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>
Leseb [Thu, 11 Feb 2016 20:25:14 +0000 (21:25 +0100)]
Merge pull request #535 from dang/rgw_addr
Allow RGW and client VMs together
Daniel Gryniewicz [Thu, 11 Feb 2016 20:16:13 +0000 (15:16 -0500)]
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.
Leseb [Thu, 11 Feb 2016 16:59:07 +0000 (17:59 +0100)]
Merge pull request #534 from ceph/fix-osd-typo
ceph-osd: docker: fix type
Sébastien Han [Thu, 11 Feb 2016 16:57:10 +0000 (17:57 +0100)]
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>
Leseb [Thu, 11 Feb 2016 16:52:04 +0000 (17:52 +0100)]
Merge pull request #533 from ceph/use-ansible-version
use the ansible_version variable
Sébastien Han [Thu, 11 Feb 2016 16:34:44 +0000 (17:34 +0100)]
use the ansible_version variable
use the builtin variable to check the ansible version
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 10 Feb 2016 22:57:01 +0000 (23:57 +0100)]
Merge branch 'master' of github.com:ceph/ceph-ansible
Leseb [Tue, 9 Feb 2016 13:05:05 +0000 (14:05 +0100)]
Merge pull request #526 from mattt416/issue_525
Change modes to string values
Ben England [Tue, 9 Feb 2016 20:02:55 +0000 (15:02 -0500)]
make sure /etc/fstab is always valid at boot time no matter what
Leseb [Tue, 9 Feb 2016 13:05:05 +0000 (14:05 +0100)]
Merge pull request #526 from mattt416/issue_525
Change modes to string values
Matt Thompson [Tue, 9 Feb 2016 09:51:31 +0000 (09:51 +0000)]
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
Leseb [Mon, 8 Feb 2016 14:26:14 +0000 (15:26 +0100)]
Merge pull request #524 from ceph/fix-typo
ceph-rgw: fix docker typo
Sébastien Han [Mon, 8 Feb 2016 14:25:24 +0000 (15:25 +0100)]
ceph-rgw: fix docker typo
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Sun, 7 Feb 2016 21:36:38 +0000 (22:36 +0100)]
Merge pull request #521 from ceph/vagrant-container
ceph-ansible: allow to run containerized daemons
Sébastien Han [Sun, 7 Feb 2016 21:30:32 +0000 (22:30 +0100)]
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>
Leseb [Fri, 5 Feb 2016 16:22:14 +0000 (17:22 +0100)]
Merge pull request #519 from ceph/restapi-meta
ceph-restapi: fix meta file
Sébastien Han [Fri, 5 Feb 2016 16:19:54 +0000 (17:19 +0100)]
ceph-restapi: fix meta file
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Fri, 5 Feb 2016 15:41:35 +0000 (16:41 +0100)]
Merge pull request #512 from guits/quick_fix
Refact code using `set_fact` to handle 'legacy' versions