Description of problem: Create a VM from cli or web console and start the VM, check the VM details, the POD value is blank. Version-Release number of selected component (if applicable): v1.2.0-5-2-g7d06705 How reproducible: 100% Steps to Reproduce: 1. create a vm and start the vm 2. go to vm detail page 3. check the pod value Actual results: The value of pod is "--". Expected results: VM's pod is showing. Additional info:
Could you please attach the dumps of the VM, VMI and pod objects?
Created attachment 1486607 [details] blank_pod
Created attachment 1486608 [details] vm_vmi_pod
Thank you! The regression has been caused by https://github.com/kubevirt/kubevirt/commit/1bf7d0f7281c40de5ec27a8e6e3c8a8406c17c7f which moved the "kubevirt.io/domain" from labels to annotations, while the UI is still looking for it in the labels. @Fabian: any idea why has it been changed? Does this change need to go into 1.2?
The change was done to follow existing Kubernetes patterns, where relations between entities are expressed in owner or object references. I assume you used the label to find a pod for a VM?
A clarification: My comment was incorrect. The reason for the change you highlight was because we needed to avoid to exceed the label length limit, that's why we went in that case to uids.
> I assume you used the label to find a pod for a VM? right. So what should be the new correct way of doing this association?
Should be fixed by https://github.com/kubevirt/origin-web-console/pull/13, available in cnv12-tech-preview/origin-web-console:1.2-5 image (brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/cnv12-tech-preview/origin-web-console:1.2-5)
*** Bug 1637087 has been marked as a duplicate of this bug. ***
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, 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/RHEA-2018:2953