-
Notifications
You must be signed in to change notification settings - Fork 413
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-48675, OCPBUGS-48808: Ensure build job is deleted when rebuild is triggered #4807
base: master
Are you sure you want to change the base?
Conversation
@umohnani8: This pull request references Jira Issue OCPBUGS-48675, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: umohnani8 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 |
/jira refresh |
@umohnani8: This pull request references Jira Issue OCPBUGS-48675, 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: 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. |
5851477
to
df830f8
Compare
@umohnani8: This pull request references Jira Issue OCPBUGS-48675, which is valid. 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. This pull request references Jira Issue OCPBUGS-48808, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
@umohnani8: This pull request references Jira Issue OCPBUGS-48675, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: This pull request references Jira Issue OCPBUGS-48808, 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: 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. |
b5c7393
to
6d22ac3
Compare
We used an IPI in AWS cluster We followed the reproduce steps (but using v1 API) and the build was triggered correctly. Nevertheless, when the build finished the MOSB resource was not updated with the right status, and it remained in "failed" status. We could see this error in the os-builder pod
This is the state of the cluster
A must-gather file has been created, we can find it in a comment in the jira ticket. |
@sergiordlr I am not able to reproduce the issue you mentioned above. I ran through the steps described in both the bugs and in both cases, the mosb status has succeeded set to true after the build is successful. Following the steps in https://issues.redhat.com/browse/OCPBUGS-48808 to interrupt the build and then add the rebuild annotation:
Following the steps in https://issues.redhat.com/browse/OCPBUGS-48675 to create a mosc with incorrect secrets, fixing the secrets after failure, and then adding the rebuild annotation:
Can you please tell me what steps you followed where you saw the issue mentioned above. |
Ensure that the build job under the MOSB is deleted before deleting the MOSB when the rebuild annotation is added to the MOSC. This ensures proper cleanup so that the build can start again. Signed-off-by: Urvashi <umohnani@redhat.com>
@umohnani8: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Ensure that the build job under the MOSB is deleted before deleting the MOSB when the rebuild annotation is added to the MOSC. This ensures proper cleanup so that the build can start again.
Closes https://issues.redhat.com/browse/OCPBUGS-48675
Closes https://issues.redhat.com/browse/OCPBUGS-48808
- What I did
Ensure job is cleaned up when rebuild is triggered.
- How to verify it
Follow the steps in the bug lhttps://issues.redhat.com/browse/OCPBUGS-48675. With this fix, the rebuild should be triggered.
- Description for the changelog
Ensure rebuild is actually triggered when the rebuild annotation is added to the MOSC.