Leseb
878dc4730f
Merge pull request #846 from dang/docker-configs
...
Put path back to playbook_dir for common template
2016-06-09 17:09:37 +02:00
Daniel Gryniewicz
887baf0cce
Put path back to playbook_dir for common template
...
The config template is in ceph-common, not in the individual roles, so
roles referencing it need to use playbook_dir, not role_path.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-06-09 10:59:17 -04:00
Sébastien Han
4219221bf4
ceph-mon: fix wrong indent
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-06-09 15:35:57 +02:00
Leseb
d9d1d7856e
Merge pull request #812 from rootfs/fix
...
some fixes for container deployment
2016-06-09 15:33:32 +02:00
Leseb
157d32560a
Merge pull request #844 from matthewrees/master
...
Various fixes for check_firewall task
2016-06-07 17:26:37 +02:00
Matthew Rees
38355f5fa7
Fix typo for ceph monitor port
2016-06-07 16:50:43 +02:00
Matthew Rees
05f5771726
Clean up checks and with_item loops that are no longer needed due to
...
other fixes in this PR
2016-06-07 16:27:07 +02:00
Leseb
202d372dba
Merge pull request #840 from jimcurtis/master
...
docker: enable mds container on Atomic host environment
2016-06-07 13:56:37 +02:00
Matthew Rees
f274e142e7
Fix for nmap arguments and grep matching, as well as only running
...
local_actions once
2016-06-07 13:48:07 +02:00
Jim Curtis
fa82827636
docker: review feedback on PR #840
2016-06-06 16:49:35 -07:00
Huamin Chen
8320085a66
ceph.conf.j2: check if interface is defined before using it
...
ceph-mon.service.j2: remove redundant --name option from docker command
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-06 17:34:51 +00:00
Matthew Rees
211ba4a3de
Fix to reference the monitor_address variable correctly in hostvars
2016-06-06 16:29:59 +02:00
Matthew Rees
9d8ffa5bda
Add fix for those who are using monitor_address
2016-06-06 15:57:51 +02:00
Matthew Rees
7ef1564185
Update sample vars for change in default value of check_firewall
2016-06-06 15:12:03 +02:00
Matthew Rees
ca3cb32862
Change default to False for checking firewalls
2016-06-06 15:10:15 +02:00
Matthew Rees
9aa8a4b024
Only include the firewall checks when a user wants them checked
2016-06-06 15:10:14 +02:00
Matthew Rees
de855fe18a
Use the command module in place of the shell module
2016-06-06 15:10:14 +02:00
Matthew Rees
9bb8c85baf
Various fixes for check_firewall task:
...
- Check for nmap being available was not running as a local_action, when the checks using nmap were
- Various fixes on Ansible 2.x now that the above is working
2016-06-06 15:10:14 +02:00
Leseb
98b4153e62
Merge pull request #839 from dcwangmit01/centos_remove_plugin_priorities
...
Remove Centos7 dependency yum-plugin-priorities
2016-06-06 13:41:15 +02:00
Leseb
58f9a6cfe0
Merge pull request #804 from dang/docker-dev
...
Allow running on local dev docker images
2016-06-06 11:12:43 +02:00
Jim Curtis
e047b0a8ed
docker: review feedback on PR #840
2016-06-04 10:56:01 -07:00
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