-
Notifications
You must be signed in to change notification settings - Fork 112
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
Only call configure_object tasks when rgw_enabled is true #1931
Only call configure_object tasks when rgw_enabled is true #1931
Conversation
RGW related tasks are called by playbooks/ceph.yml only if `cifmw_ceph_daemons_layout.rgw_enabled` is true but the post tasks in the cifmw_cephadm role need the same rule. This patch adds that rule. We didn't discover this until PR 1821 merged. The "Create swift service, user and roles" task in post, only ran when `cifmw_ceph_daemons_layout.rgw_enabled` was true. When PR 1821 merged it added tasks to do the same but they didn't have this condition. Those conditions are removed by this patch as the entire configure_boject tasks file is no longer included by post (and only post includes that file) unless `cifmw_ceph_daemons_layout.rgw_enabled` is true. Jira: https://issues.redhat.com/browse/OSPRH-7889 Signed-off-by: John Fulton <fulton@redhat.com>
Thanks for the PR! ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjeanner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
97a8ba1
into
openstack-k8s-operators:main
RGW related tasks are called by playbooks/ceph.yml only if
cifmw_ceph_daemons_layout.rgw_enabled
is true but the post tasks in the cifmw_cephadm role need the same rule. This patch adds that rule.We didn't discover this until PR 1821 merged. The "Create swift service, user and roles" task in post, only ran when
cifmw_ceph_daemons_layout.rgw_enabled
was true. When PR 1821 merged it added tasks to do the same but they didn't have this condition. Those conditions are removed by this patch as the entire configure_boject tasks file is no longer included by post (and only post includes that file) unlesscifmw_ceph_daemons_layout.rgw_enabled
is true.Jira: https://issues.redhat.com/browse/OSPRH-7889
As a pull request owner and reviewers, I checked that: