red-hat-storage / ceph-qe-scripts

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

Include support to add placement and storageclass during user creation #633

Closed ckulal closed 1 month ago

ckulal commented 1 month ago

Include support to add placement and storageclass during user creation

[RFE] RGW REST API doesn't currently support setting the default storage class when creating a user https://bugzilla.redhat.com/show_bug.cgi?id=2293615

https://polarion.engineering.redhat.com/polarion/#/project/CEPH/workitem?id=CEPH-83575880

radosgw-admin user create --uid test7 --display-name test7 --storage-class cold --placement-id default-placement

logs: with standard storage class: http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/user_with_storage_class_automation/test_user_with_plac_id_storage.console.log-with-standard

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2311474

With cold storage class: http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/user_with_storage_class_automation/test_user_with_plac_id_storage.console.log-with-cold

Pass log for existing configs: http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/user_with_storage_class_automation/test_user_modify_with_placementid.console.log

http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/user_with_storage_class_automation/tenanted_user.console.log

openshift-ci[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: anrao19, ckulal, mkasturi18

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