]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
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>
(cherry picked from commit
49ec2479ea347d29616feec52386562dfa406676 )
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>
(cherry picked from commit
f96c0441e3cd33c3f5ff66dfac80d69b5d609dd8 )
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>
(cherry picked from commit
e219892aebf07e3aa941a69461c228e91f7066a2 )
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>
(cherry picked from commit
b60e0134a5d461fcbcfa5471992487ad88876d2e )
Guillaume Abrioux [Fri, 15 Mar 2024 21:38:58 +0000 (22:38 +0100)]
Revert "add a warning regarding current status of stable-8.0"
This reverts commit
4e1e61da15375b2343df6b66e0916f319f1c52dc .
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 15 Mar 2024 21:36:07 +0000 (22:36 +0100)]
tests/upgrade: various changes
- use el8 image,
- disable nfs-ganesha testing
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>
(cherry picked from commit
3c0e06ea0cdf3098497274dd8ff5a63b117d20c5 )
Guillaume Abrioux [Thu, 14 Mar 2024 08:12:32 +0000 (09:12 +0100)]
tests: enable nfs-ganesha testing
This makes the container-upgrade scenario fail as this gets deployed
during initial quincy deployment but doesn't get upgraded to reef
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Thu, 14 Mar 2024 00:12:24 +0000 (01:12 +0100)]
tests: skip ceph_crash and ceph_exporter tests post upgrade
as stable-8.0 is dropping iscsigws support, after the upgrade to reef
from quincy these tests should be skipped.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Wed, 13 Mar 2024 20:44:41 +0000 (21:44 +0100)]
update: set cluster config prior to upgrading
As 8.0 drops cluster config from ceph.conf by default, we need
to make sure this config is well applied as part of the upgrade to 8
(reef) from 7 (quincy)
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Tue, 12 Mar 2024 08:57:50 +0000 (09:57 +0100)]
tests: update --ssh-config parameter (tox-update.ini)
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Mon, 11 Mar 2024 23:38:19 +0000 (00:38 +0100)]
update: ignore linter errors on ceph-exporter systemd tasks
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Mon, 11 Mar 2024 22:34:53 +0000 (23:34 +0100)]
replace main references with reef
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Mon, 11 Mar 2024 18:48:36 +0000 (19:48 +0100)]
validate: check for reef repository
stable-8.0 is reef so this must check the right value for ceph_stable_release
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
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>
(cherry picked from commit
9c467e41b39af63dec9a0b237b550edb9c57da85 )
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>
(cherry picked from commit
05a1465416593d922e600192e4be80823ff0f0d7 )
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>
Guillaume Abrioux [Mon, 19 Feb 2024 21:39:47 +0000 (22:39 +0100)]
fix upgrade
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 8 Mar 2024 08:03:06 +0000 (09:03 +0100)]
rolling_update: address linter errors
this addresses 3 linter errors in rolling update playbook
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Fri, 15 Mar 2024 12:51:18 +0000 (13:51 +0100)]
add a warning regarding current status of stable-8.0
stable-8.0 is not ready and shouldn't be used for now.
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 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 [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>
Guillaume Abrioux [Sat, 24 Sep 2022 06:38:31 +0000 (08:38 +0200)]
Vagrantfile: address deprecation warning
```
==> mgr0: Libvirt Provider: volume_cache is deprecated. Use disk_driver
:cache => 'unsafe' instead.
```
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Guillaume Abrioux [Wed, 31 May 2023 11:03:42 +0000 (11:03 +0000)]
ceph_key: drop unused result parameter
This parameter is not used anywhere in this function, so we can drop it.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Lukas Bezdicka [Wed, 19 Apr 2023 11:16:49 +0000 (13:16 +0200)]
Replace ip_version check with ansible test
Instead of checking ip_version variable we should check the input
address for ip version and select code path based on that.
This solves ceph adoption with mixed ipv6 and ipv4 networks.
Resolves: rhbz#
2186226
Signed-off-by: Lukas Bezdicka <lbezdick@redhat.com>
Guillaume Abrioux [Thu, 16 Mar 2023 16:43:03 +0000 (17:43 +0100)]
tests: disable internal repos
they are broken at the moment.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Seena Fallah [Sun, 26 Feb 2023 14:11:26 +0000 (15:11 +0100)]
ceph-config: exclude already counted osds by lvm_volumes
Exclude lvm_volumes defined disks from existing osds while it has been counted by the "count number of osds for lvm scenario" task.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Sun, 26 Feb 2023 14:08:09 +0000 (15:08 +0100)]
devices: allow using lvm_volumes with devices
* Exclude device from lvm_volumes while osd_auto_discovery is true
* Sum num_osds on both lvm_volumes and devices list
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Teoman ONAY [Thu, 16 Mar 2023 21:27:57 +0000 (22:27 +0100)]
Remove all vagrant boxes
Remove all existing vagrant boxes to prevent vagrant from using
older ones
Signed-off-by: Teoman ONAY <tonay@ibm.com>
René Højbjerg Larsen [Fri, 3 Mar 2023 14:15:16 +0000 (15:15 +0100)]
ceph-mgr: Fix reference to copy_admin_key variable
Enabling installation of the admin key to mgr nodes by setting
"copy_admin_key: true" is broken. This is because the variable is not
referenced correctly (using inline Jinja2 templating).
Signed-off-by: René Højbjerg Larsen <rhl@jfm.dk>
Lorenz Bausch [Thu, 9 Mar 2023 10:18:48 +0000 (11:18 +0100)]
mgr: fix a typo
This commit fixes a typo in `roles/ceph-mgr/defaults/main.yml`
(s/mpdules/modules)
Signed-off-by: Lorenz Bausch <info@lorenzbausch.de>
Teoman ONAY [Wed, 1 Mar 2023 20:26:54 +0000 (21:26 +0100)]
shrink-osd fails when the OSD container is stopped
ceph-volume simple scan cannot be executed as it is meant to be
run inside the OSD container.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2164414
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Tue, 14 Mar 2023 11:26:56 +0000 (12:26 +0100)]
Fix selinux label issues
Add --security-opt label=disable to all containers
accessing /var/lib/ceph. podman selinux relabeling behavious changed
since version podman-3:4.2.0-1 which prevent some containers to access
files in these subdirectories.
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Thu, 2 Mar 2023 22:01:48 +0000 (23:01 +0100)]
Fixes selinux relabeling issue for nfs container
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Tue, 7 Feb 2023 13:30:52 +0000 (14:30 +0100)]
Uses a more recent version of the CentOS stream 8 box
Uses the latest centos/streamX image available.
Signed-off-by: Teoman ONAY <tonay@ibm.com>