Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: support 1+ rgw instance in radosgw_frontend_port #5613

Merged
merged 1 commit into from Aug 11, 2020

Conversation

rmahique
Copy link
Contributor

@rmahique rmahique commented Aug 3, 2020

…nstance,

Commit on behalf of Daniel Parkes

Change the radosgw_frontend_port to take in account more than 1 RGW instance, in it’s original form 'radosgw_frontend_port': radosgw_frontend_port | int , it configured the 8080 port to all instances, with the following modification 'radosgw_frontend_port': radosgw_frontend_port | int + item|int we increase in 1 the port count.

Signed-off-by: raul rmahique@redhat.com

with_sequence: start=0 end={{ radosgw_num_instances|int - 1 }}
when:
- inventory_hostname in groups.get(rgw_group_name, [])
- rgw_instances is undefined
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has to be checked in detail but this variable was never arriving undefined at this point of the playbook.

did you manually set rgw_instances in your host_vars ?

@guits
Copy link
Collaborator

guits commented Aug 4, 2020

…nstance,

Commit on behalf of Daniel Parkes

you might want to add Co-authored-by in your commit message then

@guits guits changed the title Change the radosgw_frontend_port to take in account more than 1 RGW i… [skip ci] Change the radosgw_frontend_port to take in account more than 1 RGW i… Aug 4, 2020
Copy link
Collaborator

@guits guits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rmahique could you squash your commit please? thanks!

Change the radosgw_frontend_port to take in account more than 1 RGW instance,
in it's original form `radosgw_frontend_port: radosgw_frontend_port | int`,
it configured the 8080 port to all instances, with the following modification
`radosgw_frontend_port: radosgw_frontend_port | int + item|int` we increase in
1 the port count.

Co-authored-by: Daniel Parkes <dparkes@redhat.com>
Signed-off-by: raul <rmahique@redhat.com>
@guits guits changed the title [skip ci] Change the radosgw_frontend_port to take in account more than 1 RGW i… rgw: support 1+ rgw instance in radosgw_frontend_port Aug 10, 2020
@guits
Copy link
Collaborator

guits commented Aug 10, 2020

jenkins test centos-non_container-all_daemons

@guits
Copy link
Collaborator

guits commented Aug 10, 2020

jenkins test centos-container-all_daemons

@guits
Copy link
Collaborator

guits commented Aug 10, 2020

@rmahique forget about my last comment, i've squashed them for you

@guits guits removed the DNM Do NOT merge label Aug 11, 2020
@guits guits changed the title rgw: support 1+ rgw instance in radosgw_frontend_port [skip ci] rgw: support 1+ rgw instance in radosgw_frontend_port Aug 11, 2020
@guits guits merged commit 110eaf5 into ceph:master Aug 11, 2020
@guits guits changed the title [skip ci] rgw: support 1+ rgw instance in radosgw_frontend_port rgw: support 1+ rgw instance in radosgw_frontend_port Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants