Commit Graph

1329 Commits (202d372dbaeb648bb7deab4502317eb0e536dc5a)
 

Author SHA1 Message Date
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
Sébastien Han 023cba5f8b README: how to submit patches
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-29 18:33:25 +01:00
Chris St. Pierre be52a01c49 Add tunable to use object map for xattrs
Defaults to true if using ext4, false otherwise, and can be explicitly
overridden if desired.
2016-02-29 11:31:04 -06:00
Leseb 9fecf398e8 Merge pull request #581 from ceph/ceph-agent-galaxy1
ceph-agent and key fix platform RHEL key
2016-02-29 16:49:51 +01:00
Sébastien Han cd5b69cf7d ceph-agent and key fix platform RHEL key
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-29 16:49:12 +01:00
Leseb 8615dd0cce Merge pull request #579 from ceph/ceph-agent-galaxy
ceph-agent: add dependency section for the galaxy
2016-02-29 16:34:39 +01:00
Sébastien Han e6d8aa2307 ceph-agent: add dependency section for the galaxy
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-29 16:33:43 +01:00
Leseb e06a05014c Merge pull request #569 from stpierre/skip-generate-fsid
Add option to skip generating fsid
2016-02-29 16:11:46 +01:00
Leseb e84c0f9b81 Merge pull request #577 from ceph/vm-byte-change
ceph-common: only change task when false
2016-02-29 16:10:59 +01:00
Sébastien Han 1051958a61 ceph-common: only change task when false
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-29 15:57:40 +01:00
Leseb f4dd00bf4f Merge pull request #567 from ceph/distribut-keys
ceph-: abitlity to copy admin on all the nodes
2016-02-29 15:43:00 +01:00
Sébastien Han 51e4fe8e0b ceph-: update group_vars to reflect previous change
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-02-29 15:10:34 +01:00
Leseb fbdde390a4 Merge pull request #576 from KGoreczny/purge_journal_devices
Add zap journal devices for raw multi journal scenario in purge-cluster
2016-02-29 14:42:17 +01:00
KGoreczny b4f29f1869 Add zap journal devices for raw multi journal scenario
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-02-29 13:22:13 +01:00
Leseb b406e73019 Merge pull request #575 from ceph/ceph-config-dir
ceph-common: use saner defaults for ceph dir
2016-02-29 11:28:01 +01:00
Leseb 7e257b1d5b Merge pull request #572 from bengland2/add_Tools_to_repo
help RGW install from RHCS .iso
2016-02-29 11:14:48 +01:00
Sébastien Han 4e14b47174 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>
2016-02-29 11:10:56 +01:00
Ben England c4d69dafbc extend to handle rgws, read in ceph-common defaults 2016-02-28 06:53:31 -05:00
Ben England 171cd642b0 help RGW install from RHCS .iso 2016-02-28 05:32:59 -05:00
Leseb dbc5704f23 Merge pull request #568 from stpierre/skip-keyring-cephx-disabled
Skip keyring tasks when cephx is disabled
2016-02-27 00:40:58 +01:00
Leseb 81b544a240 Merge pull request #571 from stpierre/fix-openstack-config-skip
Fix openstack config skipping
2016-02-27 00:40:03 +01:00
Chris St. Pierre 4b29b2707f 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.
2016-02-26 15:39:27 -06:00
Chris St. Pierre 8e0d53e5a4 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.
2016-02-25 10:29:12 -06:00
Chris St. Pierre e8ca637903 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.
2016-02-25 10:18:18 -06:00
Sébastien Han bb55860a7a 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>
2016-02-25 12:04:17 +01:00