Commit Graph

1003 Commits (a3dbfba4c00363f48f2de048e8b238ded0a8b7db)
 

Author SHA1 Message Date
Andrew Schoen 3035f45c51 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>
2016-03-08 15:23:32 -06:00
Andrew Schoen 60746d9327 subscription manager tasks should not run on debian systems
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-03-08 14:56:23 -06:00
François Charlier 59f151f374 Install ceph-mds on Debian platforms only if mds_group_name is set
Fixes #547
2016-03-08 19:08:24 +01:00
Sébastien Han 1f34b248a3 vagrant: add other boxes for centos and ubuntu
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-08 16:09:50 +01:00
Sébastien Han a852df1753 ceph-rgw: remove leftover for service activation
this is handled by the task after.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-08 14:38:40 +01:00
Sébastien Han 6439396127 ceph-osd: fragment directory and files perms
works for all the ceph's distros now

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-08 14:32:32 +01:00
Leseb 8b64c6c8ed Merge pull request #607 from ceph/rhcs-fixes
fixes for installing / configuring red hat ceph storage
2016-03-08 09:32:21 +01:00
Leseb ba354cc8ca Merge pull request #608 from deberon/systemd_ceph.target
Use ceph.target if available
2016-03-08 09:29:23 +01:00
Sébastien Han 9363665019 fix fragment for osd directory scenario
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-08 00:40:50 +01:00
Derek Anderson 210e4d4a01 Added an additional task for starting/enabling a service based on a systemd target if systemd is available. Otherwise using the init script. 2016-03-07 18:04:39 -05:00
Andrew Schoen 9f1b437e9d 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>
2016-03-07 14:50:05 -06:00
Andrew Schoen ad6ebbcb32 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>
2016-03-07 14:47:09 -06:00
Leseb b354445914 Merge pull request #606 from ceph/jewel-start
ceph-common: fix mon startup for dev installation
2016-03-07 14:06:20 +01:00
Sébastien Han 314ebfb0ae 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>
2016-03-07 14:05:01 +01:00
Sébastien Han 443f3465fd ceph-common: fix mon startup for dev installation
closes: #602 and #587

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-07 13:28:54 +01:00
Ben England f643209999 so non-OSD hosts will not fail 2016-03-05 06:26:50 -05:00
Leseb ebcc7f6207 Merge pull request #599 from ceph/fqdn-followup
ceph-mon/mds: fix fqdn
2016-03-03 21:46:03 +01:00
Sébastien Han 378aadf3e3 ceph-mon/mds: fix fqdn
closes #596

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-03 21:23:14 +01:00
Leseb ded0667ab9 Merge pull request #601 from ceph/install-libnss3-tools
ceph-rgw: install libnss3-tools for keystone
2016-03-03 15:40:49 +01:00
Sébastien Han b206efaeab ceph-rgw: install libnss3-tools for keystone
closes: #598

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-03 14:43:01 +01:00
Leseb 9cb5849cd2 Merge pull request #573 from bengland2/purge_cluster_fixes
extend to handle rgws, read in ceph-common defaults
2016-03-03 12:08:27 +01:00
Leseb 1372af4cd6 Merge pull request #597 from ceph/update-group-vars
ceph-common: update group_vars
2016-03-03 10:02:24 +01:00
Sébastien Han e46cbe98aa ceph-common: update group_vars
from #588 changes

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-03 10:00:47 +01:00
Leseb ed844808a8 Merge pull request #588 from ceph/centos-deps
Define CentOS vs RHEL dependencies
2016-03-03 09:59:13 +01:00
Alfredo Deza a63cef9e4b remove ^M line endings
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-03-02 18:08:07 -05:00
Alfredo Deza 7f13c777f1 define redhat-specific and centos-specific package dependencies
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-03-02 18:06:54 -05:00
Alfredo Deza 44e68923d1 install centos or rhel dependencies depending on ansible_distribution
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-03-02 18:05:37 -05:00
Leseb bec46b7d67 Merge pull request #595 from ceph/rm-embedded-common
ceph-common: rm embedded ceph-common role
2016-03-02 23:27:12 +01:00
Sébastien Han 1619bdcbbd ceph-common: rm embedded ceph-common role
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-02 23:24:26 +01:00
Leseb a5c0d244f9 Merge pull request #594 from ceph/common-role
rollback previous change for ceph-common change
2016-03-02 19:00:42 +01:00
Sébastien Han 1ebb4de7f3 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>
2016-03-02 18:44:36 +01:00
Leseb 12f5ac5678 Merge pull request #593 from ceph/contrib-ceph-common
contrib: fix ceph-common role name
2016-03-02 17:30:39 +01:00
Sébastien Han 872a17d1db contrib: fix ceph-common role name
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-02 17:29:57 +01:00
Leseb 39d9e94a33 Merge pull request #592 from ceph/fech-key-dep
ceph-fetch-keys: add dependencies flag to galaxy
2016-03-02 17:00:13 +01:00
Sébastien Han 6a2ce273a4 ceph-fetch-keys: add dependencies flag to galaxy
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-02 16:58:23 +01:00
Alfredo Deza 580a068bd7 Merge pull request #591 from ceph/galaxy-dep
wip: galaxy roles dependencies
2016-03-02 10:49:04 -05:00
Sébastien Han d2359c1445 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>
2016-03-02 13:52:56 +01:00
Leseb 9f0c5d8de8 Merge pull request #586 from ceph/use-mon-fqdn
ceph-common: allow usage of fqdn for mon/mds
2016-03-02 11:29:27 +01:00
Sébastien Han 059cc1ea5b 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>
2016-03-02 11:11:43 +01:00
Leseb 3c5fccbc2d Merge pull request #590 from ceph/generate-sample-osx
generate sample: fix sed on OSX
2016-03-02 10:53:13 +01:00
Leseb a63beafb8e Merge pull request #589 from ceph/wip-ceph-test
Optionally install ceph-test
2016-03-02 10:52:56 +01:00
Sébastien Han dd44d9f2bd generate sample: fix sed on OSX
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-03-02 10:52:19 +01:00
Zack Cerza b27684d912 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>
2016-03-01 16:23:06 -07:00
Leseb d6f63d0dee Merge pull request #582 from ceph/dev-notes
README: how to submit patches
2016-03-01 19:00:53 +01:00
Leseb 40c61f5431 Merge pull request #580 from stpierre/generate-group-vars-sample
Generate all.sample automagically
2016-03-01 19:00:19 +01:00
Leseb 9bd561fa86 Merge pull request #563 from stpierre/dont-prepare-skipped-disks
Do not prepare skipped disks
2016-03-01 18:28:49 +01:00
Leseb ff7cd992c2 Merge pull request #583 from stpierre/rbd-client-dir-mode
Fix pre-infernalis RBD client directory mode
2016-03-01 15:27:00 +01:00
Chris St. Pierre c4a9b1020f 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.
2016-02-29 12:07:01 -06:00
Leseb f9c3159e0d Merge pull request #553 from stpierre/add-tunables
Use object map for xattrs with ext4
2016-02-29 19:00:56 +01:00
Chris St. Pierre a157186ef6 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.)
2016-02-29 11:58:20 -06:00