red-hat-storage / ceph-qe-scripts

Various QE scripts written by QE for Ceph Testing
MIT License
10 stars 29 forks source link

[TFA] Fetch realm name from sync status as period config will not have realm name #556

Closed anrao19 closed 8 months ago

anrao19 commented 8 months ago

[TFA] Fetch realm name from sync status as period config will not have realm name

BZ which removed realm name from period config : https://bugzilla.redhat.com/show_bug.cgi?id=2196109

.Renaming a realm now updates after performing a period update

Previously, performing a period update after renaming a realm would not reflect the new realm name when running the radosgw-admin period get command.

With this fix, the realm name is not shown in the period and therefore does not reflect the wrong realm name.

024-02-11 23:54:26,386 INFO: executing cmd: radosgw-admin sync status 2024-02-11 23:54:35,285 INFO: cmd excuted 2024-02-11 23:54:35,286 INFO: realm 13f703a7-0c19-4e43-95c6-3d3f4300c5ad (india) zonegroup 5889bda4-fef8-43a1-953d-7f11b8994c0e (shared) zone 8df886ee-2737-4150-b7a1-5ac9b95bef76 (primary) current time 2024-02-12T04:54:31Z zonegroup features enabled: resharding disabled: compress-encrypted metadata sync no sync (zone is master) data sync source: 9f0e8e31-8c4d-49d0-9d3b-51cb103f9530 syncing full sync: 0/128 shards incremental sync: 128/128 shards data is caught up with source

2024-02-11 23:54:35,286 INFO: executing cmd: radosgw-admin period update --rgw-realm=india --commit 2024-02-11 23:54:43,066 INFO: cmd excuted 2024-02-11 23:54:43,066 INFO: {

log: http://magna002.ceph.redhat.com/ceph-qe-logs/anuchaithra/test_multisite_granular_bucketsync_forbidden_enabled.console.log

anrao19 commented 8 months ago

@anrao19 the log provided in the description is a failure log could you provide one pass log

@hmaheswa failure is due to cluster was in bad state, changes expected in pr working fine. Updated the pass log

openshift-ci[bot] commented 8 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: anrao19, TejasC88, viduship

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/red-hat-storage/ceph-qe-scripts/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment