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

add PendingPopulation DataVolume phase #2729

Merged
merged 2 commits into from
May 26, 2023

Conversation

mhenriks
Copy link
Member

What this PR does / why we need it:

kubevirt/kubevirt has to be aware of/handle this phase before it can consume a version of CDI that uses populators internally. By "handle", I mean that it is okay start the VM if a DV is in this state.

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

Signed-off-by: Michael Henriksen <mhenriks@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/XS labels May 25, 2023
@kubevirt-bot kubevirt-bot requested review from awels and maya-r May 25, 2023 12:46
@awels
Copy link
Member

awels commented May 25, 2023

/lgtm
/approve

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label May 25, 2023
@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awels

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 25, 2023
@mhenriks
Copy link
Member Author

/hold

Verifying kubevirt usage

@kubevirt-bot kubevirt-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 25, 2023
@@ -366,6 +366,9 @@ const (

// WaitForFirstConsumer represents a data volume with a current phase of WaitForFirstConsumer
WaitForFirstConsumer DataVolumePhase = "WaitForFirstConsumer"
// PendingPopulation represents a data volume which should be populated by
// the CDI populators but havn't created the pvc' yet
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: havn't. Since we want to merge this as soon as possible I guess it can be fixed in the next related PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's what I get for copying Shelly's code!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't get me started on your 'native English speaker' PR typos ;)

@kubevirt-bot kubevirt-bot removed the lgtm Indicates that a PR is ready to be merged. label May 25, 2023
@mhenriks
Copy link
Member Author

/unhold

@kubevirt-bot kubevirt-bot added size/S and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XS labels May 25, 2023
…lated

IsPopulated still valid and used elsewhere

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
@awels
Copy link
Member

awels commented May 25, 2023

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label May 25, 2023
@awels
Copy link
Member

awels commented May 25, 2023

/test pull-containerized-data-importer-e2e-upg

@kubevirt-bot kubevirt-bot merged commit fae6535 into kubevirt:main May 26, 2023
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/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants