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

[System Test] verify cluster-wide-encryption key at clusterfull, noobaa rebuild and after noobaa db recovery #10082

Closed
wants to merge 21 commits into from

Conversation

nagendra202
Copy link
Contributor

Automated below test case:

  1. Verify the successful execution of cluster-wide key rotation under below scenarios
    a) cluster nearing full ratios
    b) noobaa db replacement
    c) noobaa db backup recovery

@nagendra202 nagendra202 requested review from a team as code owners July 12, 2024 06:49
Copy link

openshift-ci bot commented Jul 12, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: nagendra202

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

@PrasadDesala PrasadDesala added the team/e2e E2E team related issues/PRs label Sep 6, 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.

PR validation on existing cluster

Cluster Name: nagreddy-s10-417
Cluster Configuration:
PR Test Suite: system_test
PR Test Path: tests/cross_functional/system_test/test_cluster_wide_key_rotation_system.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
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.

Unknown PR validation on existing cluster

Cluster Name: nagreddy-s10-417
Cluster Configuration:
PR Test Suite: system_test
PR Test Path: tests/cross_functional/system_test/test_cluster_wide_key_rotation_system.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master

Job state: ABORTED.

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: nagreddy-s10-417
Cluster Configuration:
PR Test Suite: system_test
PR Test Path: tests/cross_functional/system_test/test_cluster_wide_key_rotation_system.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
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: nagreddy-s12-417
Cluster Configuration:
PR Test Suite: system_test
PR Test Path: tests/cross_functional/system_test/test_cluster_wide_key_rotation_system.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master

Job UNSTABLE (some or all tests failed).

@nagendra202 nagendra202 self-assigned this Sep 19, 2024
bucket_name = bucket_factory()[0].name

# Backup and restore noobaa db using fixture
noobaa_db_backup_and_recovery_locally()
Copy link
Contributor

Choose a reason for hiding this comment

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

test will fail as it uses the default function scoped fixture bucket_factory() so you need to pass the parent function argument bucket_factory which is session scoped

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

Signed-off-by: nagendra202 <[email protected]>
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

Cluster Name:
Cluster Configuration:
PR Test Suite: system_test
PR Test Path: tests/cross_functional/system_test/test_cluster_wide_key_rotation_system.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master

Job FAILED (installation failed, tests not executed).

Copy link
Contributor Author

@nagendra202 nagendra202 left a comment

Choose a reason for hiding this comment

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

addressed review comments.

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: nagreddy-s25-bz
Cluster Configuration:
PR Test Suite: system_test
PR Test Path: tests/cross_functional/system_test/test_cluster_wide_key_rotation_system.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
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: nagreddy-s27-pr
Cluster Configuration:
PR Test Suite: system_test
PR Test Path: tests/cross_functional/system_test/test_cluster_wide_key_rotation_system.py
Additional Test Params:
OCP VERSION: 4.17
OCS VERSION: 4.17
tested against branch: master

Job UNSTABLE (some or all tests failed).

sidhant-agrawal and others added 4 commits September 30, 2024 12:46
…vider cluster only (red-hat-storage#10172)

In provider mode multicluster run, set 'cluster_kubeconfig' if the resource kind is available only in provider cluster.

Created a primary list of 'Kind' which are available in provider cluster.
Set the cluster_kubeconfig value to provider cluster kubeconfig path if the Kind is available in the list.

Signed-off-by: Jilju Joy <[email protected]>
@@ -357,6 +357,43 @@
PROVIDER_CLIENT_DEPLOYMENT_DIR, "native_storage_client.yaml"
)

PROVIDER_CLUSTER_RESOURCE_KINDS = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @jilju can you pls check if that is legit to pull this into master?

Copy link
Contributor

Choose a reason for hiding this comment

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

This commit is already merged a week ago. Please rebase.

Copy link
Contributor

Choose a reason for hiding this comment

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

@nagendra202 Please check

@openshift-merge-robot
Copy link
Collaborator

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@nagendra202
Copy link
Contributor Author

Mistakenly pulled different branches to my PR, hence closing this PR and the same code changes raised from an another branch PR- #10603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase size/XXL team/e2e E2E team related issues/PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.