Bug 1929177 - Add to release: golden images - DV should not be created with WaitForFirstConsumer BZ: 1915694
Summary: Add to release: golden images - DV should not be created with WaitForFirstCon...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Documentation
Version: 2.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 2.6.0
Assignee: Bob Gaydos
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-16 11:12 UTC by Yaacov Zamir
Modified: 2021-03-01 00:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 23:46:24 UTC
Target Upstream Version:
Embargoed:
gouyang: needinfo-


Attachments (Terms of Use)

Description Yaacov Zamir 2021-02-16 11:12:10 UTC
Document URL: 
Add to CNV 2.6 release note the BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1915694
When creating an HPP golden image, the DV is pending (WaitForFirstConsumer) if user create it from URL using the "Add source" button in the templates list view.

reason: missing anotation cdi.kubevirt.io/storage.bind.immediate.requested: "true" in the DataVoluem object.

the workaound:  UI -> PVCs -> Upload Data Form, (no option for URL import) / add annotation manually

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information:

Comment 5 Bob Gaydos 2021-02-22 09:09:19 UTC
Hi @gouyang -

Try this draft:

* When creating a HPP boot source, the data volume is `pending` with a `WaitForFirstConsumer` status if a user creates the boot source using any method except the `Upload local file (creates PVC)` option. To resolve this issue, edit the YAML that defines the PVC in the Storage > PersistentVolumeClaims screen. Add the annotation `cdi.kubevirt.io/storage.bind.immediate.requested: "true"` to the YAML defining the persistent volume claim. (link:https://bugzilla.redhat.com/show_bug.cgi?id=1929177[*BZ#1929177*])

Thanks,

Bob

See PR for test build: https://github.com/openshift/openshift-docs/pull/29268

Comment 6 Guohua Ouyang 2021-02-22 10:13:10 UTC
Looks good to me.

Comment 7 Bob Gaydos 2021-02-22 20:18:00 UTC
See PR: https://github.com/openshift/openshift-docs/pull/29268

Once verified, I will move to closed.


Note You need to log in before you can comment on or make changes to this bug.