Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-71606 [UI] Clicking the name of a VM hits 'can't access property "name", e.disk is undefined'
  3. CNV-71956

QE Verify: [UI] Clicking the name of a VM hits 'can't access property "name", e.disk is undefined'

XMLWordPrintable

    • Quality / Stability / Reliability
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      [UI] Clicking the name of a VM hits 'can't access property "name", e.disk is undefined', and the web is unreachable

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

      4.20.1

      How reproducible:

      100%

      Steps to Reproduce:

      1.The VM is defined via
      
      $ cat vm.yaml 
      apiVersion: kubevirt.io/v1
      kind: VirtualMachine
      metadata:
        name: fedora-timao
        namespace: timao-test
        annotations:
          description: timao VM example
        labels:
          app: timao
          os.template.kubevirt.io/fedora: 'true'
      spec:
        runStrategy: Halted
        template:
          metadata:
            annotations:
              vm.kubevirt.io/flavor: small
              vm.kubevirt.io/os: fedora
              vm.kubevirt.io/workload: server
            labels:
              kubevirt.io/domain: example
              kubevirt.io/size: small
          spec:
            domain:
              cpu:
                cores: 1
                sockets: 1
                threads: 1
              devices:
                filesystems:
                  - name: config-fs
                    virtiofs: {}
                disks:
                  - disk:
                      bus: virtio
                    name: rootdisk
                  - disk:
                      bus: virtio
                    name: cloudinitdisk
                interfaces:
                  - masquerade: {}
                    model: virtio
                    name: default
                networkInterfaceMultiqueue: true
                rng: {}
              memory:
                guest: 2Gi
            hostname: example
            networks:
              - name: default
                pod: {}
            terminationGracePeriodSeconds: 180
            volumes:
              - name: rootdisk
                containerDisk:
                  image: 'quay.io/containerdisks/fedora'
              - cloudInitNoCloud:
                  userData: |-
                    #cloud-config
                    user: fedora
                    password: fedora
                    chpasswd: { expire: False }
                name: cloudinitdisk
              - configMap:
                  name: my-configmap
                name: config-fs
      
      
      2.$ kubectl create -f vm.yaml
      3.$ virtctl start fedora-timao --namespace timao-test
      4. In the web to check the details/Overview info of the VM

      Actual results:

      The web is unreachable and the hint info is:
      Something wrong happened
      can't access property "name", e.disk is undefined

      Expected results:

      Display the VM's info

      Additional info:

       

              gouyang1@redhat.com Guohua Ouyang
              mschatzm@redhat.com Matan Schatzman
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: