Bug 1874763

Summary: Creating a VM from URL - after successfully importing the image the UI reports import error
Product: OpenShift Container Platform Reporter: Tomas Jelinek <tjelinek>
Component: Console Kubevirt PluginAssignee: Phillip Bailey <phbailey>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.6CC: aos-bugs, olauenge, phbailey
Target Milestone: ---   
Target Release: 4.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: 2020-10-27 16:37:10 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:
Attachments:
Description Flags
import error none

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: ""

Comment 4 errata-xmlrpc 2020-10-27 16:37:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196