Commit Graph

1454 Commits (08e54d7722c38d5f214e502f71c781e990c4bfd2)
 

Author SHA1 Message Date
Ivan Font 08e54d7722 Fix to check if cluster is running
Update each role's task to use the respective role's username, image
name, and image tag to check if a container is already running. This was
causing false failures because we were not matching any running
containers and subsequently running checks.yml to check the status of
cluster files being left behind.

Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-07-28 18:10:49 -07:00
Leseb c34179e492 Merge pull request #911 from font/purge
Updates to containerized purge cluster playbook
2016-07-28 17:29:01 +02:00
Ivan Font 3d2487d2a1 Updates to containerized purge cluster playbook
- Reorder package removal steps
- Remove package dependencies after package is removed

Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-07-28 07:55:37 -07:00
Leseb 87c7ad97a5 Merge pull request #908 from jsaintrocc/purge-cluster-fix
Fix purge-cluster.yml fail by removing unnecessary ceph_stable_rh_storage_iso_install check.
2016-07-28 14:53:40 +02:00
James Saint-Rossy ba1db2313a Removed check for ceph_stable_rh_storage_iso_install when removing rh_storage.repo as it is can be undefined and cause the playbook to fail. The check is redundant since the task will only remove the repo if it is present. 2016-07-28 00:01:00 -04:00
Leseb 45915e9739 Merge pull request #906 from ktdreyer/rm-ice
remove references to Inktank Ceph Storage
2016-07-26 23:59:08 +02:00
Ken Dreyer 1b7e08ad50 remove references to Inktank Ceph Storage
ICE is beyond end-of-life, and this Inktank GPG key is considered
untrusted (https://access.redhat.com/blogs/766093/posts/2176181)

RIP ICE, we will not miss you.
2016-07-26 13:57:32 -06:00
Leseb 5a26dff9c0 Merge pull request #902 from ceph/journal-default
common: set journal size to 5GB
2016-07-26 13:53:26 +02:00
Sébastien Han b0e152d684 common: set journal size to 5GB
Journal size is not mandatory anymore, a default from 5GB is being
added. A simple warning message will show up if the size is set to
something below 5GB.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-26 13:51:32 +02:00
Leseb 80417dba2d Merge pull request #905 from chengweiv5/remove-dup-option
sgdisk: remove duplicated option `-g`
2016-07-26 11:11:20 +02:00
Sébastien Han 2ca0734c38 common: refresh config template module
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-26 10:44:12 +02:00
Leseb 77792632c5 Merge pull request #904 from cloudnull/config_template-update
Added option to support case-insensitive keys
2016-07-26 10:26:52 +02:00
Chengwei Yang 1bfab44aa9 sgdisk: remove duplicated option `-g`
Option `-g` of sgdisk is duplicated with `--mbrtogpt`, so lets remove it.

This fix #896

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-07-26 08:55:43 +08:00
Kevin Carter 2aa894167a
Added option to support case-insensitive keys
This change allows keys in INI format to be any case.
The default ConfigParse module sets this to be lower
however in some cases keys are needed to be upper and/or
mixed.

Change-Id: I4e0dedb1b73ee596929bd425af6b0aaefd3a6c27
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
(cherry picked from commit f946160dd0)
2016-07-25 16:39:23 -05:00
Leseb 46720ebf4a Merge pull request #892 from font/purge
Add ability to purge containerized Ceph cluster
2016-07-22 11:00:53 +02:00
Ivan Font 4c0f1c893e Updates to containerized purge cluster playbook
- Update plays to use *_group_name variables that can be overridden by
  user on the command line to use whatever group names desired
- Only gather_facts when necessary to greatly increase speed of playbook
- Prompt user for removing packages on non-atomic hosts only if desired
- Removed unnecessary package-removal
- Zap OSD devices twice to avoid lingering partitions

Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-07-21 22:36:42 -07:00
Ivan Font ee91c6335a Add ability to purge containerized Ceph cluster
This removes containers, container images, packages, configuration files
and all the data. Removal of container image tasks are tagged with
'remove_img' to skip removal if desired.

Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-07-21 22:36:42 -07:00
Leseb f63524f1bc Merge pull request #894 from ceph/enhanced-aio
aio: more flexible script
2016-07-20 17:55:35 +02:00
Sébastien Han 8142c461b2 aio: more flexible script
we can now chose the install source

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-20 17:53:20 +02:00
Leseb 578768cc23 Merge pull request #890 from ceph/arm7
common: prepare arm support
2016-07-19 17:54:31 +02:00
Sébastien Han afb1b16353 common: prepare arm support
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-19 17:17:16 +02:00
Leseb b0a26aeeb3 Merge pull request #888 from CSC-IT-Center-for-Science/support-check
Added support for --check flag in ceph-common
2016-07-19 15:10:21 +02:00
Kalle Happonen 3100d81831 Added support for --check flag in ceph-common
The ceph-common role fails when you run ansible with --check. Adding
always_run to a few tasks makes the check go through easier (although
it's not foolproof).
2016-07-19 15:52:45 +03:00
Leseb ce3258898f Merge pull request #879 from ceph/rbd-mirror-docker
rbd-mirror: container deployment support
2016-07-19 12:07:56 +02:00
Leseb 48599c07cc Merge pull request #848 from font/master
Add option to enable ntp
2016-07-18 18:24:54 +02:00
Sébastien Han e6097469bd rbd-mirror: container deployment support
add the ability to deploy a containerized version of the rbd mirror
daemon.

Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-18 18:13:27 +02:00
Leseb 25019b7a91 Merge pull request #887 from ceph/RHBZ-1357292
Fetch keys from the mons when taking over a cluster
2016-07-18 17:35:20 +02:00
Andrew Schoen b01756488b Fetch keys from the mons when taking over a cluster
This fixes a bug where mons added to a "taken over" cluster
will get a newly generated key and do not join the cluster.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>

Resolves: rhbz#1357292
2016-07-18 10:06:20 -05:00
Leseb 70285a1bd4 Merge pull request #882 from dang/nmap-fix
Only check ports if NMAP exists
2016-07-18 11:01:37 +02:00
Leseb 5b21bb8110 Merge pull request #886 from ceph/rhbz-1357065
ceph-common: skip default installs on redhat if ISO needs to be used
2016-07-15 19:45:52 +02:00
Alfredo Deza 9cba7735bd ceph-common: skip default installs on redhat if ISO needs to be used
Because the ISO installs would happen later in the playbook.

Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: rhbz#1357065
2016-07-15 13:09:32 -04:00
Leseb 83f59de3b4 Merge pull request #883 from dang/docker-fsid
Allow generating FSID for docker
2016-07-15 11:33:03 +02:00
Leseb 25374b3677 Merge pull request #885 from racpatel/fix-quotes
Adding missing quotes
2016-07-15 11:30:09 +02:00
Rachana Patel d495b3f494 adding missing quotes
fixes: #884
Signed-off-by: Rachana Patel <rachana83.patel@gmail.com>
2016-07-15 00:04:09 -04:00
Daniel Gryniewicz 352824cee7 Allow generating FSID for docker
The docker case wasn't able to generate an FSID, it required it to be
set.  Allow generating it.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-07-13 13:19:22 -04:00
Daniel Gryniewicz 71e7aa348e Only check ports if NMAP exists
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-07-13 13:17:49 -04:00
Leseb 3e32eebdc1 Merge pull request #865 from PiotrProkop/containerized-osd-with-kv-fix
Fixing containerized deployment with kv
2016-07-13 10:39:49 +02:00
pprokop a11eb03aae Fixing typos 2016-07-13 10:25:05 +02:00
pprokop 69cce9c135 Removing --rm flag from prepare osd 2016-07-13 10:22:17 +02:00
pprokop 41386c7bde Adding missing tag 2016-07-13 10:22:17 +02:00
pprokop 09d104f297 Fixing typos 2016-07-13 10:22:17 +02:00
pprokop 26688d10dc Removing creating symbolic links and fixing systemctl enable not working on CoreOS and migrating form docker module to shell in prepare image 2016-07-13 10:22:15 +02:00
pprokop 3950751317 Adding an option to choose an etcd port and tag of docker images 2016-07-13 10:19:50 +02:00
Leseb 87c4ebd8cd Merge pull request #878 from font/imagetag
Support for docker image tags
2016-07-13 09:58:40 +02:00
Ivan Font 6f5f6610a8 Support for docker image tags
Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-07-12 15:49:07 -07:00
Leseb d3601599c9 Merge pull request #881 from ceph/rhbz-1355762
ceph-common: explicitly create the directory portion of the iso path
2016-07-12 21:15:08 +02:00
Alfredo Deza 0656dfc5df ceph-common: explicitly create the directory portion of the iso path
This will help if the path to the iso exists in the originating server but not
in the remote paths. This issue is not seen if using /tmp/file.iso but does
show up when using nested paths.

Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: rhbz#1355762
2016-07-12 09:59:27 -04:00
Leseb ede7a2afd1 Merge pull request #874 from KGoreczny/docker_module_for_ansible_2_1_support
Fix docker deployment for Ansible 2.1
2016-07-12 15:36:07 +02:00
KGoreczny 11bed371ac remove trailing spaces
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-07-12 14:50:56 +02:00
Leseb 55216e0a4d Merge pull request #880 from cdwertmann/patch-1
Use correct object names when zapping GPT header
2016-07-12 13:41:47 +02:00