Bug 1916829 - DataVolume stuck in WaitForFirstConsumer phase when using Hostpath Provisioner
Summary: DataVolume stuck in WaitForFirstConsumer phase when using Hostpath Provisioner
Keywords:
Status: CLOSED DUPLICATE of bug 1914947
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 2.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Adam Litke
QA Contact: Ying Cui
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-15 16:04 UTC by Chandler Wilkerson
Modified: 2021-01-15 19:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-15 19:01:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Chandler Wilkerson 2021-01-15 16:04:10 UTC
Description of problem:
I am unable to create DataVolumes using CDI using URL, local file upload, nor PVC clone. It seems the cdi Pod fails to start, and the DataVolume remains in WaitForFirstConsumer

Version-Release number of selected component (if applicable):
CNV 2.6.0 iib tag 38863
OCP 4.7

How reproducible:
Always

Steps to Reproduce:
1. Set up hostpath provisioner 
2. Create DV using UI Workloads -> Virtualization -> Templates -> CentOS 8
via URL https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20201217.0.x86_64.qcow2
3.

Actual results:
$ oc get pvc,dv -A
NAMESPACE                            NAME                            STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS           AGE
openshift-virtualization-os-images   persistentvolumeclaim/centos8   Pending                                      hostpath-provisioner   19m

NAMESPACE                            NAME                                 PHASE                  PROGRESS   RESTARTS   AGE
openshift-virtualization-os-images   datavolume.cdi.kubevirt.io/centos8   WaitForFirstConsumer   N/A                   19m


Expected results:

DV progresses to download from URL

Additional info:

apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
  name: centos8
  namespace: openshift-virtualization-os-images
spec:
  pvc:
    accessModes:
    - ReadWriteOnce
    resources:
      requests:
        storage: 20Gi
    storageClassName: hostpath-provisioner
    volumeMode: Filesystem
  source:
    http:
      url: https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20201217.0.x86_64.qcow2
status:
  conditions:
  - lastHeartbeatTime: "2021-01-15T15:43:07Z"
    lastTransitionTime: "2021-01-15T15:43:07Z"
    message: PVC centos8 Pending
    reason: Pending
    status: "False"
    type: Bound
  - lastHeartbeatTime: "2021-01-15T15:43:07Z"
    lastTransitionTime: "2021-01-15T15:43:07Z"
    status: "False"
    type: Ready
  - lastHeartbeatTime: "2021-01-15T15:43:07Z"
    lastTransitionTime: "2021-01-15T15:43:07Z"
    status: "False"
    type: Running
  phase: WaitForFirstConsumer
  progress: N/A

Comment 1 Adam Litke 2021-01-15 19:01:00 UTC

*** This bug has been marked as a duplicate of bug 1914947 ***


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