Bug 1927718 - [RFE] Provide Reset option for VMs
Summary: [RFE] Provide Reset option for VMs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.4.5.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.4.6
: 4.4.6.3
Assignee: Jean-Louis Dupond
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On: 1933974
Blocks: 1942494
TreeView+ depends on / blocked
 
Reported: 2021-02-11 11:50 UTC by Jean-Louis Dupond
Modified: 2021-11-04 19:28 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.4.6.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1942494 (view as bug list)
Environment:
Last Closed: 2021-05-05 05:36:04 UTC
oVirt Team: Virt
Embargoed:
ahadas: ovirt-4.4?
pm-rhel: planning_ack?
pm-rhel: devel_ack+
pm-rhel: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 113463 0 master MERGED virt: Add VM Reset call 2021-03-05 10:46:56 UTC
oVirt gerrit 113464 0 master MERGED Add a way to reset a VM 2021-03-25 09:03:11 UTC
oVirt gerrit 113739 0 master MERGED Add VM Reset option 2021-03-22 07:17:12 UTC
oVirt gerrit 113972 0 master MERGED Upgrade to model 4.4.27 2021-03-22 09:01:54 UTC

Description Jean-Louis Dupond 2021-02-11 11:50:13 UTC
It would be nice to have an option in oVirt to reset (libvirt reset) a VM.
The only way now to restart a hanging VM is doing a Power Off and start.
But this takes more time, shuts off the console, etc.

While a reset is quick, you can keep the console open etc. And I guess its not that hard to implement :)

It was already requested in #1136819 years ago, but seems like that has been closed as duplicate of some irrelevant bug.

Comment 1 RHEL Program Management 2021-02-11 14:39:09 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Qin Yuan 2021-04-15 14:17:48 UTC
Verified with:
ovirt-engine-4.4.6.3-0.8.el8ev.noarch
vdsm-4.40.60.3-1.el8ev.x86_64
libvirt-7.0.0-13.module+el8.4.0+10604+5608c2b4.x86_64

Steps:
1. Create and run a VM(used latest-rhel-guest-image-8.3-infra template)
2. Open VM console
3. Reset VM on UI
4. Reset VM via API
   POST /ovirt-engine/api/vms/22c3cc4b-921e-42b2-ac3b-17426100dfc4/reset
   <action>
	<async>true</async>
   </action>
5. Update a VM parameter which requires VM restart, such as enabling Smartcard, then reset the VM

Results:
1. On UI, Reset button is in the dropdown list of Reboot, Resetting VM via Reset button succeeds, VM console remains connected.
2. Resetting VM via API succeeds, VM console remains connected.
3. Smartcard is enabled after VM is reset.

Comment 3 Sandro Bonazzola 2021-05-05 05:36:04 UTC
This bugzilla is included in oVirt 4.4.6 release, published on May 4th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.6 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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