]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
ceph-ansible.git
9 years agoset the default to install calamari-server in a monitor
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>
9 years agoinclude calamari when the calamari option is set
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>
9 years agocreate a calamari task in ceph-mon
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>
9 years agoMerge pull request #607 from ceph/rhcs-fixes
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

9 years agoMerge pull request #608 from deberon/systemd_ceph.target
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

9 years agoAdded an additional task for starting/enabling a service based on a systemd target... 608/head
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.

9 years agofind the rhcs version right before setting is_ceph_infernalis 607/head
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>
9 years agomake sure ceph_origin != "upstream" when using rhcs
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>
9 years agoMerge pull request #606 from ceph/jewel-start
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

9 years agovagrant: ability to configure installation source 606/head
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>
9 years agoceph-common: fix mon startup for dev installation
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>
9 years agoMerge pull request #599 from ceph/fqdn-followup
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

9 years agoceph-mon/mds: fix fqdn 599/head
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>
9 years agoMerge pull request #601 from ceph/install-libnss3-tools
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

9 years agoceph-rgw: install libnss3-tools for keystone 601/head
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>
9 years agoMerge pull request #573 from bengland2/purge_cluster_fixes
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

9 years agoMerge pull request #597 from ceph/update-group-vars v1.0.1
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

9 years agoceph-common: update group_vars 597/head
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>
9 years agoMerge pull request #588 from ceph/centos-deps
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

9 years agoremove ^M line endings 588/head
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>
9 years agodefine redhat-specific and centos-specific package dependencies
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>
9 years agoinstall centos or rhel dependencies depending on ansible_distribution
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>
9 years agoMerge pull request #595 from ceph/rm-embedded-common
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

9 years agoceph-common: rm embedded ceph-common role 595/head
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>
9 years agoMerge pull request #594 from ceph/common-role
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

9 years agorollback previous change for ceph-common change 594/head
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>
9 years agoMerge pull request #593 from ceph/contrib-ceph-common
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

9 years agocontrib: fix ceph-common role name 593/head
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>
9 years agoMerge pull request #592 from ceph/fech-key-dep v1.0.0
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

9 years agoceph-fetch-keys: add dependencies flag to galaxy 592/head
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>
9 years agoMerge pull request #591 from ceph/galaxy-dep
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

9 years agowip: galaxy roles dependencies 591/head
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>
9 years agoMerge pull request #586 from ceph/use-mon-fqdn
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

9 years agoceph-common: allow usage of fqdn for mon/mds 586/head
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>
9 years agoMerge pull request #590 from ceph/generate-sample-osx
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

9 years agoMerge pull request #589 from ceph/wip-ceph-test
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

9 years agogenerate sample: fix sed on OSX 590/head
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>
9 years agoOptionally install ceph-test 589/head
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>
9 years agoMerge pull request #582 from ceph/dev-notes
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

9 years agoMerge pull request #580 from stpierre/generate-group-vars-sample
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

9 years agoMerge pull request #563 from stpierre/dont-prepare-skipped-disks
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

9 years agoMerge pull request #583 from stpierre/rbd-client-dir-mode
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

9 years agoGenerate group_vars samples automagically 580/head
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.

9 years agoMerge pull request #553 from stpierre/add-tunables
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

9 years agoFix pre-infernalis RBD client directory mode 583/head
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.)

9 years agoREADME: how to submit patches 582/head
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>
9 years agoAdd tunable to use object map for xattrs 553/head
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.

9 years agoMerge pull request #581 from ceph/ceph-agent-galaxy1
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

9 years agoceph-agent and key fix platform RHEL key 581/head
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>
9 years agoMerge pull request #579 from ceph/ceph-agent-galaxy
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

9 years agoceph-agent: add dependency section for the galaxy 579/head
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>
9 years agoMerge pull request #569 from stpierre/skip-generate-fsid
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

9 years agoMerge pull request #577 from ceph/vm-byte-change
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

9 years agoceph-common: only change task when false 577/head
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>
9 years agoMerge pull request #567 from ceph/distribut-keys
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

9 years agoceph-: update group_vars to reflect previous change 567/head
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>
9 years agoMerge pull request #576 from KGoreczny/purge_journal_devices
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

9 years agoAdd zap journal devices for raw multi journal scenario 576/head
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>
9 years agoMerge pull request #575 from ceph/ceph-config-dir
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

9 years agoMerge pull request #572 from bengland2/add_Tools_to_repo
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

9 years agoceph-common: use saner defaults for ceph dir 575/head
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>
9 years agoextend to handle rgws, read in ceph-common defaults 573/head
Ben England [Sun, 28 Feb 2016 11:53:31 +0000 (06:53 -0500)]
extend to handle rgws, read in ceph-common defaults

9 years agohelp RGW install from RHCS .iso 572/head
Ben England [Sun, 28 Feb 2016 10:32:59 +0000 (05:32 -0500)]
help RGW install from RHCS .iso

9 years agoMerge pull request #568 from stpierre/skip-keyring-cephx-disabled
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

9 years agoMerge pull request #571 from stpierre/fix-openstack-config-skip
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

9 years agoFix openstack config skipping 571/head
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.

9 years agoAdd option to skip generating fsid 569/head
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.

9 years agoSkip keyring tasks when cephx is disabled 568/head
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.

9 years agoceph-: abitlity to copy admin on all the nodes
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>
9 years agoFix activation of disks with auto discovery 563/head
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.

9 years agoDo not prepare skipped disks
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.

9 years agoMerge pull request #559 from stpierre/rhel-ceph-origin-distro
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

9 years agoMerge pull request #561 from ceph/mds-systemd-fix
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

9 years agoceph-mds: enable systemd unit file 561/head
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>
9 years agoMerge pull request #560 from stpierre/cephx-false-skip-key-permissions
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

9 years agoMerge pull request #528 from bengland2/iso_mount
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

9 years agorevert absent->unmounted as leseb requested 528/head
Ben England [Tue, 23 Feb 2016 21:43:45 +0000 (16:43 -0500)]
revert absent->unmounted as leseb requested

9 years agoMerge pull request #558 from stpierre/firewall-check-improvements
Leseb [Tue, 23 Feb 2016 18:36:47 +0000 (19:36 +0100)]
Merge pull request #558 from stpierre/firewall-check-improvements

Improve firewall checks

9 years agoImprove firewall checks 558/head
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".

9 years agoDo not set key permissions with cephx: false 560/head
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.

9 years agoMake RHEL installs honor ceph_origin: distro 559/head
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.

9 years agoMerge pull request #554 from ceph/octal-file-perms
Leseb [Sun, 21 Feb 2016 18:15:19 +0000 (19:15 +0100)]
Merge pull request #554 from ceph/octal-file-perms

Octal file perms

9 years agoceph-osd: use fact logic to set permissions 554/head
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>
9 years agoOctal file permissions must contain leading zero
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>
9 years agoMerge pull request #551 from ceph/add-ceph-fetch-key
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

9 years agocontrib: add ceph-fetch-keys 551/head
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>
9 years agoMerge pull request #550 from ceph/fetch-keys-role
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

9 years agoa playbook to add an OSD to an existing cluster 550/head
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>
9 years agoAdds a new ceph-fetch-keys role
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>
9 years agoMerge pull request #549 from retspen/master
Leseb [Thu, 18 Feb 2016 12:58:30 +0000 (13:58 +0100)]
Merge pull request #549 from retspen/master

Added support parallels provider

9 years agoAdded support parallels provider 549/head
retspen [Thu, 18 Feb 2016 11:58:33 +0000 (13:58 +0200)]
Added support parallels provider

9 years agoMerge pull request #548 from ceph/more-tags
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

9 years agomake mandatory variable checks only apply when needed 548/head
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>
9 years agoadd the package-install tags to some tasks in check_mandatory_vars
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>
9 years agoMerge pull request #543 from ceph/min_free_kbytes
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

9 years agoceph-common: use stdout for the register var 543/head
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>
9 years agoceph-common: do not calculate vm.min_free_kbytes
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>
9 years agoMerge pull request #542 from KGoreczny/upgrade_purge_cluster
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

9 years agoMerge pull request #546 from ceph/separate-agent
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

9 years agoUnify quotation marks 542/head
KGoreczny [Tue, 16 Feb 2016 12:41:58 +0000 (13:41 +0100)]
Unify quotation marks

Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>