Description of problem: There isn't certificate subject under vms/{vmId} in the display node. It isn't accessible even under vms/{vmId}/graphicsconsoles. The functionality is needed for the moVirt client to connect to the console. Version-Release number of selected component (if applicable): Tried in 4.0.4.2 and 4.1.0 Expected results: There should be a way to get certificate subject with the API old way in 3.6: <vm> <display> <certificate> <subject/> </certificate> </display> </vm>
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
While investigating the issue I found that the problem isn't in the API, but in the backend command. As the fix is simple, I am taking the bug.
The fix for this bug wasn't included in the first 4.0.5 build, so moving back to MODIFIED.
Verify with: Engine: Red Hat Virtualization Manager Version: 4.0.5.2-0.2.el7ev Host: OS Version:RHEL - 7.3 - 6.el7 OS Description:Red Hat Enterprise Linux Server 7.3 Beta (Maipo) Kernel Version:3.10.0 - 510.el7.x86_64 KVM Version:2.6.0 - 27.el7 LIBVIRT Version:libvirt-2.0.0-10.el7 VDSM Version:vdsm-4.18.13-1.el7ev SPICE Version:0.12.4 - 19.el7 Steps: 1. Start VM 2. Check display element via REST Results: <display> <address>10.35.117.88</address> <allow_override>false</allow_override> <certificate> <subject> O=scl.lab.tlv.redhat.com,CN=seal08.qa.lab.tlv.redhat.com </subject> </certificate> <copy_paste_enabled>true</copy_paste_enabled> <disconnect_action>LOCK_SCREEN</disconnect_action> <file_transfer_enabled>true</file_transfer_enabled> <monitors>1</monitors> <secure_port>5902</secure_port> <single_qxl_pci>false</single_qxl_pci> <smartcard_enabled>false</smartcard_enabled> <type>spice</type> </display>