Description of problem: Edit a running VM, enable Smartcard sharing does not work. Version-Release number of selected component (if applicable): 4.3.9 How reproducible: 100% Steps to Reproduce: 1. Edit a running VM, enable Smartcard sharing 2. Check VmDevices tab, smartcard is not there Actual results: Smartcard is not enabled. Expected results: Smartcard should be enabled. Additional info: Even if VM is powered down/up it does not enable Smartcard, but the UI box still remains checked. Workaround: Shutdown the VM, disable Smartcard sharing, enable it back again, then boot the VM back up.
Verified with: ovirt-engine-4.4.1.7-0.3.el8ev.noarch Steps and results: 1. Edit a running VM, enable Smartcard: 1) there is a next run configuration indication on the VM list page, Smartcard is listed as one of the pending virtual machine changes. 2) Smartcard is not added on Vm Devices tab before restart. 2. Restart the VM: 1) Smartcard is added on Vm Devices tab. 2) check dumpxml, smartcard is added <smartcard mode='passthrough' type='spicevmc'> <alias name='ua-b0370c13-c055-4629-8c4b-ec4c0e6475bb'/> <address type='ccid' controller='0' slot='0'/> </smartcard> 3. Edit the running VM, disable Smartcard: 1) there is a next run configuration indication on the VM list page, Smartcard is listed as one of the pending virtual machine changes. 2) Smartcard is not removed on Vm Devices tab before restart. 4. Restart the VM: 1) Smartcard is removed on Vm Devices tab. 2) check dumpxml, there is no smartcard device. 5. Update an instant type with enabling Smartcard, succeeded. 6. Update an instant type with disabling Smartcard, succeeded.
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 (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), 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/RHSA-2020:3247