Guillaume Abrioux [Thu, 21 Mar 2024 08:40:40 +0000 (09:40 +0100)]
github: update stale github workflow
`ubuntu-18.04` environment is deprecated, let's switch to ubuntu-22.04.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Thu, 14 Mar 2024 20:39:45 +0000 (21:39 +0100)]
handlers: move tmpdir removal
This moves the tmpdir removal tasks to main playbook.
The handlers in Ansible are too restrictive and doesn't work
quite well for our use case.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Thu, 14 Mar 2024 09:19:04 +0000 (10:19 +0100)]
nfs-ganesha support removal
nfs-ganesha support will be implemented in a separate playbook.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Thu, 14 Mar 2024 12:56:36 +0000 (13:56 +0100)]
vagrantfile: drop grafana group
this has never been used for real, let's drop this
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Thu, 14 Mar 2024 12:44:19 +0000 (13:44 +0100)]
remove legacy task
this was for backward compatibility concerns, it's time to drop this
task.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 20 Mar 2024 15:00:03 +0000 (16:00 +0100)]
tests: update vagrant_variables.yml
This updates all vagrant_variables.yml to bump the default
image from centos/stream8 to centos/stream9
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 20 Mar 2024 14:51:48 +0000 (15:51 +0100)]
tests: set ceph_repository: community
dev_setup.yml playbook takes care of changing prior to running
tests.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 20 Mar 2024 09:50:12 +0000 (10:50 +0100)]
rgw_profiles: update rgw-keystone profiles
See issue #7458
Fixes: #7458
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 20 Mar 2024 08:26:29 +0000 (09:26 +0100)]
container-engine: enforce docker for Ubuntu os family
This enforces docker.io and docker respectively for
`container_package_name` and `container_service_name` by default
for Ubuntu distribution.
Fixes: #7496
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Tue, 19 Mar 2024 17:36:21 +0000 (18:36 +0100)]
common: configure epel repository (rockylinux)
this is needed in order to make some libraries available when
running on RockyLinux
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Tue, 19 Mar 2024 17:31:47 +0000 (18:31 +0100)]
tests: various changes
some minor changes
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Seena Fallah [Sat, 16 Mar 2024 15:41:10 +0000 (16:41 +0100)]
ceph_config: compare current vals in low
Check the current value and asked both in low case as the asked one might be in capital as it should be.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 15 Mar 2024 20:51:29 +0000 (21:51 +0100)]
ceph_config: add support config remove
Add support rm action.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sat, 16 Mar 2024 15:22:08 +0000 (16:22 +0100)]
radosgw_user: add support check mode
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sat, 16 Mar 2024 15:15:13 +0000 (16:15 +0100)]
radosgw_user: parse system and admin as boolean
The returned payload from rgw has them as a boolean. By having them as a string it would always report a change and try to modify the user.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sat, 16 Mar 2024 15:08:17 +0000 (16:08 +0100)]
radosgw_zonegroup: add support check mode
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sat, 16 Mar 2024 15:07:02 +0000 (16:07 +0100)]
radosgw_zonegroup: parse master as boolean
The returned payload from rgw has is_master as a boolean. By having master as a string it would always report a change and try to modify the zonegroup.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sat, 16 Mar 2024 15:43:28 +0000 (16:43 +0100)]
ceph_ec_profile: make int params str
Ceph return them as string so in comparision it would always fail
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Thu, 14 Mar 2024 14:49:31 +0000 (15:49 +0100)]
ceph-osd: introduce ec profile creation
RGW Pools can now use the existing ec profiles and rules created by ceph-osd role.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Thu, 14 Mar 2024 12:36:07 +0000 (13:36 +0100)]
ceph_ec_profile: add support more plugins
Add support more plugins with their respective args.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Guillaume Abrioux [Sat, 16 Mar 2024 15:58:31 +0000 (16:58 +0100)]
mergify: add stable-8.0
This adds the mergify support for stable-8.0
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 16 Feb 2024 21:59:09 +0000 (22:59 +0100)]
tests: run vagrant_up.sh from dirname
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Seena Fallah [Thu, 14 Mar 2024 17:31:05 +0000 (18:31 +0100)]
ceph-volume: add support check mode
Run read-only actions on check mode
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Mon, 11 Mar 2024 12:13:07 +0000 (13:13 +0100)]
ceph-config: check for set_radosgw_address before importing task
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Tue, 12 Mar 2024 22:42:05 +0000 (23:42 +0100)]
ceph-handler: accept 404 as a success status for rgw restart
404 is the status code returned by rgw when it is serving website api. This needs to be consider as a healthy status for rgw.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sun, 10 Mar 2024 15:55:04 +0000 (16:55 +0100)]
radosgw_zone: add support zone set
Support zone set from a json doc
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Jonathan Rosser [Thu, 14 Mar 2024 15:58:47 +0000 (15:58 +0000)]
Update docs to for supported Ansible versions
Signed-off-by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
Guillaume Abrioux [Sat, 9 Mar 2024 09:24:23 +0000 (10:24 +0100)]
osd: drop openstack related tasks
All of this should be addressed in custom separate playbooks if needed.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Sat, 9 Mar 2024 09:26:32 +0000 (10:26 +0100)]
tests: drop ooo-collocation legacy files
this job was removed, these files are no longer needed, let's remove
them.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Seena Fallah [Thu, 7 Mar 2024 21:41:58 +0000 (22:41 +0100)]
ceph-mon: add missing no_log for admin keyring tasks
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Guillaume Abrioux [Fri, 8 Mar 2024 10:34:53 +0000 (11:34 +0100)]
group_vars: resync samples with default values
2b72ea991d40fc12f277edd58825ce98f068e8c4 and
c8eeae243efac9ad894f3240a8a256b05336f75b have missed the resync.
This addresses that.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 16 Feb 2024 13:20:22 +0000 (14:20 +0100)]
simplify monitor address setting
this drops the following parameters:
- monitor_address_block
- monitor_interface
- monitor_address
The monitor address will be automatically set from `public_network` parameter.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Seena Fallah [Mon, 4 Mar 2024 13:09:44 +0000 (14:09 +0100)]
tests: add ceph exporter to collect logs
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Mon, 4 Mar 2024 01:03:19 +0000 (02:03 +0100)]
ceph-exporter: add installation role
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 6 Mar 2024 12:32:57 +0000 (13:32 +0100)]
mons: use hostname for initial members
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sat, 2 Mar 2024 21:06:14 +0000 (22:06 +0100)]
systemd: export params as a varaible
This can help to have extra params or modify the existing ones via group vars.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 6 Mar 2024 12:37:06 +0000 (13:37 +0100)]
site: install mgrs with mons if sharing the same host
If mgr is meant to be installed on the mon host it needs to be installed in the same playbook as restart handlers might failed because of non-existance mgr
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 6 Mar 2024 12:33:59 +0000 (13:33 +0100)]
ceph-volume: disable dmcrypt by default
regression by
dcdb1710cbaf7946cf8161b4395697d4898680d3
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 23 Feb 2024 23:58:53 +0000 (00:58 +0100)]
ceph-facts: make set_radosgw_address optional
This can help to define custom rgw_instances with custom names and ports and addresses.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Mon, 19 Feb 2024 22:38:02 +0000 (23:38 +0100)]
Welcome Back :tada:
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sun, 18 Feb 2024 10:50:29 +0000 (11:50 +0100)]
tox: enable diff for ansible runs
Diff option can help in CI when a task fail because of a corrupted render in previous tasks.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sun, 18 Feb 2024 02:41:41 +0000 (03:41 +0100)]
container: cleanup container systemd units
* Make common params of container args in a var to avoid duplication
* The /var/lib/ceph/crash mount was missing after
637ca81c9cf801e4d1d125dc8a2492b90fd78eea
* Add CEPH_USE_RANDOM_NONCE as it's needed when running inside container (can be removed for squid later)
* Add NODE_NAME as some part of ceph code relies on this var
* add default logging opts for
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sat, 17 Feb 2024 14:21:24 +0000 (15:21 +0100)]
refactor: remove multisite leftovers
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 16 Feb 2024 13:58:10 +0000 (14:58 +0100)]
ceph-handler: restart existed rgw daemons
This is needed for new instances are the restart might trigger before the deployment
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 16 Feb 2024 10:30:07 +0000 (11:30 +0100)]
ceph-handler: remove tempdir when all handlers are done
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 14 Feb 2024 20:47:35 +0000 (21:47 +0100)]
ceph-config: make rgw config to be in file
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 14 Feb 2024 14:29:03 +0000 (15:29 +0100)]
ceph-config: introduce dedicated cluster config flow
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Guillaume Abrioux [Fri, 16 Feb 2024 10:13:30 +0000 (11:13 +0100)]
kickoff squid
This adds the few required changes in order to fully support
Ceph Squid.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 16 Feb 2024 09:07:50 +0000 (10:07 +0100)]
drop rhcs references
RHCS moved away from ceph-ansible. All RHCS references should be
removed.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 16 Feb 2024 00:16:55 +0000 (01:16 +0100)]
drop iscsigw support
This service is no longer maintained.
Let's drop its support within ceph-ansible.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 14 Feb 2024 10:14:02 +0000 (11:14 +0100)]
address Ansible linter errors
This addresses all errors reported by the Ansible linter.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 14 Feb 2024 09:36:19 +0000 (10:36 +0100)]
drop rgw multisite deployment support
The current approach is extremely complex and introduced a lot
of spaghetti code. This doesn't offer a good user experience at all.
It's time to think to another approach (dedicated playbook) and drop
the current implementation in order to clean up the code.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 14 Feb 2024 07:37:27 +0000 (08:37 +0100)]
update: update ceph release pre-check
update this check in order to check for Ceph Squid
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Tue, 13 Feb 2024 16:55:37 +0000 (17:55 +0100)]
update: update the osd require-osd-release to squid
This updates the `osd require-osd-release` call with `squid`
instead of `reef`.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Tue, 13 Feb 2024 16:49:20 +0000 (17:49 +0100)]
tests: set ANSIBLE_COLLECTIONS_PATH for rbdmirror scenario
This is missing so the job fails.
Typical error:
```
ERROR! couldn't resolve module/action 'community.general.dnf_config_manager'.
```
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Tue, 13 Feb 2024 15:01:38 +0000 (16:01 +0100)]
facts: remove legacy tasks
these tasks were there only for backward compatibility concerns.
It's time to drop them.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Teoman ONAY [Tue, 16 Jan 2024 10:40:07 +0000 (11:40 +0100)]
bump ansible-core to 2.16
- Remove python3 shebangs
- command module warn parameter is deprecated since 2.11 and removed
from 2.14
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Guillaume Abrioux [Tue, 13 Feb 2024 09:53:16 +0000 (10:53 +0100)]
tests: bump to py3.10
let's bump the python version to 3.10 in python-based
github actions.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Teoman ONAY [Mon, 15 Jan 2024 21:27:17 +0000 (22:27 +0100)]
pytest-infra: fix failures
pytest-infra 10.0.0 release changed the get_variables() behavior which led to CI failures
(https://github.com/pytest-dev/pytest-testinfra/pull/724)
Starting of now all groups the host is part of and not only the direct parent groups are
returned by get_variables()
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Guillaume Abrioux [Tue, 13 Feb 2024 07:27:35 +0000 (08:27 +0100)]
common: enable crb repository on mgr hosts
This is needed in order to install `ceph-mgr-dashboard`
as it has a dependency on `python3-grpcio-tools` which comes from
crb repo.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Mon, 12 Feb 2024 23:48:13 +0000 (00:48 +0100)]
drop variables from 'hosts' key
The linter complains about that.
It doesn't work anyway so it doesn't make sense to leave these variables
here.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Mon, 12 Feb 2024 20:04:12 +0000 (21:04 +0100)]
tests: add flake8 to tox.ini
this:
- adds flake8 to tox.ini
- addresses all flake8 errors
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 4 Aug 2023 07:57:32 +0000 (09:57 +0200)]
container-common: drop image fetching logic
wip
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 4 Aug 2023 07:56:46 +0000 (09:56 +0200)]
library: add ceph_config module
This adds the module `ceph_config`
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 4 Aug 2023 07:56:27 +0000 (09:56 +0200)]
library: add ceph_authtool module
This adds the module `ceph_authtool`.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 4 Aug 2023 07:55:23 +0000 (09:55 +0200)]
main playbook: final play refactor
we can simply run this play on the first monitor rather than delegating
to it.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 4 Aug 2023 07:54:22 +0000 (09:54 +0200)]
cephadm-adopt: fix an issue in mgr adoption play
this drops variables in 'hosts' field of mgr adoption play.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 4 Aug 2023 07:53:40 +0000 (09:53 +0200)]
monitor bootstrap refactor
major mon bootstrap refactor so we don't need to rely on
the ceph.conf for this operation.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 4 Aug 2023 07:45:28 +0000 (09:45 +0200)]
migrate from ceph.conf to ceph config
keep the ceph.conf very simple.
manage the common options such as `public_network` with `ceph_config`
module.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 2 Jun 2023 21:49:56 +0000 (23:49 +0200)]
tests: use python 3.9
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 2 Jun 2023 19:00:35 +0000 (21:00 +0200)]
library/ceph_crush_rule: module refactor
This refactor makes the 'name' argument not mandatory because when
'state' is 'info' we shouldn't need to pass it.
The second change is just a duplicate code removal.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 2 Jun 2023 09:34:15 +0000 (11:34 +0200)]
add CentOS stream 9 support
This adds the resquired changes in order to support
CentOS stream 9.
Also, this bumps the Ansible version support to 2.15
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Tue, 16 Jan 2024 13:54:13 +0000 (14:54 +0100)]
doc: project deprecation
Mark the project as deprecated.
See https://docs.ceph.com/en/latest/cephadm/ for ``cephadm``
documentation.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Dmitriy Rabotyagov [Wed, 25 Oct 2023 11:47:19 +0000 (13:47 +0200)]
Do not pass NoneType as argument to ceph_crush_rule
With ansible-core 2.15 it is not possible to pass argument of unexpected
type, as otherwise module will fail with:
`'None' is not a string and conversion is not allowed`
With that we want to only get all existing crush rules, so we can simply
supply an empty string as a name argument, which would satisfy
requirements and have same behaviour for previous ansible versions.
Alternative approach would be to stop making `name` as a required
argument to the module and use empty string as default value
when info state is used.
Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
Teoman ONAY [Tue, 5 Sep 2023 10:39:15 +0000 (12:39 +0200)]
dashboad: rgw frontends entries in ceph.conf are incorrect
There was multiple rgw frontends entries while there was just one
rgw instance on each host. The other entries were the details from
the other rgw hosts in the cluster
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2232282
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Tue, 5 Sep 2023 10:32:53 +0000 (12:32 +0200)]
Speed up the some facts settings by running them once
Signed-off-by: Teoman ONAY <tonay@ibm.com>
insatomcat [Wed, 16 Aug 2023 13:51:03 +0000 (15:51 +0200)]
do not use update debian cache or try to install packages when package-install is disabled
When deploying with --skip-tags=package-install (when there is no access to a repository), the playbook is still trying to update the package cache, or to install ceph-mgr packages, which makes the playbook fail.
This change prevents the playbook to try to update the cache or install ceph-mgr packages when the package-install tag is skipped.
Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
Teoman ONAY [Wed, 16 Aug 2023 14:02:29 +0000 (16:02 +0200)]
cephadm-adopt: Fixes hosts addition to be managed by cephadm
The tasks "manage nodes with cephadm - ipv4/6" are skipped when
cephadm_mgmt_network contains more than one ip network which prevent
cephadm from managing the host.
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Nathan Hoad [Wed, 28 Jun 2023 20:28:45 +0000 (16:28 -0400)]
Update zonegroup test.
Signed-off-by: Nathan Hoad <nhoad@bloomberg.net>
Nathan Hoad [Thu, 8 Jun 2023 17:41:53 +0000 (13:41 -0400)]
Specify the zone when requesting zonegroup information.
Signed-off-by: Nathan Hoad <nhoad@bloomberg.net>
Konstantin Shalygin [Fri, 19 Feb 2021 14:49:25 +0000 (17:49 +0300)]
library: ceph_crush: set containerized param to false to respect docstrings
Signed-off-by: Konstantin Shalygin <k0ste@k0ste.ru>
Teoman ONAY [Fri, 4 Aug 2023 12:37:39 +0000 (14:37 +0200)]
cephadm-adopt: Fixes rbd-mirror regression
779523f86f4659283441ece8af2d4a4dbe8140b4 introduced a regression
related to rbdmirrors tasks. They were executed while
ceph_rbd_mirror_remot_* variables were not set.
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Fri, 4 Aug 2023 09:17:44 +0000 (11:17 +0200)]
cephadm-adopt: Add --networks parameter support to ceph orch apply rgw
When radosgw_address_block was defined, it was not taken into account
during rgw adoption process
depends on: https://tracker.ceph.com/issues/62185
fixes: https://bugzilla.redhat.com/show_bug.cgi?id=
2224351
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Wed, 7 Jun 2023 15:10:52 +0000 (17:10 +0200)]
Add ipv6 libvirt support scenario in vagrant
Addition of ipv6 support in vagrant/libvirt and an all_daemons_ipv6 scenario.
Some typo fixes
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Guillaume Abrioux [Fri, 2 Jun 2023 08:09:30 +0000 (10:09 +0200)]
tests: updates functional tests with new image
let's use quay.io/ceph/daemon-base in every tests instead of
`ceph/daemon` since it's not supposed to be built anymore soon.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Seena Fallah [Mon, 22 May 2023 20:44:46 +0000 (22:44 +0200)]
ceph-config: drop osd_memory_target from ceph_conf_overrides
As it's always being set in ceph.conf template, it leads to having duplicated osd_memory_target keys in rendered ceph conf while defining one in ceph_conf_overrides.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Guillaume Abrioux [Wed, 31 May 2023 13:17:55 +0000 (13:17 +0000)]
purge: remove /var/lib/ceph
This directory should be removed when the cluster is purged.
most of the services are started with the `--security-opt label=disable`
option. If the directory is not removed, it can cause SElinux issues
when the cluster is redeployed.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sun, 22 Jan 2023 07:21:31 +0000 (08:21 +0100)]
update: fix mgr upgrade issue
for some reason, this task has to be done in 2 steps otherwise it fails.
1/ stop and disable the service
2/ mask it
when done with with a single task, the module says the service has been
stopped while this isn't the case (Ansible systemd module bug?).
it possibly relates to https://github.com/ansible/ansible/issues/68680
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sat, 21 Jan 2023 08:33:29 +0000 (09:33 +0100)]
tests: test nfs-ganesha with stable repos
dev repos are broken, let's test with stable builds for now.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Fri, 20 Jan 2023 18:14:35 +0000 (19:14 +0100)]
osd: drop filestore support
filestore objectstore will be gone in the next Ceph release.the
This drops the filestore support in ceph-ansible.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Fri, 20 Jan 2023 10:07:31 +0000 (11:07 +0100)]
tests: introduce `ceph_status` fixture
This avoids some duplicated code in various test_*_is_up() tests
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 5 Oct 2022 02:00:20 +0000 (04:00 +0200)]
iscsi: do not use ceph/daemon entrypoint
This changes the entrypoint used for the iscsigw containerized daemons
in the systemd template.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Tue, 27 Sep 2022 14:53:24 +0000 (16:53 +0200)]
rbdmirror: do not use ceph/daemon entrypoint
This changes the entrypoint used for rbdmirror containerized daemons
in the systemd template.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Fri, 23 Sep 2022 12:31:04 +0000 (14:31 +0200)]
nfs: do not use ceph/daemon entrypoint
This changes the entrypoint used for nfs-ganesha containerized daemons
in the systemd template.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Mon, 19 Sep 2022 14:10:39 +0000 (16:10 +0200)]
rgw: do not use daemon
This changes the entrypoint used for radosgw containerized daemons
in the systemd template.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Mon, 19 Sep 2022 12:49:35 +0000 (14:49 +0200)]
mds: do not use ceph/daemon entrypoint
This changes the entrypoint used for ceph-mds containerized daemons
in the systemd template.not
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Mon, 19 Sep 2022 03:20:23 +0000 (05:20 +0200)]
osd: do not use ceph/daemon entrypoint
This changes the entrypoint used for ceph-osd containerized daemons
in the systemd template.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sat, 17 Sep 2022 01:48:45 +0000 (03:48 +0200)]
mgr: do not use ceph/daemon entrypoint
This changes the entrypoint used for ceph-mgr containerized daemons
in the systemd template.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Thu, 30 Jun 2022 21:11:10 +0000 (23:11 +0200)]
mon: do not use ceph/daemon entrypoint
This changes the entrypoint used for ceph-mon containerized daemons
in the systemd template.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Sat, 24 Sep 2022 05:15:36 +0000 (07:15 +0200)]
library: fix a bug in ceph_key module
`name` is a mandatory parameter when `state` is either
`present` or `absent` or `update` or `info`.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>