Ivan Font
a61b8ec071
Fail when we cannot retrieve docker image
...
If the docker image cannot be retrieved we will fail this task silently
and the playbook ultimately succeeds without a successful deployment.
This change makes it so we fail the playbook immediately.
Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-06-23 17:24:01 -07:00
Alfredo Deza
4e5eedd434
ceph-common: use rh_storage_version variable to enable the correct repos
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1346812
2016-06-17 11:46:42 -04:00
Alfredo Deza
c4c007b9b0
ceph-common: do not enable optional repos for rhel7
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1346812
2016-06-16 14:54:49 -04:00
Alfredo Deza
d23f8fc3db
ceph-common: default to 1.3 for rh_storage_version
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1346812
2016-06-16 14:54:49 -04:00
Sébastien Han
753f715c27
ceph-common: declare mon_containerized_deployment
...
If not declared, the play will fail.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-06-13 12:33:36 +02:00
Leseb
d9d1d7856e
Merge pull request #812 from rootfs/fix
...
some fixes for container deployment
2016-06-09 15:33:32 +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
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
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
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
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
Tino Schmeier
5819736bb6
- prepare for python3
2016-06-03 14:23:21 +02: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
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
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
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
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
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
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
Alfredo Deza
570c01a04d
ceph-common: there is no Installer repo, it is now the Tools repo
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-23 09:13:30 -04:00
Sébastien Han
82aec38a71
ceph-rgw: implement num_threads for civetweb
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-20 14:31:49 +02:00
Leseb
cc894d4044
Merge pull request #800 from ceph/BZ-1337320
...
ceph-common: on rh storage on debian add the repositories and keys (ISO)
2016-05-20 14:18:07 +02:00
Leseb
5984888a2f
Merge pull request #797 from ceph/rgw-debian-rhcs
...
install ceph-mds and radosgw on debian systems when using red hat ceph storage
2016-05-20 14:07:02 +02:00
Alfredo Deza
ed22cfa213
ceph-common: redhat repo template: remove the Calamari reference, no longer a distinct repo
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-19 16:17:02 -04:00
Alfredo Deza
c78313d19f
ceph-common: on rh storage on debian do not add the rh key by default
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-19 15:16:18 -04:00
Alfredo Deza
329ac01d49
ceph-common: on rh storage on debian add the repositories and keys
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-19 14:20:47 -04:00
Leseb
7f85b0d5ff
Merge pull request #796 from ceph/fix-rgw-frontends
...
fix the radosgw_civetweb_bind_ip default value
2016-05-19 16:14:32 +01:00
Andrew Schoen
eb92cb57e4
install ceph-mds on debian systems when using red hat ceph storage
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-19 09:56:06 -05:00
Andrew Schoen
7157afc7ce
install radosgw on debian systems when using red hat ceph storage
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-19 09:52:18 -05:00
Andrew Schoen
a6a946d86b
fix the radosgw_civetweb_bind_ip default value
...
We want just the address for ansible_default_ipv4, not the entire
dictionary in ceph.conf.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-18 15:53:47 -05:00