Bug 1929177

Summary: Add to release: golden images - DV should not be created with WaitForFirstConsumer BZ: 1915694
Product: Container Native Virtualization (CNV) Reporter: Yaacov Zamir <yzamir>
Component: DocumentationAssignee: Bob Gaydos <bgaydos>
Status: CLOSED CURRENTRELEASE QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.6.0CC: bgaydos, cnv-qe-bugs, gouyang, ycui
Target Milestone: ---Flags: gouyang: needinfo-
Target Release: 2.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 23:46:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.