Bug 1948554 - Change of enable tpm can not be saved while vm running
Summary: Change of enable tpm can not be saved while vm running
Keywords:
Status: CLOSED DUPLICATE of bug 1937827
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.4.6
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Milan Zamazal
QA Contact: meital avital
URL:
Whiteboard: libvirt_RHV_INT
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-12 12:38 UTC by Yanqiu Zhang
Modified: 2021-04-13 02:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-12 13:30:16 UTC
oVirt Team: Virt
Embargoed:


Attachments (Terms of Use)

Description Yanqiu Zhang 2021-04-12 12:38:24 UTC
Description of problem:
While vm(without vtpm) running, tick 'TPM Device Enabled', ok. 'Changes that require vm restart' shows, but later check 'edit' again, the checkbox is still empty. Poweroff and run vm again, still no vtpm added.

Version-Release number of selected component (if applicable):
ovirt-engine-4.4.6.1-0.11.el8ev.noarch
vdsm-4.40.60.2-1.el8ev.x86_64
libvirt-7.0.0-13.module+el8.4.0+10604+5608c2b4.x86_64
qemu-kvm-5.2.0-14.module+el8.4.0+10425+ad586fa5.x86_64

How reproducible:
100%

Steps to Reproduce:
1. In uefi cluster, run a vm without vtpm

2. Edit vm to enable tpm device (to use it next start).

3. Check tpm dev status by edit again.

4. Restart vm to check vtpm.


Actual results:
In step2, 'Changes that require vm restart' shows, but in step3, the checkbox is still empty.
In step4, the vm still has no vtpm added.

Expected results:
The tpm device enabling should be saved, and take effect next time.
Or give tips and forbid this action.

Additional info:
Not reproduces if add tpm when vm shutoff.

Comment 2 Arik 2021-04-12 13:30:16 UTC

*** This bug has been marked as a duplicate of bug 1937827 ***


Note You need to log in before you can comment on or make changes to this bug.