]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Andrew Schoen [Tue, 15 Mar 2016 14:44:31 +0000 (09:44 -0500)]
documention on how to configure ceph.conf using ceph_conf_overrides
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Mon, 14 Mar 2016 17:35:35 +0000 (18:35 +0100)]
Merge pull request #603 from bengland2/fix_purge_nonosd
fix purge-request.yml so non-OSD hosts will not fail
Leseb [Mon, 14 Mar 2016 17:32:03 +0000 (18:32 +0100)]
Merge pull request #621 from FooBarQuaxx/patch-1
Suppress Virtualbox disk creation if already present
Ben England [Sun, 13 Mar 2016 13:26:34 +0000 (09:26 -0400)]
only do ls on directory that exists
MAA [Sat, 12 Mar 2016 20:36:57 +0000 (23:36 +0300)]
Suppress Virtualbox disk creation if already present
Leseb [Wed, 9 Mar 2016 20:37:05 +0000 (12:37 -0800)]
Merge pull request #614 from ceph/calamari-rest-api
Allow to install the calamari-server on monitors
Alfredo Deza [Wed, 9 Mar 2016 20:15:11 +0000 (15:15 -0500)]
add the commented out options for calamari-server in mons.sample
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 9 Mar 2016 20:12:52 +0000 (15:12 -0500)]
set the default to install calamari-server in a monitor
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 9 Mar 2016 20:10:47 +0000 (15:10 -0500)]
include calamari when the calamari option is set
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 8 Mar 2016 20:57:18 +0000 (15:57 -0500)]
create a calamari task in ceph-mon
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Wed, 9 Mar 2016 17:58:46 +0000 (09:58 -0800)]
Merge pull request #611 from ceph/rhcs-debian
support for the jewel version of red hat ceph storage on ubuntu
Leseb [Wed, 9 Mar 2016 16:40:47 +0000 (08:40 -0800)]
Merge pull request #612 from ceph/rgw-dir
ceph-rgw: remove leftover for service activation
Leseb [Wed, 9 Mar 2016 05:18:44 +0000 (21:18 -0800)]
Merge pull request #613 from ceph/centos-box
vagrant: add other boxes for centos and ubuntu
Andrew Schoen [Tue, 8 Mar 2016 22:08:53 +0000 (16:08 -0600)]
adds the rh storage apt-key for jewel on ubuntu
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 8 Mar 2016 22:05:19 +0000 (16:05 -0600)]
the ceph package does not exist in jewel rh storage
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 8 Mar 2016 21:23:32 +0000 (15:23 -0600)]
adds the ability to install red hat ceph storage packages on Ubuntu
This will only work for jewel or later releases.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 8 Mar 2016 20:56:23 +0000 (14:56 -0600)]
subscription manager tasks should not run on debian systems
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Tue, 8 Mar 2016 15:06:05 +0000 (16:06 +0100)]
vagrant: add other boxes for centos and ubuntu
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 8 Mar 2016 13:38:40 +0000 (14:38 +0100)]
ceph-rgw: remove leftover for service activation
this is handled by the task after.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Tue, 8 Mar 2016 08:32:21 +0000 (09:32 +0100)]
Merge pull request #607 from ceph/rhcs-fixes
fixes for installing / configuring red hat ceph storage
Leseb [Tue, 8 Mar 2016 08:29:23 +0000 (09:29 +0100)]
Merge pull request #608 from deberon/systemd_ceph.target
Use ceph.target if available
Derek Anderson [Mon, 7 Mar 2016 23:01:54 +0000 (18:01 -0500)]
Added an additional task for starting/enabling a service based on a systemd target if systemd is available. Otherwise using the init script.
Andrew Schoen [Mon, 7 Mar 2016 20:50:05 +0000 (14:50 -0600)]
find the rhcs version right before setting is_ceph_infernalis
Where it was located before meant it might be skipped if you don't run
tasks with the package-install tag. This fixes the situation where you
want to configure an rhcs node, but do not want to do any package
installs.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Mon, 7 Mar 2016 20:47:09 +0000 (14:47 -0600)]
make sure ceph_origin != "upstream" when using rhcs
When installing RHCS there is an option to install from distro provided
packages, this commit modifies the check to allow that to happen.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Leseb [Mon, 7 Mar 2016 13:06:20 +0000 (14:06 +0100)]
Merge pull request #606 from ceph/jewel-start
ceph-common: fix mon startup for dev installation
Sébastien Han [Mon, 7 Mar 2016 13:05:01 +0000 (14:05 +0100)]
vagrant: ability to configure installation source
now with vagrant, you can either enable ceph_stable or ceph_dev
depending on what you're looking to test.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 7 Mar 2016 12:28:54 +0000 (13:28 +0100)]
ceph-common: fix mon startup for dev installation
closes: #602 and #587
Signed-off-by: Sébastien Han <seb@redhat.com>
Ben England [Sat, 5 Mar 2016 11:26:50 +0000 (06:26 -0500)]
so non-OSD hosts will not fail
Leseb [Thu, 3 Mar 2016 20:46:03 +0000 (21:46 +0100)]
Merge pull request #599 from ceph/fqdn-followup
ceph-mon/mds: fix fqdn
Sébastien Han [Thu, 3 Mar 2016 10:03:03 +0000 (11:03 +0100)]
ceph-mon/mds: fix fqdn
closes #596
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 3 Mar 2016 14:40:49 +0000 (15:40 +0100)]
Merge pull request #601 from ceph/install-libnss3-tools
ceph-rgw: install libnss3-tools for keystone
Sébastien Han [Thu, 3 Mar 2016 13:43:01 +0000 (14:43 +0100)]
ceph-rgw: install libnss3-tools for keystone
closes: #598
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 3 Mar 2016 11:08:27 +0000 (12:08 +0100)]
Merge pull request #573 from bengland2/purge_cluster_fixes
extend to handle rgws, read in ceph-common defaults
Leseb [Thu, 3 Mar 2016 09:02:24 +0000 (10:02 +0100)]
Merge pull request #597 from ceph/update-group-vars
ceph-common: update group_vars
Sébastien Han [Thu, 3 Mar 2016 09:00:47 +0000 (10:00 +0100)]
ceph-common: update group_vars
from #588 changes
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Thu, 3 Mar 2016 08:59:13 +0000 (09:59 +0100)]
Merge pull request #588 from ceph/centos-deps
Define CentOS vs RHEL dependencies
Alfredo Deza [Wed, 2 Mar 2016 23:08:07 +0000 (18:08 -0500)]
remove ^M line endings
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 2 Mar 2016 23:06:54 +0000 (18:06 -0500)]
define redhat-specific and centos-specific package dependencies
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 2 Mar 2016 23:05:37 +0000 (18:05 -0500)]
install centos or rhel dependencies depending on ansible_distribution
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Leseb [Wed, 2 Mar 2016 22:27:12 +0000 (23:27 +0100)]
Merge pull request #595 from ceph/rm-embedded-common
ceph-common: rm embedded ceph-common role
Sébastien Han [Wed, 2 Mar 2016 22:24:26 +0000 (23:24 +0100)]
ceph-common: rm embedded ceph-common role
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 2 Mar 2016 18:00:42 +0000 (19:00 +0100)]
Merge pull request #594 from ceph/common-role
rollback previous change for ceph-common change
Sébastien Han [Wed, 2 Mar 2016 17:44:36 +0000 (18:44 +0100)]
rollback previous change for ceph-common change
changing the name of the directory causes issues with git subtree which
will create new commits. Creating a symlink for vagrant to be happy.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 2 Mar 2016 16:30:39 +0000 (17:30 +0100)]
Merge pull request #593 from ceph/contrib-ceph-common
contrib: fix ceph-common role name
Sébastien Han [Wed, 2 Mar 2016 16:29:57 +0000 (17:29 +0100)]
contrib: fix ceph-common role name
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 2 Mar 2016 16:00:13 +0000 (17:00 +0100)]
Merge pull request #592 from ceph/fech-key-dep
ceph-fetch-keys: add dependencies flag to galaxy
Sébastien Han [Wed, 2 Mar 2016 15:58:23 +0000 (16:58 +0100)]
ceph-fetch-keys: add dependencies flag to galaxy
Signed-off-by: Sébastien Han <seb@redhat.com>
Alfredo Deza [Wed, 2 Mar 2016 15:49:04 +0000 (10:49 -0500)]
Merge pull request #591 from ceph/galaxy-dep
wip: galaxy roles dependencies
Sébastien Han [Wed, 2 Mar 2016 11:00:51 +0000 (12:00 +0100)]
wip: galaxy roles dependencies
in order to have a build on the galaxy we need to have a proper
dependency set for ceph-common. On the galaxy ceph-common does not
exist, only ceph.ceph-common is available.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 2 Mar 2016 10:29:27 +0000 (11:29 +0100)]
Merge pull request #586 from ceph/use-mon-fqdn
ceph-common: allow usage of fqdn for mon/mds
Sébastien Han [Tue, 1 Mar 2016 10:38:59 +0000 (11:38 +0100)]
ceph-common: allow usage of fqdn for mon/mds
this commit introduces the ability to use fqdn for mon/mds name while
generation the ceph.conf file from the template.
Simply turn mon_use_fqdn and or mds_use_fqdn to true to use FQDN.
Signed-off-by: Sébastien Han <seb@redhat.com>
Leseb [Wed, 2 Mar 2016 09:53:13 +0000 (10:53 +0100)]
Merge pull request #590 from ceph/generate-sample-osx
generate sample: fix sed on OSX
Leseb [Wed, 2 Mar 2016 09:52:56 +0000 (10:52 +0100)]
Merge pull request #589 from ceph/wip-ceph-test
Optionally install ceph-test
Sébastien Han [Wed, 2 Mar 2016 09:52:19 +0000 (10:52 +0100)]
generate sample: fix sed on OSX
Signed-off-by: Sébastien Han <seb@redhat.com>
Zack Cerza [Fri, 19 Feb 2016 23:39:33 +0000 (16:39 -0700)]
Optionally install ceph-test
We want this to enable testing with existing teuthology jobs.
https://github.com/ceph/teuthology
Signed-off-by: Zack Cerza <zack@redhat.com>
Leseb [Tue, 1 Mar 2016 18:00:53 +0000 (19:00 +0100)]
Merge pull request #582 from ceph/dev-notes
README: how to submit patches
Leseb [Tue, 1 Mar 2016 18:00:19 +0000 (19:00 +0100)]
Merge pull request #580 from stpierre/generate-group-vars-sample
Generate all.sample automagically
Leseb [Tue, 1 Mar 2016 17:28:49 +0000 (18:28 +0100)]
Merge pull request #563 from stpierre/dont-prepare-skipped-disks
Do not prepare skipped disks
Leseb [Tue, 1 Mar 2016 14:27:00 +0000 (15:27 +0100)]
Merge pull request #583 from stpierre/rbd-client-dir-mode
Fix pre-infernalis RBD client directory mode
Chris St. Pierre [Mon, 29 Feb 2016 15:35:07 +0000 (09:35 -0600)]
Generate group_vars samples automagically
This adds a script, generate_group_vars_sample.sh, that generates
group_vars/*.sample from roles/ceph-*/defaults/main.yml to avoid
discrepancies between the sets of files. It also converts the line
endings in the various main.yml from DOS to Unix, since generating the
samples was spreading the line ending plague around to more files.
Leseb [Mon, 29 Feb 2016 18:00:56 +0000 (19:00 +0100)]
Merge pull request #553 from stpierre/add-tunables
Use object map for xattrs with ext4
Chris St. Pierre [Mon, 29 Feb 2016 17:58:20 +0000 (11:58 -0600)]
Fix pre-infernalis RBD client directory mode
0644 should never be a directory mode. 1777 makes it so that any user
can create a ceph client, not just root. (This is helpful if, for
instance, nova-compute is running as non-root.)
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>
Chris St. Pierre [Fri, 19 Feb 2016 21:06:12 +0000 (15:06 -0600)]
Add tunable to use object map for xattrs
Defaults to true if using ext4, false otherwise, and can be explicitly
overridden if desired.
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 11:53:31 +0000 (06:53 -0500)]
extend to handle rgws, read in ceph-common defaults
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>
Chris St. Pierre [Wed, 24 Feb 2016 22:09:34 +0000 (16:09 -0600)]
Fix activation of disks with auto discovery
With osd_auto_discovery enabled, the 'devices' list isn't
meaningful. We should activate ansible_devices instead.
Chris St. Pierre [Wed, 24 Feb 2016 16:25:26 +0000 (10:25 -0600)]
Do not prepare skipped disks
When autodiscovering disks, disks can be skipped if either they are
removable, or if they have partitions on them. Skipped actions have no
'rc' attribute, though, so the 'ceph prepare' conditional fails unless
we first check to ensure that the results were not skipped before
checking the return value.
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>