mgr/dashboard,cephadm: automate setup of RGW credentials for dashboard#42252
Merged
liewegas merged 8 commits intoceph:masterfrom Aug 11, 2021
Merged
mgr/dashboard,cephadm: automate setup of RGW credentials for dashboard#42252liewegas merged 8 commits intoceph:masterfrom
liewegas merged 8 commits intoceph:masterfrom
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
2 tasks
alfonsomthd
reviewed
Jul 9, 2021
5e34821 to
82d7d3a
Compare
76e92ef to
5fa7d20
Compare
Contributor
|
jenkins test dashboard |
Member
Author
|
retest this please |
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
…d/destroyed We don't always know when a realm is created/destroyed, but we can use service config and purge to cover most such cases. Signed-off-by: Sage Weil <sage@newdream.net>
- Align Dashboard with cephadm: configure credentials using the same logic. - Fix: create a 'dashboard' user per realm (before: only on 1st realm). - Lint fixes, test coverage, method renaming to better reflect behavior and method visibility. Fixes: https://tracker.ceph.com/issues/44605 Signed-off-by: Alfonso Martínez <almartin@redhat.com>
- Rename the dashboard command to better reflect its behavior. - Rename '_radosgw_admin' method to 'send_rgwadmin_command' for consistency with 'send_mon_command' and move it to the mgr_module.py . - Cleanup: remove unneeded rgw settings. - Better error handling and test coverage. Fixes: https://tracker.ceph.com/issues/44605 Signed-off-by: Alfonso Martínez <almartin@redhat.com>
…ce spec. Align rgw service id pattern with cephadm: ceph#39877 - Update rgw pattern to allow service id for non-multisite config. - Extract realm and zone from service id (when detected) and add them to the service spec. Fixes: https://tracker.ceph.com/issues/44605 Signed-off-by: Alfonso Martínez <almartin@redhat.com>
Fixes: https://tracker.ceph.com/issues/44605 Signed-off-by: Alfonso Martínez <almartin@redhat.com>
84e9930 to
265d79f
Compare
Fixes: https://tracker.ceph.com/issues/44605 Signed-off-by: Alfonso Martínez <almartin@redhat.com>
265d79f to
a682b9d
Compare
Contributor
|
jenkins test make check arm64 |
Contributor
|
jenkins test make check arm64 |
dsavineau
added a commit
to dsavineau/ceph-ansible
that referenced
this pull request
Aug 17, 2021
Since [1] multiple ceph dashboard commands have been removed and this is breaking the current ceph-ansible dashboard with RGW automation. This removes the following dashboard rgw commands: - ceph dashboard set-rgw-api-access-key - ceph dashboard set-rgw-api-secret-key - ceph dashboard set-rgw-api-host - ceph dashboard set-rgw-api-port - ceph dashboard set-rgw-api-scheme Which are replaced by `ceph dashboard set-rgw-credentials` The RGW user creation task is also removed. Finally moving the delegate_to statement from the rgw tasks at the block level. [1] ceph/ceph#42252 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
Contributor
|
dsavineau
added a commit
to ceph/ceph-ansible
that referenced
this pull request
Aug 17, 2021
Since [1] multiple ceph dashboard commands have been removed and this is breaking the current ceph-ansible dashboard with RGW automation. This removes the following dashboard rgw commands: - ceph dashboard set-rgw-api-access-key - ceph dashboard set-rgw-api-secret-key - ceph dashboard set-rgw-api-host - ceph dashboard set-rgw-api-port - ceph dashboard set-rgw-api-scheme Which are replaced by `ceph dashboard set-rgw-credentials` The RGW user creation task is also removed. Finally moving the delegate_to statement from the rgw tasks at the block level. [1] ceph/ceph#42252 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
mergify bot
pushed a commit
to ceph/ceph-ansible
that referenced
this pull request
Sep 16, 2021
Since [1] multiple ceph dashboard commands have been removed and this is breaking the current ceph-ansible dashboard with RGW automation. This removes the following dashboard rgw commands: - ceph dashboard set-rgw-api-access-key - ceph dashboard set-rgw-api-secret-key - ceph dashboard set-rgw-api-host - ceph dashboard set-rgw-api-port - ceph dashboard set-rgw-api-scheme Which are replaced by `ceph dashboard set-rgw-credentials` The RGW user creation task is also removed. Finally moving the delegate_to statement from the rgw tasks at the block level. [1] ceph/ceph#42252 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 2ee2194)
dsavineau
added a commit
to ceph/ceph-ansible
that referenced
this pull request
Sep 17, 2021
Since [1] multiple ceph dashboard commands have been removed and this is breaking the current ceph-ansible dashboard with RGW automation. This removes the following dashboard rgw commands: - ceph dashboard set-rgw-api-access-key - ceph dashboard set-rgw-api-secret-key - ceph dashboard set-rgw-api-host - ceph dashboard set-rgw-api-port - ceph dashboard set-rgw-api-scheme Which are replaced by `ceph dashboard set-rgw-credentials` The RGW user creation task is also removed. Finally moving the delegate_to statement from the rgw tasks at the block level. [1] ceph/ceph#42252 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 2ee2194)
guits
pushed a commit
to ceph/ceph-ansible
that referenced
this pull request
Sep 18, 2021
Since [1] multiple ceph dashboard commands have been removed and this is breaking the current ceph-ansible dashboard with RGW automation. This removes the following dashboard rgw commands: - ceph dashboard set-rgw-api-access-key - ceph dashboard set-rgw-api-secret-key - ceph dashboard set-rgw-api-host - ceph dashboard set-rgw-api-port - ceph dashboard set-rgw-api-scheme Which are replaced by `ceph dashboard set-rgw-credentials` The RGW user creation task is also removed. Finally moving the delegate_to statement from the rgw tasks at the block level. [1] ceph/ceph#42252 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> (cherry picked from commit 2ee2194)
stuartgrace-bbc
pushed a commit
to bbc/ceph-ansible
that referenced
this pull request
Jan 30, 2024
Since [1] multiple ceph dashboard commands have been removed and this is breaking the current ceph-ansible dashboard with RGW automation. This removes the following dashboard rgw commands: - ceph dashboard set-rgw-api-access-key - ceph dashboard set-rgw-api-secret-key - ceph dashboard set-rgw-api-host - ceph dashboard set-rgw-api-port - ceph dashboard set-rgw-api-scheme Which are replaced by `ceph dashboard set-rgw-credentials` The RGW user creation task is also removed. Finally moving the delegate_to statement from the rgw tasks at the block level. [1] ceph/ceph#42252 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@alfonsomthd UPDATE:
Fixes: https://tracker.ceph.com/issues/44605
Related PR: #41590
TODO