]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
Jan Provaznik [Wed, 4 Oct 2017 11:09:43 +0000 (13:09 +0200)]
Allow to override systemd service instance id
It's useful to have constant service instance id when ceph-nfs
is managed by pacemaker.
Sébastien Han [Tue, 3 Oct 2017 20:55:22 +0000 (22:55 +0200)]
Merge pull request #1977 from ktdreyer/doc-master-ansible-version
docs: master requires ansible 2.3.1
Sébastien Han [Tue, 3 Oct 2017 19:36:27 +0000 (21:36 +0200)]
Merge pull request #1978 from ktdreyer/doc-installing-ansible
[skip ci] docs: add instructions for installing Ansible
Sébastien Han [Tue, 3 Oct 2017 17:57:31 +0000 (19:57 +0200)]
Merge pull request #1974 from ceph/mgr-upgrade-luminous
upgrade: a support for mgrs
Ken Dreyer [Tue, 3 Oct 2017 17:38:58 +0000 (11:38 -0600)]
docs: add instructions for installing Ansible
Add RPM and DEB instructions for installing Ansible.
Ken Dreyer [Tue, 3 Oct 2017 17:26:43 +0000 (11:26 -0600)]
docs: master requires ansible 2.3.1
We require Ansible 2.3.1 or greater to run ceph-ansible's master branch.
Sébastien Han [Tue, 3 Oct 2017 16:52:24 +0000 (18:52 +0200)]
Merge pull request #1956 from ceph/osd-container-id
Osd container
Sébastien Han [Tue, 3 Oct 2017 16:45:10 +0000 (18:45 +0200)]
Merge pull request #1975 from ceph/nfs-site
site: always play ceph-defaults and ceph-docker-common
Sébastien Han [Tue, 3 Oct 2017 10:25:12 +0000 (12:25 +0200)]
upgrade: a support for mgrs
Also we now play ceph-config to have everything being generated for new
daemons bootstrap during upgrade.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1497959
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 3 Oct 2017 14:48:17 +0000 (16:48 +0200)]
iscsi: fix when condition
generate_crt|bool|default(false) won't apply the default value, this
generate_crt|default(false)|bool will
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 3 Oct 2017 13:19:07 +0000 (15:19 +0200)]
site: always play ceph-defaults and ceph-docker-common
So we can later evaluate the conditions.
Also fix the variable, we are comparing ceph_release not
ceph_stable_release
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1486062
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 27 Sep 2017 22:17:12 +0000 (00:17 +0200)]
osd: container use id instead of dev name
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1494127
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 2 Oct 2017 20:46:28 +0000 (22:46 +0200)]
test: add handler support
Add idempotency and handler test.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 2 Oct 2017 09:05:14 +0000 (11:05 +0200)]
osd: do not copy admin key on collocated scenario
ceph-disk used to have a bug requiring the admin key to store the
encrypted key in the mon kv store. This was reported in:
http://tracker.ceph.com/issues/17849
Fixed and backported here: https://github.com/ceph/ceph/pull/11996
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 29 Sep 2017 11:32:19 +0000 (13:32 +0200)]
test: add test for device with 'by-path'
We now test devices to be passed like:
/dev/disk/by-path/pci-0000:00:01.1-ata-1.0
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 3 Oct 2017 09:58:35 +0000 (11:58 +0200)]
Merge pull request #1973 from ceph/refact_ceph-defaults
defaults: change running order in main.yml
Guillaume Abrioux [Mon, 2 Oct 2017 13:49:05 +0000 (15:49 +0200)]
defaults: change running order in main.yml
The task which sets `ceph_current_fsid` in `facts.yml` in case of containerized
deployment, will definitely fail because `docker_exec_cmd` is not set
yet.
This commits simply makes `facts.yml` played after `check_socket.yml` so
`docker_exec_cmd` is set properly.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Mon, 2 Oct 2017 12:42:08 +0000 (14:42 +0200)]
Merge pull request #1968 from ceph/bz-
1488999
refact MDS role
Sébastien Han [Mon, 2 Oct 2017 10:10:26 +0000 (12:10 +0200)]
Merge pull request #1964 from vatelzh/master
purge-cluster: delete block partitions if using bluestore
Guillaume Abrioux [Wed, 27 Sep 2017 12:13:39 +0000 (14:13 +0200)]
refact MDS role
This commits refacts the role ceph-mds
The goal here is to create cephfs in `ceph-mon` for both containerized
and non-containerized cases so we don't need the admin keyring on mds
nodes anymore.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1488999
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Sat, 30 Sep 2017 12:22:30 +0000 (14:22 +0200)]
Merge pull request #1971 from ceph/expose-part
osd: add cluster name support
Sébastien Han [Fri, 29 Sep 2017 18:30:54 +0000 (20:30 +0200)]
osd: add cluster name support
I forgot to add cluster name support so some partition were never
mounted correctly.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 29 Sep 2017 14:35:10 +0000 (16:35 +0200)]
Merge pull request #1967 from ceph/use_systemd_module
Use systemd module instead of service.
Sébastien Han [Fri, 29 Sep 2017 14:34:46 +0000 (16:34 +0200)]
Merge pull request #1939 from ceph/ci-reboot
tests: implement reboot after a deployment
Guillaume Abrioux [Fri, 29 Sep 2017 12:54:00 +0000 (14:54 +0200)]
Use systemd module instead of service.
Using systemd module allows us to do in one task what we did in three
tasks:
- enable unit file,
- issue a `daemon-reload`,
- start the service
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Fri, 29 Sep 2017 10:05:43 +0000 (12:05 +0200)]
update: fix var register
Even if the task is skipped, ansible registers the var as 'skipped' so
this task the task using this variable for its next usage.
Signed-off-by: Sébastien Han <seb@redhat.com>
zhangwentao [Fri, 29 Sep 2017 06:04:17 +0000 (14:04 +0800)]
purge-cluster: delete block partitions if using bluestore
Sébastien Han [Thu, 28 Sep 2017 16:24:15 +0000 (18:24 +0200)]
site: only support nfs on luminous and above
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 28 Sep 2017 14:06:44 +0000 (16:06 +0200)]
ci: run purge cluster on centos not ubuntu
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 27 Sep 2017 00:08:40 +0000 (02:08 +0200)]
defaults: add missing handlers for rbd mirorr and mgr
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 26 Sep 2017 22:55:31 +0000 (00:55 +0200)]
defaults: only run socket checks on their specific roles
Running the socket check on all the hosts will override the default
value of docker_exec_cmd, leaving it with the last value (currently
rbd-mirror), as a result the subsequent docker_exec_cmd usage for the
:x
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 26 Sep 2017 21:16:43 +0000 (23:16 +0200)]
nfs: fix container setup and re-arrange files
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 26 Sep 2017 12:21:37 +0000 (14:21 +0200)]
tests: add tests for rgw-nfs
rgw-nfs is part of servicemap so we should use it to make sure the
process is up and running.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Tue, 26 Sep 2017 12:12:11 +0000 (14:12 +0200)]
rbd-mirror: force sercice enable ceph-rbd-mirror.target
There is a bug in the rbd mirror unit file, the upstream fix is here:
https://github.com/ceph/ceph/pull/17969.
This should be reverted once the patch is merged and backport is done.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 21 Sep 2017 21:47:36 +0000 (23:47 +0200)]
tests: implement reboot after a deployment
We don't test server reboot, a lot of things can happen after that.
So now, we deploy, reboot then we run testinfra.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 29 Sep 2017 00:37:03 +0000 (02:37 +0200)]
Merge pull request #1962 from ceph/fix_mgr_sestatus
[skip ci] mgr: add condition to run selinux tasks only on rhel os family
Guillaume Abrioux [Fri, 29 Sep 2017 00:19:09 +0000 (02:19 +0200)]
docker: add condition to run selinux tasks only on rhel os family
This fixes the error :
```
The conditional check 'sestatus.stdout != 'Disabled'' failed.
```
that occurs when running on non rhel based system since the
`sestatus` fact is registered only on rhel based distribution.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Fri, 29 Sep 2017 00:32:17 +0000 (02:32 +0200)]
Merge pull request #1959 from ceph/update-check
rolling_update: clarify mon quorum command
Sébastien Han [Fri, 29 Sep 2017 00:28:48 +0000 (02:28 +0200)]
Merge pull request #1961 from ceph/site-condition-2
[skip ci] site: s/ceph_stable_release/ceph_release
Sébastien Han [Fri, 29 Sep 2017 00:18:35 +0000 (02:18 +0200)]
site: s/ceph_stable_release/ceph_release
Fix typo, ceph_release is used, not ceph_stable_release
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 28 Sep 2017 23:50:36 +0000 (01:50 +0200)]
Merge pull request #1960 from ceph/site-condition
site: fix condition
Sébastien Han [Thu, 28 Sep 2017 23:37:10 +0000 (01:37 +0200)]
site: fix condition
we don't know ceph_stable_release before executing the role so at least
we need to run ceph-defaults and ceph-docker-common or
ceph-common.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1486062
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 28 Sep 2017 22:10:57 +0000 (00:10 +0200)]
rolling_update: clarify mon quorum command
Cleaner.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 28 Sep 2017 20:43:50 +0000 (22:43 +0200)]
Merge pull request #1958 from ceph/update-luminous
Update luminous
Sébastien Han [Thu, 28 Sep 2017 13:27:27 +0000 (15:27 +0200)]
update: complete luminous upgrade
Once we complete the upgrade to Luminous, we must issue a specific
command. For more info read:
http://ceph.com/community/new-luminous-upgrade-complete/
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 28 Sep 2017 17:44:52 +0000 (19:44 +0200)]
Merge pull request #1931 from ceph/re-enable-iscsi
iscsi: re-enable the scenario
Sébastien Han [Thu, 21 Sep 2017 08:07:37 +0000 (10:07 +0200)]
iscsi: re-enable the scenario
CentOS 7.4 vagrant box is now available so re-enabling this scenario.
For more info:
https://seven.centos.org/2017/09/updated-centos-vagrant-images-available-v1708-01/
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 28 Sep 2017 12:46:26 +0000 (14:46 +0200)]
update: nicer way to wait for clean pgs
More comprhensive and friendly to read.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 28 Sep 2017 07:40:50 +0000 (09:40 +0200)]
Merge pull request #1641 from fullerdj/wip-djf-key-timeout
mon/ceph_keys: Add timeout flag to ceph-create-keys
Sébastien Han [Wed, 27 Sep 2017 22:34:10 +0000 (00:34 +0200)]
Merge pull request #1955 from ceph/fix_syntax
docker-common: fix wrong syntax
Guillaume Abrioux [Wed, 27 Sep 2017 21:34:30 +0000 (23:34 +0200)]
docker-common: fix wrong syntax
there is no need to backslash the quotes here.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Douglas Fuller [Fri, 30 Jun 2017 18:04:51 +0000 (18:04 +0000)]
mon/ceph_keys: Add timeout flag to ceph-create-keys
Specify the timeout flag to ceph-create-keys, which causes it to time out
if a monitor quorum isn't achieved. This overrides the default timeout
of 10 minutes, causing ceph-ansible to fail faster in the event of cluster
network issues.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Andrew Schoen [Wed, 27 Sep 2017 17:03:16 +0000 (12:03 -0500)]
Merge pull request #1916 from ceph/purge-cluster-fix
purge-cluster: default lvm_volumes if not defined
Andrew Schoen [Tue, 26 Sep 2017 20:14:29 +0000 (15:14 -0500)]
purge-cluster: default lvm_volumes if not defined
Most osd scenarios do not use lvm_volumes, so default it in
purge-cluster.yml if it's not defined.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Sébastien Han [Tue, 26 Sep 2017 13:19:10 +0000 (15:19 +0200)]
Merge pull request #1545 from ceph/wip-rgw-test
test: add basic testing coverage for the rgw
Sébastien Han [Tue, 26 Sep 2017 13:13:50 +0000 (15:13 +0200)]
Merge pull request #1949 from ceph/wip-rhcs-cdn-validation
ceph-common: Fix logic for ceph_repository_type
Zack Cerza [Mon, 25 Sep 2017 21:28:27 +0000 (15:28 -0600)]
ceph-common: Fix logic for ceph_repository_type
It's failing if a *valid* choice is specified.
Signed-off-by: Zack Cerza <zack@redhat.com>
Ali Maredia [Fri, 12 May 2017 16:03:47 +0000 (12:03 -0400)]
test: add test making sure rgw http endpoints are enabled
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Sébastien Han [Mon, 25 Sep 2017 16:43:32 +0000 (18:43 +0200)]
Merge pull request #1943 from ceph/mgr-site
handler: enhance socket detection
Sébastien Han [Mon, 25 Sep 2017 16:36:25 +0000 (18:36 +0200)]
Merge pull request #1933 from ceph/osd-container-reboot
[skip ci] osd: fix container reboot
Sébastien Han [Fri, 22 Sep 2017 16:34:16 +0000 (18:34 +0200)]
handler: enhance socket detection
We have seen issues with leftover socker. So now, if a socket is found
we also check if it's accessed by a process. If so, we can run the
handler, if not we remove it and continue the playbook.
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Mon, 25 Sep 2017 11:37:27 +0000 (13:37 +0200)]
Merge pull request #1947 from ceph/purge_mgr
purge: implement mgr purge
Sébastien Han [Thu, 21 Sep 2017 13:02:16 +0000 (15:02 +0200)]
osd: fix container reboot
It's sad but we can not rely on the prepare container anymore since the
log are flushed after reboot. So inpecting the container does not return
anything.
Now, instead we use a ephemeral container to look up for the
journal/block.db/block.wal (depending if filestore or bluestore) and
build the activate command accordingly.
Signed-off-by: Sébastien Han <seb@redhat.com>
Guillaume Abrioux [Sun, 24 Sep 2017 19:11:04 +0000 (21:11 +0200)]
rbd-mirror: fix systemd unit in purge-docker
rbd-mirror containers are not stopped in purge-docker-cluster playbook
because of the wrong name used.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sat, 23 Sep 2017 16:02:49 +0000 (18:02 +0200)]
purge: implement mgr purge
unti now, mgr nodes are not managed by purge-cluster.yml, therefore it
breaks scenario like purge_cluster.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Sun, 24 Sep 2017 17:18:21 +0000 (19:18 +0200)]
Merge pull request #1948 from ceph/fix_rgw_update
update: update rgw systemd unit name
Guillaume Abrioux [Sun, 24 Sep 2017 02:52:51 +0000 (04:52 +0200)]
update: update rgw systemd unit name
The old name is used in `rolling_update.yml` and
`purge-docker-cluster.yml`, it breaks the
`test_rgw_service_is_running()` test.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Sat, 23 Sep 2017 17:28:00 +0000 (19:28 +0200)]
Merge pull request #1946 from ceph/fix_bug_collocation
config: fix path to set `interface` in ceph.conf
Guillaume Abrioux [Fri, 22 Sep 2017 21:50:10 +0000 (23:50 +0200)]
config: fix path to set `interface` in ceph.conf
need to use `hostvars[host]['XXX']` to retrieve the monitor
interface and/or radosgw interface.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1493920
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Fri, 22 Sep 2017 16:52:51 +0000 (18:52 +0200)]
Merge pull request #1940 from ceph/rgw-interface
config: fix rgw interface when using different interfaces
Sébastien Han [Fri, 22 Sep 2017 16:50:12 +0000 (18:50 +0200)]
Merge pull request #1945 from ceph/mgr-siteuh
[skip ci] Mgr siteuh
Sébastien Han [Fri, 22 Sep 2017 15:45:35 +0000 (17:45 +0200)]
handler: display ceph status properly
Fix bash error, doing ceph "$CEPH_CLI" -s gives us
ceph '--name client.bootstrap-osd --keyring
/var/lib/ceph/bootstrap-osd/test.keyring --cluster test' -s
which results in a wrongly formatted command. Removing the double quotes
expands the array properly.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 22 Sep 2017 15:26:28 +0000 (17:26 +0200)]
mgr: always bootstrap mgr right after the mon
If we don't bootstrap the mgr after the mon and the osds handler are
called, we will never be able to reach a clean state since the pgs
stats are handled by the mgr. This also happens when doing daemon
collocation.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1493920
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 22 Sep 2017 14:23:57 +0000 (16:23 +0200)]
Merge pull request #1942 from ceph/nfs-again
[skip ci] nfs: fix docker_exec_cmd_nfs default value
Sébastien Han [Fri, 22 Sep 2017 14:22:36 +0000 (16:22 +0200)]
nfs: fix docker_exec_cmd_nfs default value
the default is not an array, default is empty.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 22 Sep 2017 12:45:15 +0000 (14:45 +0200)]
config: fix rgw interface when using different interfaces
Conf file generation failing on rgw nodes when nodes have different
interface names.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1493552
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 22 Sep 2017 13:39:55 +0000 (15:39 +0200)]
Merge pull request #1941 from ceph/nfs-fix
[skip ci] nfs: fix undefined variable
Sébastien Han [Fri, 22 Sep 2017 13:37:43 +0000 (15:37 +0200)]
nfs: fix undefined variable
This is what happens when you don't run all the jobs from the CI...
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Fri, 22 Sep 2017 10:22:10 +0000 (12:22 +0200)]
Merge pull request #1923 from ceph/nfs-container
[skip ci] tests: add nfs container test
Sébastien Han [Tue, 19 Sep 2017 14:19:14 +0000 (16:19 +0200)]
nfs: several fixes
- move the file fetch/push to the existing task
- rename the include
- generate the ganesha template from ansible
- re-arrange role structure
- re-use tasks for non-container and container
- configure keys for non-container and container
- fix rgw container key collection;
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 21 Sep 2017 11:52:30 +0000 (13:52 +0200)]
Merge pull request #1934 from ceph/fix_debian_install
[skip ci] common: fix debian install
Guillaume Abrioux [Thu, 21 Sep 2017 11:26:29 +0000 (13:26 +0200)]
common: fix debian install
in addition to #1926 this commit fixes the error when trying to include
`install_debian_rhcs_packages.yml`
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1493231
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Tue, 19 Sep 2017 11:40:42 +0000 (13:40 +0200)]
tests: add nfs container test
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Thu, 21 Sep 2017 09:03:26 +0000 (11:03 +0200)]
Merge pull request #1872 from ceph/ci-rbd-mirror
Ci rbd mirror
Guillaume Abrioux [Thu, 21 Sep 2017 07:55:03 +0000 (09:55 +0200)]
tests: temporary disable `test_nfs_rgw_fsal_export`
This test doesn't work at the moment and need to be fixed.
Disabling it temporary to avoid errors in the CI.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Wed, 20 Sep 2017 10:35:00 +0000 (12:35 +0200)]
nfs: change ownership on /var/log/ganesha
to fix selinux capability issue that prevent nfs to start.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 19 Sep 2017 09:38:13 +0000 (11:38 +0200)]
docker-common: refact `stat_ceph_files.yml`
there is no need to build the `ceph_config_keys` fact in several steps
for rbd-mirror keyring.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 19 Sep 2017 09:22:56 +0000 (11:22 +0200)]
rbd: fix missing keyring on nodes
the rbd key was not pushed on rbd nodes because its keyring path was not
added in `ceph_config_keys`.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Mon, 18 Sep 2017 17:04:05 +0000 (19:04 +0200)]
docker-common: fix ceph_health check
`docker ps` will always return `0`
(see: https://github.com/docker/cli/issues/538).
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sat, 16 Sep 2017 21:36:29 +0000 (23:36 +0200)]
rgw: refact start_docker_rgw.yml
remove usage of `shell` module in favor of `systemd` module.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sun, 17 Sep 2017 09:16:54 +0000 (11:16 +0200)]
ci: add precise tests to valide daemons are up
Add daemon health check for rgw, mds, mgr, rbd mirror.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sat, 16 Sep 2017 22:02:00 +0000 (00:02 +0200)]
mgr: add missing admin key for mgr container
Followup on #1761.
Add missing admin key for mgr node in containerized deployment.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Sébastien Han [Thu, 21 Sep 2017 07:43:45 +0000 (09:43 +0200)]
Merge pull request #1917 from ceph/shrking-container
shrink: support for container
Sébastien Han [Wed, 20 Sep 2017 22:12:53 +0000 (00:12 +0200)]
Merge pull request #1930 from ceph/filestore-osd-section
config: no not generate osd section if bluestore
Sébastien Han [Wed, 20 Sep 2017 21:06:01 +0000 (23:06 +0200)]
config: remove max open file
This is only used by the old sysvinit scripts
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 20 Sep 2017 16:14:23 +0000 (18:14 +0200)]
config: no not generate osd section if bluestore
This section is not needed when running a bluestore osd.
Signed-off-by: Sébastien Han <seb@redhat.com>
Guillaume Abrioux [Wed, 20 Sep 2017 16:02:05 +0000 (18:02 +0200)]
Merge pull request #1929 from ceph/ceph-conf
docker: we don't need to copy the ceph.conf on all the nodes
Sébastien Han [Wed, 20 Sep 2017 14:33:29 +0000 (16:33 +0200)]
docker: we don't need to copy the ceph.conf on all the nodes
We generate the ceph.conf on all the nodes through the
ceph-docker-common so there is no need to push it to the Ansible file.
Also this is breaking the ceph.conf template generation since we only
generate sections based on the host the ansible task is running on.
For example, what's typically happening, we bootstrap the monitor, we
get a ceph.conf generated for a mon only, we go on an osd, we generate
the ceph.conf with osd section (done by ceph-docker-common) but this
gets overwritten by the copy_config task of the ceph-osd role.
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Mon, 18 Sep 2017 15:45:08 +0000 (17:45 +0200)]
shrink: support for container
We can now shrink mon and osds on containerized deployment.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1492115
Signed-off-by: Sébastien Han <seb@redhat.com>
Sébastien Han [Wed, 20 Sep 2017 12:48:36 +0000 (14:48 +0200)]
Merge pull request #1920 from jprovaznik/ganesha
Make ceph-nfs service enablement/start optional