-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Quality / Stability / Reliability
-
0.42
-
False
-
-
False
-
CNV v4.21.0.rhel9-16
-
-
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:
- is duplicated by
-
CNV-71587 cannot view checkup vm details - Something wrong happened
-
- Closed
-
-
CNV-76345 Fail to open VM detils - can't access property "name", e.disk is undefined
-
- Closed
-
- links to
-
RHEA-2025:155516
OpenShift Virtualization 4.21.0 Images