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

[release-v1.57] Ensure priority class is assigned to pod populating pvc prime #2872

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

awels
Copy link
Member

@awels awels commented Aug 25, 2023

What this PR does / why we need it:

Manual backport of #2864

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

Release note:

NONE

…rt#2864)

* Ensure priority class is assigned to pod populating pvc prime

Priority class was not being passed to the pvc prime from the PVC
and thus was not being added to the importer pod populating the
pvc prime. There is a list of allowed annotations that can be passed
and the priority class annotation was not in it. This commit adds
the annotation to the allowed list.

Cleaned up unneed log argument to a function related to passing the
annotations.

Signed-off-by: Alexander Wels <awels@redhat.com>

* Restore the logger as it was logging the pvc name as well
as the log message. Modified the name to make it clearer
this is the case.

Signed-off-by: Alexander Wels <awels@redhat.com>

* Have upload also use the populator, can't do clone
because the pod disappears too quickly without retain

Signed-off-by: Alexander Wels <awels@redhat.com>

* Test for priority class in upload as well as fix typo in cloning test.

Signed-off-by: Alexander Wels <awels@redhat.com>

---------

Signed-off-by: Alexander Wels <awels@redhat.com>
Signed-off-by: Alexander Wels <awels@redhat.com>
@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. size/M labels Aug 25, 2023
@mhenriks
Copy link
Member

/retest-required

@mhenriks
Copy link
Member

/lgtm
/approve

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mhenriks

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

@kubevirt-bot kubevirt-bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 25, 2023
@awels
Copy link
Member Author

awels commented Aug 25, 2023

/override pull-containerized-data-importer-e2e-ceph-wffc
/override pull-containerized-data-importer-e2e-destructive

@kubevirt-bot
Copy link
Contributor

@awels: Overrode contexts on behalf of awels: pull-containerized-data-importer-e2e-ceph-wffc, pull-containerized-data-importer-e2e-destructive

In response to this:

/override pull-containerized-data-importer-e2e-ceph-wffc
/override pull-containerized-data-importer-e2e-destructive

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.

@awels
Copy link
Member Author

awels commented Aug 25, 2023

/override pull-containerized-data-importer-e2e-hpp-latest
/override pull-containerized-data-importer-e2e-istio
/override pull-containerized-data-importer-e2e-nfs
/override pull-containerized-data-importer-e2e-upg
/override pull-containerized-data-importer-non-csi-hpp

@kubevirt-bot
Copy link
Contributor

@awels: Overrode contexts on behalf of awels: pull-containerized-data-importer-e2e-hpp-latest, pull-containerized-data-importer-e2e-istio, pull-containerized-data-importer-e2e-nfs, pull-containerized-data-importer-e2e-upg, pull-containerized-data-importer-non-csi-hpp

In response to this:

/override pull-containerized-data-importer-e2e-hpp-latest
/override pull-containerized-data-importer-e2e-istio
/override pull-containerized-data-importer-e2e-nfs
/override pull-containerized-data-importer-e2e-upg
/override pull-containerized-data-importer-non-csi-hpp

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.

@awels
Copy link
Member Author

awels commented Aug 25, 2023

/override pull-containerized-data-importer-fossa

@kubevirt-bot
Copy link
Contributor

@awels: Overrode contexts on behalf of awels: pull-containerized-data-importer-fossa

In response to this:

/override pull-containerized-data-importer-fossa

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.

@kubevirt-bot kubevirt-bot merged commit c2cd178 into kubevirt:release-v1.57 Aug 25, 2023
1 check 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. 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-none Denotes a PR that doesn't merit a release note. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants