Skip to content

Handle RGW hosts placement during adoption of older clusters with multiple subnets (backport #7633)#7650

Closed
mergify[bot] wants to merge 2 commits intostable-8.0from
mergify/bp/stable-8.0/pr-7633
Closed

Handle RGW hosts placement during adoption of older clusters with multiple subnets (backport #7633)#7650
mergify[bot] wants to merge 2 commits intostable-8.0from
mergify/bp/stable-8.0/pr-7633

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify bot commented Feb 6, 2025

This PR contains the following commits which patch TASK "Update the placement of radosgw hosts" in the playbook cephadm-adopt.yml.

  • Handle adoption when radosgw_address_block is comma delimited list
  • Handle radosgw hosts placement with non-default cluster name

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2339149


This is an automatic backport of pull request #7633 done by [Mergify](https://mergify.com).

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>
(cherry picked from commit b0707ae)
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>
(cherry picked from commit 8b2f213)
@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 21, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 7, 2025

This pull request has been automatically closed due to inactivity. Please re-open if these changes are still required.

@github-actions github-actions bot closed this Mar 7, 2025
@asm0deuz asm0deuz reopened this Mar 18, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2025

This pull request has been automatically closed due to inactivity. Please re-open if these changes are still required.

@github-actions github-actions bot closed this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants