Guillaume Abrioux
c4b3520730
ceph-mon: fix admin keyring creation task
...
Although custom cluster name support was dropped, it breaks ceph-volume
functional testing as it uses "test" as cluster name.
The plan is to make ceph-volume use "ceph" but for now it's easier to
address the issue in this task.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-04-04 14:16:54 +02:00
Guillaume Abrioux
8ebff2124d
common: install python3-packaging on centos el8
...
ceph-volume has a dependency on `python3-packaging` which is available
in PowerTools repo.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-04-04 14:16:54 +02:00
Seena Fallah
a45defd386
ceph_pool: add support check mode
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-04-03 16:31:43 +02:00
Seena Fallah
9f9b32e9e6
ceph-handler: allow 405 as a success restart for rgw
...
If rgw is configured to only operate admin api - this is the status code it will return for GET on no path.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-04-03 16:31:08 +02:00
Guillaume Abrioux
f5e7f47a2e
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>
2024-03-21 09:43:33 +01:00
Guillaume Abrioux
bab034024c
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>
2024-03-20 20:22:34 +01:00
Guillaume Abrioux
675667e1d6
nfs-ganesha support removal
...
nfs-ganesha support will be implemented in a separate playbook.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-20 20:22:34 +01:00
Guillaume Abrioux
1ebddeccb3
vagrantfile: drop grafana group
...
this has never been used for real, let's drop this
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-20 20:22:34 +01:00
Guillaume Abrioux
d9e2de1d1d
remove legacy task
...
this was for backward compatibility concerns, it's time to drop this
task.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-20 20:22:34 +01:00
Guillaume Abrioux
51cfba376c
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>
2024-03-20 16:26:55 +01:00
Guillaume Abrioux
a305dc79a9
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>
2024-03-20 16:26:55 +01:00
Guillaume Abrioux
0f341cc68b
rgw_profiles: update rgw-keystone profiles
...
See issue #7458
Fixes : #7458
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-20 10:54:07 +01:00
Guillaume Abrioux
ef5a09d0e0
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>
2024-03-20 10:34:56 +01:00
Guillaume Abrioux
867be7c35c
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>
2024-03-20 09:30:34 +01:00
Guillaume Abrioux
c42c0c3558
tests: various changes
...
some minor changes
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-20 09:30:34 +01:00
Seena Fallah
ed4b6e71b3
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>
2024-03-18 18:11:43 +01:00
Seena Fallah
fa2eb2532e
ceph_config: add support config remove
...
Add support rm action.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-18 18:11:19 +01:00
Seena Fallah
a7e881439e
radosgw_user: add support check mode
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-16 20:18:47 +01:00
Seena Fallah
a95726c409
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>
2024-03-16 20:18:47 +01:00
Seena Fallah
beb046cba9
radosgw_zonegroup: add support check mode
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-16 20:18:15 +01:00
Seena Fallah
e8d34b6ee6
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>
2024-03-16 20:18:15 +01:00
Seena Fallah
f0b4cc3f0d
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>
2024-03-16 20:17:45 +01:00
Seena Fallah
bbc1ba5c05
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>
2024-03-16 20:17:45 +01:00
Seena Fallah
80666a20da
ceph_ec_profile: add support more plugins
...
Add support more plugins with their respective args.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-16 20:17:45 +01:00
Guillaume Abrioux
7b9a459ce3
mergify: add stable-8.0
...
This adds the mergify support for stable-8.0
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-16 17:24:05 +01:00
Guillaume Abrioux
3c0e06ea0c
tests: run vagrant_up.sh from dirname
...
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-15 22:16:28 +01:00
Seena Fallah
b60e0134a5
ceph-volume: add support check mode
...
Run read-only actions on check mode
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-15 20:59:44 +01:00
Seena Fallah
49ec2479ea
ceph-config: check for set_radosgw_address before importing task
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-14 19:32:26 +01:00
Seena Fallah
f96c0441e3
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>
2024-03-14 19:31:59 +01:00
Seena Fallah
e219892aeb
radosgw_zone: add support zone set
...
Support zone set from a json doc
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-14 19:31:45 +01:00
Jonathan Rosser
2a8b0668c2
Update docs to for supported Ansible versions
...
Signed-off-by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
2024-03-14 19:29:12 +01:00
Guillaume Abrioux
9c467e41b3
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>
2024-03-09 17:56:31 +01:00
Guillaume Abrioux
05a1465416
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>
2024-03-09 17:56:31 +01:00
Seena Fallah
77be56d8cf
ceph-mon: add missing no_log for admin keyring tasks
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-08 13:02:57 +01:00
Guillaume Abrioux
aeba99107e
group_vars: resync samples with default values
...
2b72ea991d
and
c8eeae243e
have missed the resync.
This addresses that.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
2024-03-08 13:02:44 +01:00
Guillaume Abrioux
8871de6d99
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>
2024-03-08 13:02:44 +01:00
Seena Fallah
62e48fc14f
tests: add ceph exporter to collect logs
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-07 20:22:44 +01:00
Seena Fallah
2b72ea991d
ceph-exporter: add installation role
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-07 20:22:44 +01:00
Seena Fallah
c8eeae243e
mons: use hostname for initial members
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-07 20:21:47 +01:00
Seena Fallah
92d1c81173
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>
2024-03-07 20:21:47 +01:00
Seena Fallah
c497ac35f8
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>
2024-03-07 20:16:59 +01:00
Seena Fallah
07bf577051
ceph-volume: disable dmcrypt by default
...
regression by dcdb1710cbaf7946cf8161b4395697d4898680d3
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-03-07 20:15:27 +01:00
Seena Fallah
b1848ac957
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>
2024-02-28 09:25:00 +01:00
Seena Fallah
c64d6d4d60
Welcome Back 🎉
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-02-28 09:24:15 +01:00
Seena Fallah
03009f9253
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>
2024-02-19 23:14:26 +01:00
Seena Fallah
84e10bfd03
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 637ca81c9c
* 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>
2024-02-19 23:14:26 +01:00
Seena Fallah
c6d3bb5e92
refactor: remove multisite leftovers
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-02-19 21:35:02 +01:00
Seena Fallah
7142321bc3
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>
2024-02-16 16:06:07 +01:00
Seena Fallah
daaba8098c
ceph-handler: remove tempdir when all handlers are done
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-02-16 16:06:07 +01:00
Seena Fallah
88b2d1a992
ceph-config: make rgw config to be in file
...
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
2024-02-16 16:06:07 +01:00