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

BUG 2264900: rbd: add ParentInTrash parameter in rbdImage struct #298

Merged

Conversation

Rakshith-R
Copy link
Member

This commit adds ParentInTrash parameter in rbdImage struct and makes use of it in getParent() function in order to avoid error in case the parent is present but in trash.

Signed-off-by: Rakshith R [email protected]
(cherry picked from commit c34b31e)

Copy link

openshift-ci bot commented Apr 24, 2024

@Rakshith-R: This pull request references Bugzilla bug 2264900, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (ODF 4.16.0) matches configured target release for branch (ODF 4.16.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @keesturam

In response to this:

BUG 2264900: rbd: add ParentInTrash parameter in rbdImage struct

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.

Copy link

openshift-ci bot commented Apr 24, 2024

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: keesturam.

Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@Rakshith-R: This pull request references Bugzilla bug 2264900, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (ODF 4.16.0) matches configured target release for branch (ODF 4.16.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @keesturam

In response to this:

BUG 2264900: rbd: add ParentInTrash parameter in rbdImage struct

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.

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.

@openshift-ci openshift-ci bot added the approved Its a good idea label Apr 24, 2024
@Rakshith-R
Copy link
Member Author

/cc @red-hat-storage/ceph-csi-admins

@openshift-ci openshift-ci bot requested a review from a team April 24, 2024 09:33
@openshift-ci openshift-ci bot added the lgtm Code looks good label Apr 24, 2024
@Madhu-1
Copy link
Member

Madhu-1 commented Apr 24, 2024

/hold
@Rakshith-R CI is failing, is that expected?

@Madhu-1
Copy link
Member

Madhu-1 commented Apr 24, 2024

ceph#4522 contains 2 commits, but here i can see only 1

@openshift-ci openshift-ci bot removed the lgtm Code looks good label Apr 24, 2024
This commit adds ParentInTrash parameter in rbdImage struct
and makes use of it in getParent() function in order to avoid
error in case the parent is present but in trash.

Signed-off-by: Rakshith R <[email protected]>
(cherry picked from commit c34b31e)
@Rakshith-R
Copy link
Member Author

ceph#4522 contains 2 commits, but here i can see only 1

I didn't backpprt the e2e commit since we don't run it downstream.
PTAL

@Rakshith-R Rakshith-R requested review from Madhu-1 and removed request for Madhu-1 April 24, 2024 11:23
@Madhu-1
Copy link
Member

Madhu-1 commented Apr 24, 2024

ceph#4522 contains 2 commits, but here i can see only 1

I didn't backpprt the e2e commit since we don't run it downstream. PTAL

Even though we don't but we need to keep it in sync as it was part of the PR.

@Rakshith-R
Copy link
Member Author

ceph#4522 contains 2 commits, but here i can see only 1

I didn't backpprt the e2e commit since we don't run it downstream. PTAL

Even though we don't but we need to keep it in sync as it was part of the PR.

I don't see a point in that, we have previously cherry picked particular commits only from a pr, even though the commits were added with various other miscellaneous changes in the original pr.

This commit modifies a test case to check creation of
PVC-PVC clone of a restored PVC when parent snapshot
is deleted.

Signed-off-by: Rakshith R <[email protected]>
(cherry picked from commit 1bb78fd)
@Madhu-1
Copy link
Member

Madhu-1 commented Apr 25, 2024

ceph#4522 contains 2 commits, but here i can see only 1

I didn't backpprt the e2e commit since we don't run it downstream. PTAL

Even though we don't but we need to keep it in sync as it was part of the PR.

I don't see a point in that, we have previously cherry picked particular commits only from a pr, even though the commits were added with various other miscellaneous changes in the original pr.

that can be done if the changes are completely different not related to each other, The PR had 2 commits one for code changes and one for E2E for such cases it need to be insync.

@Madhu-1
Copy link
Member

Madhu-1 commented Apr 25, 2024

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Code looks good label Apr 25, 2024
Copy link

openshift-ci bot commented Apr 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iPraveenParihar, Madhu-1, Rakshith-R

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:
  • OWNERS [Madhu-1,Rakshith-R,iPraveenParihar]

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

@openshift-merge-bot openshift-merge-bot bot merged commit 5400d8a into red-hat-storage:release-4.16 Apr 25, 2024
3 of 10 checks passed
Copy link

openshift-ci bot commented Apr 25, 2024

@Rakshith-R: All pull requests linked via external trackers have merged:

Bugzilla bug 2264900 has been moved to the MODIFIED state.

In response to this:

BUG 2264900: rbd: add ParentInTrash parameter in rbdImage struct

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants