Bug 2221144

Summary: [Machines] The vm reboot immediatedly before user confirm when click "reboot" or "Force reboot"
Product: Red Hat Enterprise Linux 9 Reporter: Xianghua Chen <xchen>
Component: cockpit-machinesAssignee: Nobody <nobody>
Status: CLOSED ERRATA QA Contact: Xianghua Chen <xchen>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 9.3CC: kkoukiou, mpitt, qzhang, wshi, ymao, yunyang
Target Milestone: rcKeywords: Triaged
Target Release: 9.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-07 08:24:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xianghua Chen 2023-07-07 09:17:40 UTC
[Machines] The vm reboot immediatedly before user confirm when click "reboot" or "Force reboot"

Version-Release number of selected components (if applicable):
cockpit-machines-293-1.el9.noarch
cockpit-292-1.el9.x86_64
libvirt-dbus-1.4.1-5.el9.x86_64
libvirt-client-9.3.0-2.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Prepare a running vm like cirros, click "Force reboot"

There is dialog for user to confirm the action:
Force reboot $vm_name?
Uptime 3 minutes

The vm is reboot when user click "Force reboot" instead of confirming reboot on the dialog.

2. Keep the VM running, click "Reboot"
There is dialog for user to confirm the action:
Reboot $vm_name?
Uptime 3 minutes

The vm is reboot when user click "Reboot" instead of confirming reboot on the dialog.

Actual results:
See step1&2.



Expected results:
The vm should be reboot after user confirm the reboot on the dialog.



Additional info:

Comment 4 Xianghua Chen 2023-07-14 06:41:26 UTC
Versions:
cockpit-machines-294-1.el9.noarch

Steps to Reproduce:
1. Prepare a running vm like cirros, click "Force reboot"
There is dialog for user to confirm the action:
Force reboot $vm_name?
Uptime 3 minutes

The vm is reboot after user click "Force reboot" .

2. Keep the VM running, click "Reboot"
There is dialog for user to confirm the action:
Reboot $vm_name?
Uptime 3 minutes

The vm is reboot after user click "Reboot".

So verified.

Comment 7 errata-xmlrpc 2023-11-07 08:24:53 UTC
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 (cockpit-machines 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/RHBA-2023:6336