Ali Maredia
db19984010
test: check if default bucket object quota is applied
...
Resolves: rhbz#1391500
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2017-05-16 17:12:27 -04:00
Sébastien Han
ece9c14a33
ansible: add a note in ansible.cfg
...
Comments inside this file must be set BEFORE the option. NOT after the
option, otherwise the comment will be interpreted as a value to that
option.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-16 14:42:39 +02:00
Sébastien Han
9f2c21972d
ansible: fix control path line
...
If the comment is put after the line then it is interpreted so we need
to move it before and have a dedicated line.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-16 14:39:03 +02:00
Pascal Watteel
e4ef8bb87f
added support for Sandisk FusionIO devices
...
Signed-off-by: Pascal Watteel <pascal.watteel@emc.com>
2017-05-16 12:00:21 +02:00
Andrew Schoen
6892670d31
Merge pull request #1522 from ceph/rhcs-jewel
...
tests: rhcs should set ceph_stable_release to jewel
2017-05-15 15:44:07 -05:00
Andrew Schoen
d0dd321294
Merge pull request #1516 from ceph/docker-registry
...
generate_group_vars_sample: merge role variables
2017-05-15 13:33:03 -05:00
Andrew Schoen
8756c553cc
tests: rhcs should set ceph_stable_release to jewel
...
rhcs is based off of jewel, so we need to set this var in the tests so
that the ceph-mgr role is skipped.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-15 09:54:01 -05:00
Sébastien Han
6a7be55b11
Merge pull request #1512 from ceph/ansible-ssh-control-path
...
ansible: shorten default control_path
2017-05-15 16:24:10 +02:00
Sébastien Han
a80f07704c
group_vars: resync all.yml.sample with ceph-docker-common
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-15 15:53:50 +02:00
Sébastien Han
a8c75c3bc9
generate_group_vars_sample: ability to merge roles
...
Problem: the meta declaration just includes the role, it does nothing
with the group_vars. For ansible to use files defined in group_vars/ the
name of the file must match a host group. Like mons, osds, etc. There is
no group docker-common so the variables defined there are never used, as
proved by https://bugzilla.redhat.com/show_bug.cgi?id=1447179 and the
ansible documentation.
Solution: bring the ability to merge roles files. So now by default,
ceph-docker-common and ceph-common will go into all.yml.sample
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1447179
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-15 15:53:47 +02:00
Sébastien Han
53be0980be
generate_group_vars_sample: do not use expr
...
As mentionned in https://github.com/koalaman/shellcheck/wiki/SC2003
expr is antiquated.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-15 15:52:58 +02:00
Sébastien Han
7fddcad8ea
generate_group_vars_sample.sh: fix script indent
...
Using indent of 2 on the entire script.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-15 15:52:58 +02:00
Sébastien Han
2106745343
rgw: resync group_vars
...
At some point, during a commit changing `roles/ceph-rgw/defaults/main.yml`
we forgot to run `generate_group_vars_sample.sh`.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-15 15:52:57 +02:00
Sébastien Han
213d8acedf
Merge pull request #1518 from ceph/pgs-error-message
...
ceph-common: improve error message on restart osd daemon script
2017-05-15 13:58:35 +02:00
Andrew Schoen
a87b2a2636
Merge pull request #1515 from ceph/mgr-key
...
mon: do not create mgr key on jewel
2017-05-12 12:02:53 -05:00
Alfredo Deza
b04d18988e
ceph-common: improve error message on restart osd daemon script
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-05-12 11:37:38 -04:00
Sébastien Han
f1651cea9b
mon: do not create mgr key on jewel
...
The CI on Docker is reporting the following error:
STDERR:
Error EINVAL: bad entity name
This is due to the fact that this auth entity name does not exist on
Jewel so we should not create that key when running Jewel containers.
Fixes: https://github.com/ceph/ceph-ansible/issues/1514
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-12 17:22:24 +02:00
Sébastien Han
0a51552f55
Merge pull request #1507 from ceph/rpm-strip-coreos
...
rpm: do not package coreos-related files
2017-05-11 22:54:01 +02:00
Sébastien Han
9422ab4039
Merge pull request #1511 from ceph/rm-ansible-install
...
ceph-aio-no-vagrant.sh: check if ansible is installed
2017-05-11 22:50:27 +02:00
David Galloway
196fa7ef39
docker: Retry osd disk prep to workaround race condition
...
Fixes: https://github.com/ceph/ceph-ansible/issues/1495
Signed-off-by: David Galloway <dgallowa@redhat.com>
2017-05-11 16:19:11 -04:00
Andrew Schoen
bd3ae1daa9
Merge pull request #1510 from ktdreyer/ansible-2.2.3
...
tox: bump ansible version to 2.2.3
2017-05-11 06:13:20 -05:00
Florian Klink
10b91661ce
monitor_interface: document need to use monitor_address when using IPv6
...
Already documented in the Red Hat Ceph Storage 2 Installation Guide
for Red Hat Enterprise Linux, but not here
Signed-off-by: Florian Klink <flokli@flokli.de>
2017-05-11 11:17:10 +02:00
Sébastien Han
0e931d2bce
ansible: shorten default control_path
...
Default ansible control_path option is too long, so we shorten it by
changing the ansible.cfg file.
For more info see: https://github.com/ansible/ansible/issues/11536
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1447569
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-11 08:59:52 +02:00
Andrew Schoen
d8c9e133d4
Merge pull request #1508 from ceph/wip-rgw-conf-var-move
...
rgw: move default bucket quota conf vars to global
2017-05-10 15:23:01 -05:00
Sébastien Han
a22ae5a467
ceph-aio-no-vagrant.sh: check if ansible is installed
...
Since we don't provide install-ansible.sh anymore we just check if it
exists. If not we fail and ask for installation.
Signed-off-by: Sébastien Han <seb@redhat.com>
2017-05-10 20:00:13 +02:00
Ken Dreyer
e2300d5b1d
tox: bump ansible version to 2.2.3
...
The Ansible team has released v2.2.3, which fixes two CVEs:
CVE-2017-7481
CVE-2017-7466
https://www.ansible.com/security
2017-05-10 11:38:51 -06:00
Ken Dreyer
94be99d158
rpm: do not package coreos-related files
...
These are unnecessary on RPM-based platforms, and it makes it harder to
audit the RPM-packaged files for security when we ship things that are
unneeded.
2017-05-10 11:08:33 -06:00
Ali Maredia
2aeb3a4957
rgw: move default bucket quota conf vars to global
...
"rgw override bucket index max shards" and
"rgw bucket default quota max objects" were in the
client section of the ceph.conf and not being
applied, this commit moves them to global
Resolves: bz#1391500
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2017-05-10 13:06:48 -04:00
Andrew Schoen
18ede1694d
Merge pull request #1505 from ceph/remove-install-ansible-script
...
remove the install-ansible.sh script
2017-05-10 11:20:52 -05:00
Andrew Schoen
1dc0fab21c
remove the install-ansible.sh script
...
I'm unsure why this is needed, users should be able to install ansible
on their own in the method they prefer.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-10 11:16:47 -05:00
Sébastien Han
31267ab48a
Merge pull request #1460 from albertomurillo/clearlinux
...
Add clearlinux to supported platforms
2017-05-09 18:15:55 -04:00
Andrew Schoen
f228943eb9
Merge pull request #1504 from ceph/docker-osd-typo
...
ceph-osd: fix typo in containerized OSD systemd unit
2017-05-08 19:18:53 -05:00
Andrew Schoen
b38b69b603
ceph-osd: fix typo in containerized OSD systemd unit
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-08 15:30:45 -05:00
Andrew Schoen
2a4b3c190f
Merge pull request #1502 from ceph/update-test-stable-release
...
tests: update default of CEPH_STABLE_RELEASE to kraken
2017-05-05 19:27:37 -05:00
Andrew Schoen
52d9fbd3d0
tests: update default of CEPH_STABLE_RELEASE to kraken
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-05 15:51:54 -05:00
Andrew Schoen
0b9c6cdc9c
Merge pull request #1484 from ceph/wip-rgw-testing
...
rgw: test functionality of conf vars and pool creation for tuning
2017-05-05 10:56:00 -05:00
Andrew Schoen
3fad6b7b7c
Merge pull request #1501 from ceph/try-jewel-xenial-container
...
tests: use the xenial container for jewel instead of centos7
2017-05-05 10:36:47 -05:00
Andrew Schoen
cf037b5473
tests: use the xenial container for jewel instead of centos7
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-05 09:18:11 -05:00
Ali Maredia
734a07f0b9
rgw: test functionality of conf vars and pool creation for tuning
...
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2017-05-05 10:03:53 -04:00
yanyx
027f9aaf09
ignore error when key is not exist
2017-05-05 16:44:58 +08:00
Andrew Schoen
b7b63fe52b
Merge pull request #1499 from ceph/fix_1494
...
Common: Do not install ceph-mgr packages on jewel
2017-05-04 17:49:53 -05:00
Andrew Schoen
ba5c40d45d
tests: all tests must use the node fixture
...
Otherwise the logic we have for skipping tests does not work.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-04 16:37:28 -05:00
Andrew Schoen
949310c19e
tests: do not test mgr nodes on jewel
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-04 15:35:04 -05:00
Guillaume Abrioux
48bd807508
Common: Do not install ceph-mgr packages on jewel
...
ceph-mgr tasks has to be skipped on jewel.
Fix : #1494
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2017-05-04 18:38:59 +02:00
Andrew Schoen
5b24de6529
Merge pull request #1492 from ceph/add-luminous
...
ceph-common: add luminous to ceph_release_num
2017-05-03 13:58:06 -05:00
Sébastien Han
ba1c134b56
Merge pull request #1468 from ceph/logging
...
ansible: add logging path
2017-05-03 11:52:37 -04:00
Andrew Schoen
471cdb0c39
ceph-common: add luminous to ceph_release_num
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-03 09:11:52 -05:00
Andrew Schoen
4f4940dd9b
Merge pull request #1482 from ceph/remove-debian-ceph-packages
...
ceph-common: remove debian_ceph_packages
2017-05-03 08:55:23 -05:00
Andrew Schoen
0af9fee45e
Merge pull request #1490 from ceph/insecure-registry
...
tests: allow for insecure docker registries when testing rhcs
2017-05-02 20:16:49 -05:00
Andrew Schoen
2fada9bd6b
tests: allow for insecure docker registries when testing rhcs
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-05-02 16:21:48 -05:00