]>
git.apps.os.sepia.ceph.com Git - ceph-ansible.git/log
wilkis [Mon, 31 Mar 2025 19:19:53 +0000 (19:19 +0000)]
Remove six from requirements.txt
Ali Zamani [Mon, 2 Jun 2025 08:48:10 +0000 (12:18 +0330)]
ceph-infra: add copytruncate option in logrotate
Seena Fallah [Tue, 27 May 2025 11:11:51 +0000 (13:11 +0200)]
rolling-update: utilize noautoscale during update
Instead of per-pool modification, utilize the already available
flag to disable autoscale during the update temporarily.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Tue, 27 May 2025 11:11:37 +0000 (13:11 +0200)]
chore: add .ansible to gitignore
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 30 May 2025 15:53:59 +0000 (17:53 +0200)]
radosgw-realm: support default flag for pull
radosgw-admin supports the default flag to set the pulled realm as
default if requested.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 25 Jun 2025 12:33:14 +0000 (14:33 +0200)]
ceph-config: allow to control setting osd memory target
Allow to stop setting auto memory target in case like one wants to
set it globally for all osds via ceph_cluster_conf.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
aliakbar.naji [Tue, 20 May 2025 09:47:45 +0000 (13:17 +0330)]
docs(upgrade): note that --limit is now supported in rolling-update
Signed-off-by: Aliakbar Naji <dr.nadji@gmail.com>
Seena Fallah [Tue, 11 Feb 2025 18:36:16 +0000 (19:36 +0100)]
common/container: drop CEPH_USE_RANDOM_NONCE env var
It is not necessary anymore as this behavior became
the default one.
Ceph Ref. https://github.com/ceph/ceph/pull/50344
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Tue, 11 Feb 2025 15:37:45 +0000 (16:37 +0100)]
ceph-infra: allow configuring logrotate
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
John Fulton [Fri, 7 Feb 2025 18:08:03 +0000 (13:08 -0500)]
Adopt with grafana_network not grafana_server_addr
The networks list in a spec is usually a list of ranges,
not a single IP. The grafana_server_addr is a fact created
from the grafana_network range so it is a more appropriate
parameter to pass to the spec.
Follow up to
770a527a9ee6b34091798c6120235026ad1ecfa9
Signed-off-by: John Fulton <fulton@redhat.com>
John Fulton [Thu, 6 Feb 2025 00:01:08 +0000 (19:01 -0500)]
Use grafana_server_addr to set prometheus networks list
When dashboard is enabled and module ceph_orch_apply is
called, if the grafana_server_addr is defined, then it
is used to populate the networks list in the spec of type
alertmanager. This is the case without this patch. With
this patch the same logic is applied to the spec of type
prometheus. Also, if the grafana_server_addr is a comma
delimited list, then a jinja2 expression handles passing
the IPs as a list.
Without this patch prometheus binds to all networks even
if grafana_server_addr is set which can create conflicts
with other services.
Fixes: https://bugzilla.redhat.com/2269009
Signed-off-by: John Fulton <fulton@redhat.com>
John Fulton [Thu, 16 Jan 2025 21:30:20 +0000 (16:30 -0500)]
Handle radosgw hosts placement with non-default cluster name
In cephadm-adopt.yml TASK "Update the placement of radosgw hosts"
does not handle when Ansible var cluster is something other than
"ceph", unless this patch is used.
Update module ceph_orch_apply to support optional cluster
parameter using the same style as in module ceph_config.
The command is only extended to inclue the new keyring
and config options if cluster name is not ceph.
This patch is necessary to migrate older clusters which were
deployed when custom names were supported.
Closes: https://issues.redhat.com/browse/RHCEPH-10442
Signed-off-by: John Fulton <fulton@redhat.com>
John Fulton [Thu, 16 Jan 2025 20:50:50 +0000 (15:50 -0500)]
Handle adoption when radosgw_address_block is comma delimited list
In cephadm-adopt.yml TASK "Update the placement of radosgw hosts"
passes module ceph_orch_apply embedded YAML via a block scalar.
This YAML creates a Ceph spec of service_type RGW. The networks
key of this spec supports either a list or a string. Without this
patch, the networks key of the spec will only contain a string.
With this patch a string is still set for the networks key, but
if Ansible var radosgw_address_block contains commas, then var
radosgw_address_block is split by those commas into a list and
the networks key of the spec will be set to a list.
Closes: https://issues.redhat.com/browse/RHCEPH-10418
Signed-off-by: John Fulton <fulton@redhat.com>
Teoman ONAY [Fri, 24 Jan 2025 12:56:41 +0000 (13:56 +0100)]
cephadm-adopt: fix ssl condition in rgw placement task
rgw daemons fail to start as they were looking for
ssl certificates while none were available.
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Fri, 24 Jan 2025 13:05:51 +0000 (14:05 +0100)]
doc: CI readthedocs job fails
Deprecation of projects using Sphinx without an explicit configuration file
[1] https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Seena Fallah [Mon, 20 Jan 2025 09:41:20 +0000 (10:41 +0100)]
mergify: add stable-9.0
This adds the mergify support for stable-9.0
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Teoman ONAY [Wed, 20 Nov 2024 15:06:08 +0000 (16:06 +0100)]
modules: Add _info modules
Validate modules test fails with:
Argument state includes get, list or info as a choice.
Functionality should be in an _info or (if further conditions apply) _facts module.
on modules ceph_crush_rule and ceph_key
With Ansible 2.8 and onwards best practice requires that modules
gathering info to be put in a separate module named _info[1]
[1]https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html#creating-an-info-or-a-facts-module
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Wed, 6 Nov 2024 10:58:07 +0000 (11:58 +0100)]
CI Unittests errors fix
Fix failing unittests
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Dmitriy Rabotyagov [Mon, 28 Oct 2024 16:54:12 +0000 (17:54 +0100)]
Don't try to set devices fact when osd_auto_discovery was skipped
Right now, under certain OS and Ansible versions, ie Rocky Linux and
ansible-core 2.17, `devices_check` variable is getting defined even if
task was skipped.
That results in set_fact to fail, as resulting variable has no `results`
key in it.
Structure of such variable looks like that:
```
"devices_check": {
"changed": false,
"false_condition": "osd_auto_discovery | default(False) | bool",
"skip_reason": "Conditional result was False",
"skipped": true
}
```
Checking for task not being skipped solves such issues.
Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
Teoman ONAY [Wed, 16 Oct 2024 13:07:46 +0000 (15:07 +0200)]
pytest: python-version typo
Fixes python-version
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Wed, 2 Oct 2024 14:43:39 +0000 (16:43 +0200)]
cephadm-adopt: Alertmanager placement count missing
Regression from #7576. Alertmanager placement count was missing
after migration to ceph_orch_apply module
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Wed, 2 Oct 2024 14:36:31 +0000 (16:36 +0200)]
cephadm-adopt: custom prometheus port lost after adoption
If a custom Prometheus port was used before adoption, it was not
taken into account and default 9095 was set instead. Now custom
port is re-applied.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2242346
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Amir Nikpour [Wed, 17 Jul 2024 04:42:44 +0000 (08:12 +0330)]
cephadm-adopt: add cephadm ssh config option
Add task to set customized ssh config for cephadm
Signed-off-by: Amir Nikpour <amnik.free@gmail.com>
Teoman ONAY [Wed, 21 Aug 2024 15:33:19 +0000 (17:33 +0200)]
ceph_orch_apply: fix yaml error when multiple rgw deployed
ceph orch ls rgw --format=yaml returns multiple documents
when multiple rgw are installed, this was not handled
correctly.
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Seena Fallah [Wed, 31 Jul 2024 13:02:42 +0000 (15:02 +0200)]
radosgw_user: support caps on user
Supporting adding/removing caps on the user.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Tue, 30 Jul 2024 20:44:19 +0000 (22:44 +0200)]
ceph-pool: add support updating crush rule of the pool
Support updating crush rule of the pool via crush rule name.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Tue, 30 Jul 2024 20:11:55 +0000 (22:11 +0200)]
devices: test devices before collecting on auto discovery
In some scenarios with NVMe, a device might be identified by
Ansible but could actually be a multipath device rather than an
actual device. We need to exclude these as Ceph cannot create
OSDs on them.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Teoman ONAY [Mon, 12 Aug 2024 13:24:06 +0000 (15:24 +0200)]
cephadm-adopt: fix "Update the placement of radosgw hosts" task
networks was at the wrong level in the spec file. Failed with
"got an unexpected keyword argument 'networks'"
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Thu, 11 Jul 2024 09:35:22 +0000 (11:35 +0200)]
cephadm-adopt: Fixes binding network for alertmanager
Alertmanager was bind to default * network instead of grafana_server_addr
as it was before. Now on if grafana_server_addr is defined, it will be
bind to that network.
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Fri, 5 Jul 2024 09:40:17 +0000 (11:40 +0200)]
cephadm-adopt: fix "Update the placement of radosgw hosts" task
spec file template conditions were incorrect
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Seena Fallah [Mon, 10 Jun 2024 10:11:55 +0000 (12:11 +0200)]
ceph-handler: use haproxy maintenance for rgw restarts
RGW currently restarts without waiting for existing connections to
close. By adjusting the HAProxy weight before the restart, we can
ensure that no active connections are disrupted during the restart
process.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Guillaume Abrioux [Mon, 17 Jun 2024 14:35:10 +0000 (16:35 +0200)]
Revert "nfs-ganesha support removal"
This reverts commit
675667e1d60b7080dad7293f2954de23718c5042 .
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Teoman ONAY [Tue, 28 May 2024 12:06:03 +0000 (14:06 +0200)]
ceph_orch_apply: fix idempotency
As is idempotency does not work as the ceph orch
output does contain more attributes than the expected
spec.
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Teoman ONAY [Wed, 24 Apr 2024 19:32:39 +0000 (21:32 +0200)]
ceph_orch_spec: Add ceph orch apply spec feature
Add new module ceph_orch_spec which applies ceph spec files.
This feature was needed to bind extra mount points to the RGW
container (/etc/pki/ca-trust/).
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2262133
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Seena Fallah [Mon, 20 May 2024 12:52:30 +0000 (14:52 +0200)]
ceph-key: check for key existance on absent state
check if the key is exists before removal.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Thu, 16 May 2024 22:11:58 +0000 (00:11 +0200)]
ceph-container: use ceph user and group
Use --setuser and --setgroup to ceph to run daemons with ceph user.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Thu, 16 May 2024 22:11:48 +0000 (00:11 +0200)]
tests: collect mons and mgrs logs
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Thu, 16 May 2024 22:09:37 +0000 (00:09 +0200)]
ceph-container: keep run dir permission consistent
Make it the same as "Create ceph initial directories" task
and make owner and group 167 for containers so they can write
with ceph user.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Teoman ONAY [Wed, 15 May 2024 14:04:04 +0000 (16:04 +0200)]
Fix cephadm-adopt test scenario
Fixes cephadm-adopt test scenario by configuring rbd application
on test and test2 pools. Otherwise cephadm-adopt failed at task
"Check pools have an application enabled"
Signed-off-by: Teoman ONAY <tonay@ibm.com>
Seena Fallah [Tue, 7 May 2024 18:41:53 +0000 (20:41 +0200)]
ceph-rgw: introduce rgw zone to the name schema
This is needed by ceph-exporter as it is parsing the socket by the number of dots.
Although the rgw_zone variable is only using for constructing the client name
and has nothing to do with multisiting.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 24 Apr 2024 16:59:48 +0000 (18:59 +0200)]
radosgw_user: handle non-existence user on check mode
Set return code to 0 on check mode when the user doesn't exists and it will fail the module.
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Guillaume Abrioux [Thu, 11 Apr 2024 16:11:08 +0000 (18:11 +0200)]
ceph-mon: move the ceph_config call to ceph-mon role
ba7eb62a1bcbd925b053cbd737012f034568a6f7 broke deployments where
mgrs are not collocated with mons.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Guillaume Abrioux [Thu, 11 Apr 2024 12:39:18 +0000 (14:39 +0200)]
ceph-config: move `ceph_config` module call to ceph-config role
so you don't have to implement a similar play on your own
if not using main (sample) playbooks.
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
Seena Fallah [Fri, 29 Mar 2024 21:05:42 +0000 (22:05 +0100)]
ceph_volume: set changed to false to readonly actions
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 29 Mar 2024 20:29:35 +0000 (21:29 +0100)]
ceph_crush: add support check mode
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Guillaume Abrioux [Thu, 4 Apr 2024 08:53:12 +0000 (10:53 +0200)]
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>
Guillaume Abrioux [Thu, 4 Apr 2024 08:21:56 +0000 (10:21 +0200)]
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>
Seena Fallah [Fri, 29 Mar 2024 19:31:56 +0000 (20:31 +0100)]
ceph_pool: add support check mode
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 29 Mar 2024 18:57:36 +0000 (19:57 +0100)]
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>
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>