Simon Weald
5973f67b7b
fixed breakage on Debian under ansible v2.0 caused by #74d73d1e65b6720c0372c61aea7a627e4e571a3b
2016-10-19 12:36:49 +01:00
Adam Huffman
9de16e4d94
Ensure extras repo enabled for CentOS across different roles
...
Signed-off-by: Adam Huffman <bloch@verdurin.com>
2016-10-17 21:44:30 +01:00
Sébastien Han
9753e29bae
osd: clarify osd scenarios
...
Co-Authored-By: Rachana Patel <racpatel@redhat.com>
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-06 12:01:29 +02:00
Leseb
bceb892a8e
Merge pull request #1006 from ceph/fix-autodiscovery
...
osd: fix autodiscovery disk
2016-10-06 11:34:43 +02:00
Sébastien Han
860303c265
osd: fix autodiscovery disk
...
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Christoph Dwertmann
2016-10-06 11:12:23 +02:00
Musee Ullah
564a8486b0
Remove dupes in raw_journal_devices in a consistent manner
2016-10-05 14:36:41 -07:00
Leseb
45898739bb
Merge pull request #994 from ceph/bz-1203603
...
fix non skipped task for ansible v1.9.x
2016-10-04 11:41:14 +02:00
Sébastien Han
f162db1202
fix non skipped task for ansible v1.9.x
...
please refer to
https://bugzilla.redhat.com/show_bug.cgi?id=1376283
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-10-03 16:48:04 +02:00
James Saint-Rossy
982c44d41c
Rebased with upstream master
2016-09-25 23:22:16 -04:00
Sébastien Han
381af6c18d
ceph-osd: get full link path when testing if a partition
...
This allows us to test devices set with persistent naming such as
/dev/disk/by-*
When registering devices we can use persisent (/dev/disk/by-*) or
non-persistent (/dev/sd*). Both declarations are supported by
ceph-ansible. There was just two tasks that were not compatible with
this. Since we support using partitions directly we need to test that
because the device activation will be different. To test if the device
is a partition we use a regular expression which wasn't compatible with
the persistent device naming format (/dev/disk/by-*).
This commit solves this issue by reading the path of the symlink since
devices like /dev/disk/by-* are symlinks to devices like /dev/sd*
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-09-20 10:15:06 +02:00
James Saint-Rossy
d4a60a9394
Added ceph_release generation and fixed missing whitespace in ceph_release checks
2016-09-09 18:16:41 -04:00
James Saint-Rossy
666637f715
Replaced is_before is_after is_ booleans with numerical version dictionary
2016-09-09 17:34:26 -04:00
Sébastien Han
708c43a04e
docker: fix osd configuration
...
use the activation scenario instead of the full ceph_disk one, we
already have a task to prepare osds so we just need to activate the
device.
working for me using vagrant :)
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-24 09:05:14 +02:00
Sébastien Han
f351329897
docker: use cluster name
...
Fix cluster name for docker scenario and other playbooks.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-24 09:04:49 +02:00
James Saint-Rossy
32f6ef7747
Merged with Upstream Master
2016-08-17 12:00:36 -04:00
James Saint-Rossy
35a26068ef
Fixed quotes and removed combined_ prefix from variables that no longer need it
2016-08-16 17:49:30 -04:00
Daniel Gryniewicz
2fd9bbbe09
NFS for FSAL_RGW
...
Add support for FSAL_RGW to the NFS gateway. Both standard and
containerized versions are supported.
2016-08-12 11:49:16 -04:00
Sébastien Han
673f54a100
osd: fix collocation spelling and declare dmcrypt variables
...
* changed s/colocation/collocation/
* declare dmcrypt variable in ceph-common so the variables check does
not fail
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-10 10:34:23 +02:00
James Saint-Rossy
5f61ff7867
ceph_devices.yml cleanup and optimization
2016-08-09 18:57:41 -04:00
Ivan Font
8c67689d08
Add option to enable ntp
...
This fixes #845 for containerized deployments. We now also mount the
/etc/localtime volume in the containers in order to synchronize the host
timezone with the container timezone.
Signed-off-by: Ivan Font <ivan.font@redhat.com>
2016-08-08 10:16:48 -07:00
Leseb
f72d748bce
Merge pull request #891 from ceph/dmcrypt
...
ceph-osd: add dmcrypt scenario
2016-08-08 16:27:34 +02:00
Sébastien Han
788b75efec
ceph-osd: re-arrange osd scenario numbers
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-08-08 15:55:12 +02:00
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
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
Sébastien Han
5978d55d22
ceph-osd: add dmcrypt scenario
...
add the ability to encrypt osd data store using dm-crypt
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-19 18:02:11 +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
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
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
Leseb
f6daa79916
Merge pull request #873 from erikh/fixups
...
Container fixups
2016-07-12 13:37:20 +02:00
Christoph Dwertmann
8cfaa05743
Use correct object names when zapping GPT header
2016-07-12 21:11:38 +10:00
Erik Hollensbe
6b218a36d9
ceph-osd: fix an item propagation error while partitioning disks
...
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2016-07-12 03:57:11 -07:00
Austin Brown
efeb63c577
ceph-osd: Use the use_systemd fact when start directory-scenario OSDs
2016-07-12 11:00:49 +09:00
KGoreczny
13e0b60cbe
Fix for Ansible 2.1: install docker-py in version matched to ansible docker module
...
Signed-off-by: KGoreczny <krzysztof.goreczny@intel.com>
2016-07-11 11:35:32 +02:00
Sébastien Han
a83e5d6b10
remove withspaces
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-07-07 16:17:49 +02:00
Daniel Gryniewicz
21166168e3
Add DNF for RedHat
...
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-06-23 10:24:14 -04:00
Leseb
d9d1d7856e
Merge pull request #812 from rootfs/fix
...
some fixes for container deployment
2016-06-09 15:33:32 +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
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
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