Leseb
7a9a62302a
Merge pull request #768 from mcsage/master
...
Make install-ansible.sh work with Linux Mint and enable swap by default but decrease vm.swappiness
2016-05-10 10:24:02 +02:00
Stephan Hohn
6ae24541ce
align group_vars/all.sample with roles/ceph-common/defaults/main.yml
2016-05-10 10:20:23 +02:00
Stephan Hohn
4dad21c481
Increase system stabillity by re-enabling swap and setting vm.swappiness to 10
2016-05-09 22:05:01 +02:00
Stephan Hohn
fe07fad877
Make install-ansible.sh work with Linux Mint
2016-05-09 21:14:34 +02:00
Leseb
f748f8683c
Merge pull request #749 from SamYaple/unified_when
...
Unify formatting of when conditional
2016-05-09 18:25:37 +02:00
Sam Yaple
14d31c7bcd
Add in missing is_before_infernalis statement
2016-05-09 15:26:37 +00:00
Leseb
39bda5b41f
Merge pull request #766 from ceph/retry-sgdisk
...
try to zap a device again if sgdisk fails on the first try
2016-05-09 17:05:21 +02:00
Sam Yaple
1d5406c4a3
Fixed a few missed when conditionals from rebase
2016-05-09 14:17:14 +00:00
Sam Yaple
069c93a238
Unify formatting of when conditional
...
This is purely a refactor. Converts when 'and' conditionals into lists
rather than multiline strings. This does not work for nested
conditionals, but those can be formated with indents.
Moves one line when statements onto the same line as the when command
itself.
A small logic bug was found in ceph-osd/tasks/check_devices.yml which
which was also fixed.
Signed-off-by: Sam Yaple <sam@yaple.net>
2016-05-09 14:08:33 +00:00
Alfredo Deza
2aea592b21
try to zap a device again if sgdisk fails on the first try
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-09 09:12:28 -04:00
Leseb
4cf2d98de3
Merge pull request #765 from flyd1005/wip-fix-typo
...
cleanup: fix typos and inappropriate variable names
2016-05-09 11:09:22 +02:00
Li Peng
92c48f3f2b
cleanup: fix inappropriate variable names
...
Signed-off-by: Li Peng <lip@dtdream.com>
2016-05-09 15:14:13 +08:00
Li Peng
aaeadcab12
cleanup: fix typos
...
Signed-off-by: Li Peng <lip@dtdream.com>
2016-05-09 15:12:01 +08:00
Leseb
30f7208334
Merge pull request #748 from ceph/use-jewel
...
ceph: use jewel release
2016-05-09 01:13:54 +02:00
Leseb
1b8d021ef0
Merge pull request #764 from ceph/systemd
...
Several fixes
2016-05-09 01:00:02 +02:00
Sébastien Han
c8e5e49552
ceph-mon: fix monitor startup
...
Somehow on CentOS 7.2 with Jewel, the service enablement by the Ansible service module
does not seem to work properly.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-09 00:41:44 +02:00
Sébastien Han
b3971354bf
ceph-mds: fix the handler
...
Moving the mds_name fact in the common role so the MDS can properly
be restarted.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-09 00:39:03 +02:00
Sébastien Han
7949c2d512
ceph-mds: fix MDS conditions
...
We don't need to set is_systemd when we are applying a configuration for
a sysvinit init.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-09 00:34:44 +02:00
Leseb
db1fbab1cb
Merge pull request #763 from ceph/install-mds
...
ceph-common: install ceph-mds package
2016-05-07 02:52:45 +02:00
Sébastien Han
c4f3ab5649
ceph-common: install ceph-mds package
...
We kinda ommitted this package, now Jewel is out and the metadata server
is considered as stable.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-07 02:37:09 +02:00
Leseb
4e9b07c3c8
Merge pull request #762 from ceph/install-script
...
install: remove epel
2016-05-07 02:16:32 +02:00
Sébastien Han
66d914fb15
install: remove epel
...
We just add epel to conviently install Ansible. However we don't keep it
as it could disrupt ceph's installation and dependancies.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-07 02:14:46 +02:00
Leseb
54a4216933
Merge pull request #761 from dang/docker-fixes
...
Docker fixes for MDS
2016-05-07 01:03:35 +02:00
Leseb
3c4f62ba66
Merge pull request #758 from ceph/ubuntu_use_systemd
...
Adds an use_systemd fact
2016-05-07 01:02:49 +02:00
Andrew Schoen
5139ed0592
strip any newlines from the init_system fact
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-06 14:47:45 -05:00
Andrew Schoen
8a09b9c6ab
add a mdss group to the CLI testing inventory
...
The ceph-mds role is being tested, but there was not group for it in the
inventory so ceph-mds was not being installed on the testing machine.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-06 14:47:45 -05:00
Andrew Schoen
8baf8830d6
Use the use_systemd fact when starting rbd
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-06 14:47:45 -05:00
Andrew Schoen
cb70d49751
Use the use_systemd fact when starting mdss
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-06 14:47:45 -05:00
Daniel Gryniewicz
a7fb22cb44
Docker fixes for MDS
...
Fixes to make the ceph-mds role work with Docker
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-05-06 09:59:51 -04:00
Andrew Schoen
7436479c40
Use the use_systemd fact when starting rgw
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-05 14:31:12 -05:00
Andrew Schoen
5669b6ba7c
use the use_systemd fact when starting OSDs
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-05 13:59:36 -05:00
Andrew Schoen
20d2d52ebd
use the use_systemd fact when starting monitors
...
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-05 13:56:32 -05:00
Andrew Schoen
9eed0ea4e7
Adds an use_systemd fact
...
This adds a helper fact that uses the ``init_system`` fact to determine if
we should be using systemd or not when controlling services.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-05 11:53:08 -05:00
Leseb
7dd6e02b5d
Merge pull request #756 from ceph/fix-ansible-install
...
install-ansible: refactor install on Red Hat
2016-05-04 17:34:34 +02:00
Sébastien Han
c65a9f9dc4
install-ansible: refactor install on Red Hat
...
Merge both lsb_release and /etc/redhat-release cases.
Also testing if epel is already installed or not.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-04 17:33:07 +02:00
Leseb
27bbcd2161
Merge pull request #750 from ceph/osd-id-fix
...
Get the correct OSD ID when the cluster name includes numbers
2016-05-04 16:40:46 +02:00
Leseb
480cb68892
Merge pull request #755 from mattt416/fix_issue_741
...
Set init_system fact and reference in ceph-osd role
2016-05-04 16:39:41 +02:00
Matt Thompson
ed2b7757d4
Set init_system fact and reference in ceph-osd role
...
The ceph-osd role currently uses ansible_service_mgr, which is a fact
only available on ansible 2.x and greater. This commit sets a similar
fact called init_system which will store the contents of /proc/1/comm
(systemd, init, etc.) and then references it ceph-osd instead.
Closes #741
2016-05-04 12:05:31 +01:00
Leseb
108e260ff8
Merge pull request #747 from smatzek/add_ubuntu_cloud_archive
...
Add support for install from Ubuntu Cloud Archive
2016-05-04 11:50:25 +02:00
Leseb
3c40b47f5a
Merge pull request #752 from ivotron/issue-751
...
Mounts /run when executing osd container
2016-05-04 11:44:21 +02:00
Leseb
9b4df933dd
Merge pull request #753 from ceph/take-over-2
...
take-over: remove the connection local
2016-05-04 10:38:43 +02:00
Sébastien Han
45fada4958
take-over: remove the connection local
...
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-04 10:37:59 +02:00
Ivo Jimenez
216ab2d776
Mounts /run when executing osd container
2016-05-03 15:47:01 -07:00
Leseb
896097e6aa
Merge pull request #728 from ivotron/issue727
...
docker: use ceph_docker_osd_devices variable for purging docker cluster
2016-05-03 22:16:18 +02:00
Andrew Schoen
4a181d420d
Get the correct OSD ID when the cluster name includes numbers
...
If the ceph cluster name includes numbers, the grep used to find the OSD
IDs from /var/lib/ceph/osd/ would also return the numbers that were in
the cluster name.
For example, if the cluster was named 'mine123' and there was only one
OSD on the node, then the task that finds the OSD IDs would return
'123' and '0'.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2016-05-03 14:47:47 -05:00
Ivo Jimenez
957e385f04
docker: uses ceph_osd_docker_devices variable in purge
...
Also checks for the existence of gdisk
2016-05-03 10:44:13 -07:00
Samuel Matzek
ae239aaf09
Add support for install from Ubuntu Cloud Archive
...
This adds support to allow the install of Ceph from the
Ubuntu Cloud Archive. The Ubuntu Cloud Archive provides newer
release of Ceph than the normal Ubuntu distro repository.
Signed-off-by: Samuel Matzek <smatzek@us.ibm.com>
2016-05-03 10:51:39 -05:00
Sébastien Han
94ce2be758
ceph: use jewel release
...
Also fix the repo url.
Signed-off-by: Sébastien Han <seb@redhat.com>
2016-05-03 14:02:44 +02:00
Leseb
28bf3aab44
Merge pull request #746 from dang/docker-fixes
...
Docker fixes and cleanups
2016-05-02 18:53:06 +02:00
Daniel Gryniewicz
256775cb0f
Docker fixes and cleanups
...
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2016-05-02 10:56:52 -04:00