Bug 2221144 - [Machines] The vm reboot immediatedly before user confirm when click "reboot" or "Force reboot"
Summary: [Machines] The vm reboot immediatedly before user confirm when click "reboot"...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: cockpit-machines
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: 9.3
Assignee: Simon Kobyda
QA Contact: Xianghua Chen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-07 09:17 UTC by Xianghua Chen
Modified: 2023-07-14 06:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-161764 0 None None None 2023-07-07 09:18:04 UTC

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.


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