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
OCPBUGS-20085: IBMCloud: Handle disk delete errors #7515
OCPBUGS-20085: IBMCloud: Handle disk delete errors #7515
Conversation
/retest-required |
/test e2e-ibmcloud-ovn |
@cjschaef do you want to open a Jira issue for this ? 1. This seems like a bug fix 2. Will be needed if you want to backport this to older releases. |
@sadasu cc @MayXuQQ I'll take your data to open the bug, but reproducing the error will likely be hard, since it is a very unique case from IBM Cloud API's. |
/retitle OCPBUGS-20085: IBMCloud: Handle disk delete errors |
@cjschaef: This pull request references Jira Issue OCPBUGS-20085, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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. |
@cjschaef: This pull request references Jira Issue OCPBUGS-20085, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
/test e2e-ibmcloud-ovn |
/retest |
1 similar comment
/retest |
@cjschaef I just found this bug once |
found this issue in https://qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.13-amd64-nightly-ibmcloud-ipi-rt-f28/1710327579702988800
|
/retest |
3 similar comments
/retest |
/retest |
/retest |
/test e2e-ibmcloud-ovn |
@cjschaef what do the errors in e2e-ibmcloud-ovn indicate? |
/approve e2e-ibmcloud-ovn has been perma-failing and this fix has not changed that. |
@sadasu Sorry for the delay, yes the major failure I have seen is the event check for I haven't gotten a chance to open a Jira, but have notified IBM Cloud Storage to investigate further, likely cleaning up the repeated events causing the failure. I am hoping the other failures are flakes, but I'll try another few times to see if everything clears up and get an issue open for |
Known CSI driver bug for IBM Cloud opened /test e2e-ibmcloud-ovn |
/retest |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sadasu 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 |
pkg/destroy/ibmcloud/disk.go
Outdated
} | ||
if err != nil { | ||
if details == nil || details.StatusCode != http.StatusNotFound { | ||
return errors.Wrapf(err, "Failed to delete disk name=%s, id=%s.If this error continues to persist for more than 20 minutes then please try to manually cleanup the volume using - ibmcloud is vold %s", item.name, item.id, item.id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return errors.Wrapf(err, "Failed to delete disk name=%s, id=%s.If this error continues to persist for more than 20 minutes then please try to manually cleanup the volume using - ibmcloud is vold %s", item.name, item.id, item.id) | |
return fmt.Errorf("Failed to delete disk name=%s, id=%s.If this error continues to persist for more than 20 minutes then please try to manually cleanup the volume using - ibmcloud is vold %s: %w", item.name, item.id, item.id, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
3d1103b
to
8b60474
Compare
Handle cases when IBM Cloud disk deletion returns an error, without any response data. Related: https://issues.redhat.com//browse/OCPBUGS-20085
8b60474
to
13f2f9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
16bc6eb
into
openshift:master
@cjschaef: Jira Issue OCPBUGS-20085: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-20085 has been moved to the MODIFIED state. In response to this:
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. |
/cherry-pick release-4.15 |
@cjschaef: new pull request created: #7984 In response to this:
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. |
/cherry-pick release-4.14 |
@cjschaef: new pull request created: #7988 In response to this:
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. |
/cherry-pick release-4.13 |
@cjschaef: new pull request created: #7989 In response to this:
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. |
/cherry-pick release-4.12 |
@cjschaef: new pull request created: #7990 In response to this:
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. |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-installer-altinfra-container-v4.16.0-202402070113.p0.g16bc6eb.assembly.stream.el8 for distgit ose-installer-altinfra. |
Fix included in accepted release 4.16.0-0.nightly-2024-02-07-073830 |
Handle cases when IBM Cloud disk deletion returns an error, without any response data.