forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error message on virtctl image-upload to WaitForFirstConsumer Dat…
…aVolume When the DV is in phase WaitForFirstConsumer the PVC cannot be bound until first consumer pod shows up, so the upload is not possible. Previously the virtclt timed out, and now it shows an error informing what happened. The check only works for upload to DataVolume. Implementing this check for upload to PVC would mean re-implementing CDI logic that updates DataVolume state. It is assumed that users wanting to utilize all CDI functionality use DataVolumes, and users that use PVC have a good reason not to use DV. Signed-off-by: Bartosz Rybacki <[email protected]>
- Loading branch information
Showing
2 changed files
with
99 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters