Commit Graph

1366 Commits (e5eeea35565e8f76c7fb3aa0d273f95db7a6c1bf)
 

Author SHA1 Message Date
Leseb e5eeea3556 Merge pull request #861 from font/test_issues
Fail when we cannot retrieve docker image
2016-06-24 11:23:38 +02:00
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
Leseb 08af355161 Merge pull request #857 from dang/url
Add URL option to vagrant
2016-06-22 18:22:08 +02:00
Daniel Gryniewicz 4a2a6513b6 Add URL option to vagrant
Vagrant has the ability to download images from an arbitraty URL.  Add
this support to the Vagrantfile and vagrant_varables.yml

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-06-22 12:02:23 -04:00
Leseb b9db42f33e Merge pull request #855 from jimcurtis/master
docker: fix missing quotes
2016-06-21 19:54:39 +02:00
Jim Curtis baed49e1c7 docker: fix missing quotes 2016-06-21 09:29:02 -07:00
Leseb 443a11427c Merge pull request #853 from ceph/rhbz-1348130
ceph-agent: install the correct package for the agent in Ubuntu
2016-06-20 15:10:25 +02:00
Alfredo Deza ac99802409 ceph-agent: install the correct package for the agent in Ubuntu
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: rhbz#1348130
2016-06-20 07:49:40 -04:00
Leseb d679eacd46 Merge pull request #852 from rootfs/doc-fix
be explicit on Atomic VirtualBox instruction
2016-06-20 11:00:52 +02:00
Leseb caee8662b4 Merge pull request #851 from ceph/rhbz-1346812
Enable rhcs repos according to the released version
2016-06-17 23:27:06 +02:00
Huamin Chen 18e7e72deb fix rgw containerized deployment
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-17 16:59:53 +00:00
Huamin Chen 638abfb497 fix mds containerized deployment
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-17 16:52:52 +00:00
Huamin Chen ad72008ca1 be explicit on Atomic VirtualBox instruction
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-06-17 16:09:12 +00: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
Alfredo Deza f05a7c5ff6 group_vars: define the rh_storage_version
Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: rhbz#1346812
2016-06-16 14:54:44 -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 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