Skip to content

[release-v1.61] Fix ImagePullFailed handling in DIC controller#3660

Merged
kubevirt-bot merged 1 commit into
kubevirt:release-v1.61from
kubevirt-bot:cherry-pick-3576-to-release-v1.61
Mar 5, 2025
Merged

[release-v1.61] Fix ImagePullFailed handling in DIC controller#3660
kubevirt-bot merged 1 commit into
kubevirt:release-v1.61from
kubevirt-bot:cherry-pick-3576-to-release-v1.61

Conversation

@kubevirt-bot
Copy link
Copy Markdown
Contributor

This is an automated cherry-pick of #3576

/assign akalenyu

Fix ImagePullFailed handling in DataImportCron controller

Add DataVolume not-Running condition reason ImagePullFailedReason for
DataImportCron controller deletion of erroneous DVs.

In [test_id:8266] we exercise this flow by injecting a nonexistent
digest for the registry import, which did not lead us to the
ImagePullFailed flow but the usual GenericError one, as the container
status got the InvalidImageName reason because the digest was not 64
long. Fixed that.

Added InvalidImageName reason as a trigger of ImagePullFailed as
well.

Signed-off-by: Arnon Gilboa <[email protected]>
@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Mar 5, 2025
@akalenyu
Copy link
Copy Markdown
Collaborator

akalenyu commented Mar 5, 2025

/cc @arnongilboa @jpeimer
this should get rid of the conflict and probably makes sense to exist in 1.61

@kubevirt-bot
Copy link
Copy Markdown
Contributor Author

@akalenyu: GitHub didn't allow me to request PR reviews from the following users: jpeimer.

Note that only kubevirt members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

/cc @arnongilboa @jpeimer
this should get rid of the conflict and probably makes sense to exist in 1.61

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.

@akalenyu
Copy link
Copy Markdown
Collaborator

akalenyu commented Mar 5, 2025

/approve

@kubevirt-bot
Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akalenyu

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

The pull request process is described here

Details 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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 5, 2025
@jpeimer
Copy link
Copy Markdown
Contributor

jpeimer commented Mar 5, 2025

Thanks! LGTM

@arnongilboa
Copy link
Copy Markdown
Collaborator

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 5, 2025
@kubevirt-bot kubevirt-bot merged commit 9afe5b8 into kubevirt:release-v1.61 Mar 5, 2025
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants