Skip to content
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

Test overriding the noobaa-default backingstore + add support for RGW backingstore creation #8193

Conversation

sagihirshfeld
Copy link
Contributor

@sagihirshfeld sagihirshfeld commented Aug 6, 2023

Coverage for https://url.corp.redhat.com/140509f

The implementation of the upgrade TC required to override the default backingstore with a backingstore of the same type, in order to limit the affect on other tests. To handle the cases where the default backingstore is using RGW (like in our vSphere deployments) support for RGW backingstore creation has been added, and two basic test cases has been added to validate this support while extending our coverage:

  • tests/manage/mcg/test_write_to_bucket.py::TestBucketIO::test_write_file_to_bucket[RGW-OC-1]
  • tests/manage/mcg/test_write_to_bucket.py::TestBucketIO::test_write_file_to_bucket[RGW-CLI-1]

Requires a backport to release-4.14

@sagihirshfeld sagihirshfeld self-assigned this Aug 6, 2023
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Aug 6, 2023
@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch from 39b5748 to 27abb0b Compare August 6, 2023 15:03
@sagihirshfeld sagihirshfeld added MCG Multi Cloud Gateway / NooBaa related issues MCG-4.14 Squad/Red labels Aug 8, 2023
@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch 2 times, most recently from 8f72ab5 to fed5b70 Compare September 3, 2023 17:06
@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch from fed5b70 to 5226821 Compare September 26, 2023 15:19
@sagihirshfeld sagihirshfeld added the Needs Testing Run tests and provide logs link label Oct 1, 2023
keesturam
keesturam previously approved these changes Oct 12, 2023
Copy link
Member

@keesturam keesturam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat PR!
LGTM.

@openshift-ci openshift-ci bot added the lgtm label Oct 12, 2023
@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch from 6d77f7c to af9ff7e Compare November 20, 2023 08:31
@openshift-ci openshift-ci bot removed the lgtm label Nov 20, 2023
@pull-request-size pull-request-size bot added size/XL and removed size/L PR that changes 100-499 lines labels Nov 26, 2023
@sagihirshfeld sagihirshfeld changed the title Test overriding the noobaa-default backingstore Test overriding the noobaa-default backingstore + add support for RGW backingstore creation Nov 26, 2023
@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch from bb66eb9 to 30430bb Compare December 10, 2023 12:58
@sagihirshfeld sagihirshfeld marked this pull request as ready for review December 10, 2023 12:58
@sagihirshfeld sagihirshfeld requested review from a team as code owners December 10, 2023 12:58
@sagihirshfeld sagihirshfeld added the backport-required Mark for PRs that need to be backported to older release branches label Dec 17, 2023
Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR validation on existing cluster

Cluster Name: shirshfe-415vs01
Cluster Configuration:
PR Test Suite: tier1 or tier2
PR Test Path: tests/manage/mcg/test_default_backingstore_override.py
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job UNSTABLE (some or all tests failed).

Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR validation on existing cluster

Cluster Name: shirshfe-415aws01
Cluster Configuration: conf/deployment/aws/ipi_3az_rhcos_3m_3w_3i.yaml
PR Test Suite:
PR Test Path: ;;tests/manage/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_default_buckets_backingstore tests/manage/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_bucketclass_replication_after_default_backingstore_override
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job FAILED (installation failed, tests not executed).

Signed-off-by: Sagi Hirshfeld <[email protected]>
Signed-off-by: Sagi Hirshfeld <[email protected]>
@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch from 4e60518 to 64169be Compare January 18, 2024 09:25
@sagihirshfeld sagihirshfeld added Needs Testing Run tests and provide logs link and removed Verified Mark when PR was verified and log provided labels Jan 18, 2024
Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unknown PR validation

Cluster Name:
Cluster Configuration:
PR Test Suite:
PR Test Path: tests/functional/object/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_bucketclass_replication_after_default_backingstore_override
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job state: ABORTED.

@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch from 17c912c to 8e21649 Compare January 21, 2024 13:39
Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR validation on existing cluster

Cluster Name: shirshfe-415vs03
Cluster Configuration:
PR Test Suite:
PR Test Path: tests/manage/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_default_buckets_backingstore tests/manage/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_bucketclass_replication_after_default_backingstore_override
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job FAILED (installation failed, tests not executed).

Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR validation on existing cluster

Cluster Name: shirshfe-415vs03
Cluster Configuration:
PR Test Suite:
PR Test Path: tests/functional/object/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_bucketclass_replication_after_default_backingstore_override
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job UNSTABLE (some or all tests failed).

Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR validation on existing cluster

Cluster Name: shirshfe-415vs03
Cluster Configuration:
PR Test Suite:
PR Test Path: tests/functional/object/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_bucketclass_replication_after_default_backingstore_override
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job UNSTABLE (some or all tests failed).

@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch 3 times, most recently from 9bb7023 to 02fd4e1 Compare January 21, 2024 16:43
@sagihirshfeld sagihirshfeld force-pushed the test-default-backingstore-override branch from 02fd4e1 to 7318575 Compare January 21, 2024 17:29
Copy link
Contributor

@mashetty330 mashetty330 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this may need validation of both MCG tier1, tier2 tests. please run it.

Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR validation on existing cluster

Cluster Name: shirshfe-415i01
Cluster Configuration:
PR Test Suite:
PR Test Path: tests/functional/object/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_bucketclass_replication_after_default_backingstore_override
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job UNSTABLE (some or all tests failed).

Copy link

@ocs-ci ocs-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR validation on existing cluster

Cluster Name: shirshfe-415i01
Cluster Configuration:
PR Test Suite:
PR Test Path: tests/functional/object/mcg/test_default_backingstore_override.py::TestDefaultBackingstoreOverride::test_bucketclass_replication_after_default_backingstore_override
Additional Test Params:
OCP VERSION: 4.15
OCS VERSION: 4.15
tested against branch: master

Job PASSED.

Copy link
Contributor

@udaysk23 udaysk23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

openshift-ci bot commented Feb 8, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: keesturam, mashetty330, sagihirshfeld, udaysk23

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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@keesturam keesturam merged commit 42b5641 into red-hat-storage:master Feb 8, 2024
6 of 7 checks passed
@sagihirshfeld sagihirshfeld removed the Needs Testing Run tests and provide logs link label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-required Mark for PRs that need to be backported to older release branches lgtm MCG Multi Cloud Gateway / NooBaa related issues MCG-4.14 size/XL Squad/Red
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants