red-hat-storage / ceph-qe-scripts

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

[Tier-3]:CEPH-83573543: Verify lifecycle removes all the non-current … #602

Closed ckulal closed 3 months ago

ckulal commented 4 months ago

…objects, while the current object is removed via s3cmd

Automation of: Polarian: CEPH-83573543: Verify lifecycle removes all the non-current objects, while the current object is removed via s3cmd

As a part of this PR:

  1. Added script and config to implement Polarian: CEPH-83573543
  2. Enhanced existing script to use global variables
  3. Written reusable methods for rgw service restart and enabling version for existing bucket

Log: [Uploading test_lc_expiration_noncurrent_when_current_object_deleted_via_s3cmd.console-new.log…]()

openshift-ci-robot commented 4 months ago

@ckulal: No Jira issue with key CEPH-83573543 exists in the tracker at https://issues.redhat.com/. Once a valid jira issue is referenced in the title of this pull request, request a refresh with /jira refresh.

In response to [this](https://github.com/red-hat-storage/ceph-qe-scripts/pull/602): >…objects, while the current object is removed via s3cmd Instructions for interacting with me using PR comments are available [here](https://prow.ci.openshift.org/command-help?repo=red-hat-storage%2Fceph-qe-scripts). If you have questions or suggestions related to my behavior, please file an issue against the [openshift-eng/jira-lifecycle-plugin](https://github.com/openshift-eng/jira-lifecycle-plugin/issues/new) repository.
openshift-ci-robot commented 4 months ago

@ckulal: No Jira issue with key CEPH-83573543 exists in the tracker at https://issues.redhat.com/. Once a valid jira issue is referenced in the title of this pull request, request a refresh with /jira refresh.

In response to [this](https://github.com/red-hat-storage/ceph-qe-scripts/pull/602): >…objects, while the current object is removed via s3cmd > >Automation of: Polarian: CEPH-83573543: Verify lifecycle removes all the non-current objects, while the current object is removed via s3cmd > >As a part of this PR: >1. Added script and config to implement Polarian: CEPH-83573543 >2. Enhanced existing script to use global variables >3. Written reusable methods for rgw service restart and enabling version for existing bucket > >Log: >[test_lc_expiration_noncurrent_when_current_object_deleted_via_s3cmd.console.log](https://github.com/user-attachments/files/15898503/test_lc_expiration_noncurrent_when_current_object_deleted_via_s3cmd.console.log) > Instructions for interacting with me using PR comments are available [here](https://prow.ci.openshift.org/command-help?repo=red-hat-storage%2Fceph-qe-scripts). If you have questions or suggestions related to my behavior, please file an issue against the [openshift-eng/jira-lifecycle-plugin](https://github.com/openshift-eng/jira-lifecycle-plugin/issues/new) repository.
openshift-ci-robot commented 4 months ago

@ckulal: No Jira issue with key CEPH-83573543 exists in the tracker at https://issues.redhat.com/. Once a valid jira issue is referenced in the title of this pull request, request a refresh with /jira refresh.

In response to [this](https://github.com/red-hat-storage/ceph-qe-scripts/pull/602): >…objects, while the current object is removed via s3cmd > >Automation of: Polarian: CEPH-83573543: Verify lifecycle removes all the non-current objects, while the current object is removed via s3cmd > >As a part of this PR: >1. Added script and config to implement Polarian: CEPH-83573543 >2. Enhanced existing script to use global variables >3. Written reusable methods for rgw service restart and enabling version for existing bucket > >Log: >[Uploading test_lc_expiration_noncurrent_when_current_object_deleted_via_s3cmd.console-new.log…]() > > Instructions for interacting with me using PR comments are available [here](https://prow.ci.openshift.org/command-help?repo=red-hat-storage%2Fceph-qe-scripts). If you have questions or suggestions related to my behavior, please file an issue against the [openshift-eng/jira-lifecycle-plugin](https://github.com/openshift-eng/jira-lifecycle-plugin/issues/new) repository.
ckulal commented 4 months ago

@ckulal, Request you to run atleast a few regression tests using the same script.

Regression pass logs for existing config:

test_s3cmd_lifecycle_archive_current_expiration: Test_LC_on_archive_for_current_versions_0.log

test_s3cmd_lifecycle_archive_noncurrent_expiration: Test_LC_on_archive_for_non-current_versions_0.log

TejasC88 commented 3 months ago

LGTM

openshift-ci[bot] commented 3 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ckulal, mkasturi18, 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