Bug 1874763 - Creating a VM from URL - after successfully importing the image the UI reports import error
Summary: Creating a VM from URL - after successfully importing the image the UI report...
Keywords:
Status: VERIFIED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.6
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.6.0
Assignee: Phillip Bailey
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-02 07:57 UTC by Tomas Jelinek
Modified: 2020-09-14 06:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)
import error (26.66 KB, image/png)
2020-09-02 07:57 UTC, Tomas Jelinek
no flags Details


Links
System ID Priority Status Summary Last Updated
Github openshift console pull 6499 None closed Bug 1874763: Fix import error status on VMs with a successfully completed CDI import 2020-09-14 06:55:59 UTC

Description Tomas Jelinek 2020-09-02 07:57:33 UTC
Created attachment 1713411 [details]
import error

Description of problem:
When creating a VM from URL, the import progress is properly shown and after the import finishes successfully, the UI shows import error. But if I try to start the VM, the VM normally starts and boots.

Version-Release number of selected component (if applicable):


How reproducible:
very

Steps to Reproduce:
1. Create a VM from for example this URL: http://ftp.upjs.sk/pub/centos/8.2.2004/isos/x86_64/CentOS-8.2.2004-x86_64-boot.iso
2. Wait until the import finishes
3. observe the error

Actual results:
UI shows an error as per screenshot

Expected results:
UI does not show any errors

Additional info:
data volume:
apiVersion: v1
items:
- apiVersion: cdi.kubevirt.io/v1beta1
  kind: DataVolume
  metadata:
    creationTimestamp: 2020-09-02T06:51:13Z
    generation: 87
    labels:
      kubevirt.io/created-by: cd0fbb74-c55f-4bca-9e55-80f86c28c71a
    managedFields:
    - apiVersion: cdi.kubevirt.io/v1alpha1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:labels:
            .: {}
            f:kubevirt.io/created-by: {}
          f:ownerReferences: {}
        f:spec:
          .: {}
          f:pvc:
            .: {}
            f:accessModes: {}
            f:resources:
              .: {}
              f:requests:
                .: {}
                f:storage: {}
            f:volumeMode: {}
          f:source:
            .: {}
            f:http:
              .: {}
              f:url: {}
        f:status: {}
      manager: virt-controller
      operation: Update
      time: 2020-09-02T06:51:13Z
    - apiVersion: cdi.kubevirt.io/v1beta1
      fieldsType: FieldsV1
      fieldsV1:
        f:status:
          f:conditions: {}
          f:phase: {}
          f:progress: {}
      manager: cdi-controller
      operation: Update
      time: 2020-09-02T06:54:14Z
    name: centos-rootdisk-zi48e
    namespace: th
    ownerReferences:
    - apiVersion: kubevirt.io/v1alpha3
      blockOwnerDeletion: true
      controller: true
      kind: VirtualMachine
      name: centos
      uid: cd0fbb74-c55f-4bca-9e55-80f86c28c71a
    resourceVersion: "3371476"
    selfLink: /apis/cdi.kubevirt.io/v1beta1/namespaces/th/datavolumes/centos-rootdisk-zi48e
    uid: 68883d08-f14e-47b2-8ab4-5c431d5431cc
  spec:
    pvc:
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 10Gi
      volumeMode: Filesystem
    source:
      http:
        url: http://ftp.upjs.sk/pub/centos/8.2.2004/isos/x86_64/CentOS-8.2.2004-x86_64-boot.iso
  status:
    conditions:
    - lastHeartbeatTime: 2020-09-02T06:51:15Z
      lastTransitionTime: 2020-09-02T06:51:15Z
      message: PVC centos-rootdisk-zi48e Bound
      reason: Bound
      status: "True"
      type: Bound
    - lastHeartbeatTime: 2020-09-02T06:54:14Z
      lastTransitionTime: 2020-09-02T06:54:14Z
      status: "True"
      type: Ready
    - lastHeartbeatTime: 2020-09-02T06:54:14Z
      lastTransitionTime: 2020-09-02T06:54:14Z
      message: Import Complete
      reason: Completed
      status: "False"
      type: Running
    phase: Succeeded
    progress: 100.0%
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""


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