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

RHSTOR-4130: Cross storage class clone /restore #13549

Conversation

TimothyAsirJeyasing
Copy link
Contributor

@TimothyAsirJeyasing TimothyAsirJeyasing commented Jan 29, 2024

This patch provides the following feature:

  1. Storage Class Selection:
    Users can now choose a storage class from the same provider when cloning or restoring.
    This flexibility allows seamless transitions between storage classes with different replica counts (e.g., moving from SC with 3 replicas to 2/1 replicas).
  2. Managed Service Improvement:
    Managed services can now clone Persistent Volumes (PVs) from slow to fast storage classes.
    This enhancement ensures efficient data movement and optimisation.
    Epic link: https://issues.redhat.com/browse/RHSTOR-4130

@openshift-ci openshift-ci bot added component/core Related to console core functionality needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 29, 2024
Copy link
Contributor

openshift-ci bot commented Jan 29, 2024

Hi @TimothyAsirJeyasing. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@TimothyAsirJeyasing
Copy link
Contributor Author

image
image
image

@TimothyAsirJeyasing
Copy link
Contributor Author

@SanjalKatiyar Please review

@SanjalKatiyar
Copy link
Contributor

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jan 29, 2024
@SanjalKatiyar
Copy link
Contributor

please check how restore-pvc-modal.tsx is implemented... changes are not correct right now...

@GowthamShanmugam
Copy link
Contributor

please check how restore-pvc-modal.tsx is implemented... changes are not correct right now...

Ya, just now I noticed, restore-pvc-modal.tsx has a better implementation, cc: @TimothyAsirJeyasing please check

@TimothyAsirJeyasing
Copy link
Contributor Author

image
image

@SanjalKatiyar
Copy link
Contributor

please check how restore-pvc-modal.tsx is implemented... changes are not correct right now...

this is still missing, create button is not disabled (for cases where it should be)...

@SanjalKatiyar
Copy link
Contributor

if "clone" modal is filtering based on same provisioner + encrypted SC, then same filtering should be added for "restore" modal too...

@TimothyAsirJeyasing
Copy link
Contributor Author

For restore modal, there is no option available about encryption for snapshot class resource of VolumeSnapshotClass kind. We need the operator to provide this.

@SanjalKatiyar
Copy link
Contributor

For restore modal, there is no option available about encryption for snapshot class resource of VolumeSnapshotClass kind. We need the operator to provide this.

not really, don't you know which StorageClass was used for creating the snapshot ?? Once you know that, you can simply check if that StorageClass and new selected ones are both encrypted or not...
but before that you need to ensure this: #13549 (comment)

@TimothyAsirJeyasing
Copy link
Contributor Author

image
image

@TimothyAsirJeyasing
Copy link
Contributor Author

image

@openshift-ci openshift-ci bot added kind/cypress Related to Cypress e2e integration testing and removed lgtm Indicates that a PR is ready to be merged. labels Feb 26, 2024
@TimothyAsirJeyasing
Copy link
Contributor Author

/retest

@TimothyAsirJeyasing
Copy link
Contributor Author

/test e2e-gcp-console
/test frontend

@TimothyAsirJeyasing
Copy link
Contributor Author

@jhadvig please have a look

Copy link
Member

@jhadvig jhadvig left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Thanks @TimothyAsirJeyasing for this PR :)

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 27, 2024
Copy link
Contributor

openshift-ci bot commented Feb 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cyril-ui-developer, jhadvig, TimothyAsirJeyasing

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 27, 2024
@cyril-ui-developer
Copy link
Contributor

QE Approver:
/assign @yapei
Docs Approver:
/assign @opayne1
PX Approver:
/assign @RickJWagner

@RickJWagner
Copy link

Thank you for providing the screen snapshots, they are very useful for reviews.

/label px-approved

@openshift-ci openshift-ci bot added the px-approved Signifies that Product Support has signed off on this PR label Feb 28, 2024
@RickJWagner RickJWagner removed their assignment Feb 28, 2024
@SanjalKatiyar
Copy link
Contributor

QE Approver: /assign @yapei Docs Approver: /assign @opayne1 PX Approver: /assign @RickJWagner

@yapei @opayne1 can you guys please take a look and add labels if that's alright ?

@yapei
Copy link
Contributor

yapei commented Mar 4, 2024

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Mar 4, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 4, 2024

@TimothyAsirJeyasing: This pull request references RHSTOR-4130 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.16.0" version, but no target version was set.

In response to this:

This patch provides the following feature:

  1. Storage Class Selection:
    Users can now choose a storage class from the same provider when cloning or restoring.
    This flexibility allows seamless transitions between storage classes with different replica counts (e.g., moving from SC with 3 replicas to 2/1 replicas).
  2. Managed Service Improvement:
    Managed services can now clone Persistent Volumes (PVs) from slow to fast storage classes.
    This enhancement ensures efficient data movement and optimisation.
    Epic link: https://issues.redhat.com/browse/RHSTOR-4130

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 openshift-eng/jira-lifecycle-plugin repository.

@opayne1
Copy link
Contributor

opayne1 commented Mar 4, 2024

/label docs-approved

@openshift-ci openshift-ci bot added the docs-approved Signifies that Docs has signed off on this PR label Mar 4, 2024
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD d6e2e1e and 2 for PR HEAD 58c5ff4 in total

@TimothyAsirJeyasing
Copy link
Contributor Author

/test e2e-gcp-console

1 similar comment
@TimothyAsirJeyasing
Copy link
Contributor Author

/test e2e-gcp-console

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD f968847 and 1 for PR HEAD 58c5ff4 in total

@SanjalKatiyar
Copy link
Contributor

/test e2e-gcp-console

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 13aeba4 and 0 for PR HEAD 58c5ff4 in total

@openshift-merge-bot openshift-merge-bot bot merged commit fbca5b1 into openshift:master Mar 6, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/core Related to console core functionality component/shared Related to console-shared docs-approved Signifies that Docs has signed off on this PR jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. kind/cypress Related to Cypress e2e integration testing lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. px-approved Signifies that Product Support has signed off on this PR qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants