David C Wang
a1c1cd6e9b
Ran generate_group_vars_sample.sh
...
The changes here are not anything to do with removing
yum-plugin-priorities. They must be leftover from
prior commits that did not run generate_group_vars_sample.sh
2016-06-03 19:26:52 +00:00
David C Wang
1106d4de8c
Added comments from ./group_vars/all.sample back into roles/ceph-common/defaults/main.yml
2016-06-03 19:24:43 +00:00
David C Wang
94d2e11425
Remove Centos7 dependency yum-plugin-priorities
...
This causes ceph-ansible scripts to fail when targeting Centos7 machines.
Installation fails because newer ceph package dependencies provided
by ceph-release-{version}.noarch.rpm were overridden by older
package dependency versions in default distribution repositories,
due to the fact that default distribution repositories have higher
priority.
2016-06-03 19:14:27 +00:00
Daniel Gryniewicz
9d08d74385
Allow running on local dev docker images
...
Docker makes it difficult to use images that are not on signed
registries. This is a problem for developers, who likely won't have
access to a registry with proper signed certificates.
This allows the ability to use any docker image on the machine running
vagrant/ansible. The way it works is that the image in question is
exported locally, then sent to each target box and imported there.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-06-03 14:52:21 -04:00
Huamin Chen
c4f9bf8d13
update osd default vars
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-03 16:42:22 +00:00
Huamin Chen
6b84f5475b
fix containerized deployment on centos
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-03 15:24:00 +00:00
Leseb
bb57f01970
Merge pull request #841 from TeutoNet/master
...
- prepare for python3
2016-06-03 17:06:35 +02:00
Tino Schmeier
5819736bb6
- prepare for python3
2016-06-03 14:23:21 +02:00
Leseb
00876feaa4
Merge pull request #837 from ceph/rhbz-1342117
...
Do not ignore ceph-disk issues
2016-06-03 10:46:12 +02:00
Jim Curtis
959edf7205
docker: enable mds container on Atomic host environment
2016-06-02 15:54:56 -07:00
Leseb
e08fe71afb
Merge pull request #836 from ceph/RHBZ-1337601
...
include the red hat storage apt-key as a file
2016-06-03 00:23:33 +02:00
Leseb
69ebe42cbe
Merge pull request #838 from ksingh7/fix-819
...
Fix for #819
2016-06-03 00:19:05 +02:00
Alfredo Deza
2fa57b4cdb
ceph-osd: do not ignore ceph-disk errors in raw multi journal
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1342117
2016-06-02 17:16:21 -04:00
Alfredo Deza
d287959107
ceph-osd: do not ignore ceph-disk errors in journal_collocation
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1342117
2016-06-02 17:16:05 -04:00
Alfredo Deza
195ee33dcf
ceph-osd: do not ignore ceph-disk errors in bluestore
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1342117
2016-06-02 17:15:35 -04:00
Andrew Schoen
ed1de5bf06
include the red hat storage apt-key as a file
...
This will allow nodes to install rhcs that do
not have access to the internet.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1337601
2016-06-02 15:20:04 -05:00
Leseb
c7d5ef41be
Merge pull request #833 from ceph/template-path
...
ceph-common: uniformize template path calls
2016-06-02 18:52:48 +02:00
Sébastien Han
c6232bed21
ceph-common: uniformize template path calls
...
In order to align all Ansible versions, we now use the full path for the
template. We rely on `role_path` variable. Now all the tasks using
the template module have a uniform syntax.
Might fix issue raised in #483
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-06-02 18:19:03 +02:00
Leseb
e64488dad4
Merge pull request #831 from SamYaple/fix_when
...
The when conditional was improperly being checked
2016-06-02 17:18:32 +02:00
Sam Yaple
bc242c2c34
Add undefined vars to ceph-common role
...
This is a temporary action to get the playbooks functional before a
refactor to better correct this issue.
2016-06-02 14:54:36 +00:00
Sam Yaple
cbbf87eb42
Revert "Fix commit conditionals"
...
This reverts commit 9ed45f7367
.
2016-06-02 14:46:27 +00:00
karan singh
a55624a676
Fix for #819
...
This commit removes /etc/yum.repos.d/rh_storage.repo file
for RedHat OS with RHCS ISO install during cluster purge
2016-06-02 13:08:19 +03:00
Leseb
0c4b9d7963
Merge pull request #832 from ceph/RHBZ-1339439
...
remove the gpgkey line from the red hat storage repo template
2016-06-02 11:32:48 +02:00
Leseb
0c9ee965a9
Merge pull request #828 from jimcurtis/master
...
docker: enable rgw container on Atomic host environment
2016-06-02 10:55:53 +02:00
Andrew Schoen
4a105993a8
remove the gpgkey line from the red hat storage repo template
...
See: https://bugzilla.redhat.com/show_bug.cgi?id=1339439
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Resolves: rhbz#1339439
2016-06-01 14:00:31 -05:00
Sam Yaple
59dd3223e7
Add defaults to False for undefined variables
2016-06-01 18:31:30 +00:00
Sam Yaple
9ed45f7367
Fix commit conditionals
...
The goal is to _fail_ this when conditional when one (and only one) is
set. The 'not's were incorrectly added.
2016-06-01 18:15:13 +00:00
Sam Yaple
60ae1820a7
The when conditional was improperly being checked
...
The scenarios were not being accurately compared to ensure that:
* A single scenario was choosen
* ONLY a single scenario was choosen
This solution does not scale for long, but that can be addressed in a
different patchset.
2016-06-01 17:58:26 +00:00
Jim Curtis
a803be1815
docker: review feedback on PR #828
2016-06-01 09:55:08 -07:00
Leseb
4a854061c7
Merge pull request #827 from gcharot/gcharot-master
...
LSB Release is not installed by default on minimal OS installs (for e…
2016-06-01 11:41:51 +02:00
Jim Curtis
c580b1b20c
docker: enable rgw container on Atomic host environment
2016-05-31 12:59:05 -07:00
Alfredo Deza
8dfd65c89d
Merge pull request #823 from ceph/rhbz-1339096
...
ceph-common: ceph-base is not part of rhstorage, remove it
2016-05-31 14:53:56 -04:00
root
156bee2af0
LSB Release is not installed by default on minimal OS installs (for example cloud-images). Script fails with a "command not found" erroor.
...
Checking if lsb_release is present BEFORE doing the test
Change os_VERSION to grab the major OS version instead of the distro codename
When installing EPEL, use $os_VERSION to grab the correct rpm instead of using hardcoded '7' package that would fail on other versions.
os_Version can also be use to deprecate old version on which ceph-ansible is not supported.
2016-05-31 19:30:08 +02:00
Sébastien Han
e0d1c66a59
rolling-upgrade: cleanup and cosmetic
...
refactoring the current code to apply the default syntax style that is
used in the entire playbook.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-31 18:13:47 +02:00
Alfredo Deza
254d75f671
ceph-common: install ceph-common packages for clients on debian for rhcs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-31 12:09:50 -04:00
Alfredo Deza
3b52b263eb
ceph-common: install ceph-common packages for clients on redhat for rhcs
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-31 12:09:31 -04:00
Leseb
21c2555049
Merge pull request #822 from gcharot/patch-2
...
Specify OSD journal size unit
2016-05-31 15:05:17 +02:00
Leseb
38cf808c48
Merge pull request #821 from gcharot/patch-1
...
Ambiguous "version is only supported on RHEL 7.1"
2016-05-31 15:03:52 +02:00
Grégory Charot
e72cc505eb
Specify OSD journal size unit
...
Specify unit to use for the journal_size parameter.
2016-05-31 14:45:42 +02:00
Grégory Charot
bf05382f85
Ambiguous "version is only supported on RHEL 7.1"
...
Change from "only supported on RHEL 7.1" to "only supported on RHEL >= 7.1" for RHS
2016-05-31 14:32:04 +02:00
Leseb
06b855d071
Merge pull request #816 from pamelia/master
...
allow dash in cluster name
2016-05-29 15:56:04 +02:00
Marcus Pamelia
d694c59278
allow dash in cluster name
2016-05-29 09:20:46 +02:00
Huamin Chen
a124078612
in containerized deployment, use the right interface name variable in mon; remove one line inline files
...
cleanup on docker osd tasks
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-25 18:17:37 +00:00
Leseb
d373c75eb6
Merge pull request #810 from ceph/rhbz-1339096
...
Include rh_storage repo/installs when specified
2016-05-25 15:07:59 +02:00
Alfredo Deza
312f72dc5b
ceph-common: include the new install_rh_storage_on_redhat playbook when ceph_stable_rh_storage is on:
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-25 08:45:22 -04:00
Alfredo Deza
aced6751f7
ceph-common: create a new install task for rh storage on redhat
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339096
2016-05-25 08:45:16 -04:00
Leseb
84dad9a775
Merge pull request #809 from ceph/rhbz-1339068
...
ceph-common: specify file path for repo key
2016-05-24 15:47:01 +02:00
Alfredo Deza
130d425d26
ceph-common: specify file path for repo key
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339068
2016-05-24 08:28:34 -04:00
Leseb
cac87416b8
Merge pull request #808 from jimcurtis/master
...
docker: Prefix OpenStack VM names to prevent collision
2016-05-24 10:39:30 +02:00
Leseb
866fcb7794
Merge pull request #789 from ceph/default-ceph-path
...
ceph-common: fix ceph options default path again
2016-05-24 10:32:15 +02:00