Bug 2229625

Summary: [Machines] There will be a disabled "Install" button after pausing the VM
Product: Red Hat Enterprise Linux 8 Reporter: YunmingYang <yunyang>
Component: cockpit-appstreamAssignee: Simon Kobyda <skobyda>
Status: NEW --- QA Contact: YunmingYang <yunyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.9CC: jscotka, kkoukiou, mpitt, qzhang, wshi, xchen, ymao
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 YunmingYang 2023-08-07 06:18:53 UTC
Description of problem:
Creating VM with "Create and edit", then back to the VM list page. After that, click the "Install" button and wait until the VM is "Running" and the button is changed to "Shut off". Then, click the "Pause" button. There will be a disabled "Install" button shown beside the "Shut off" button in the VM line

Version-Release number of selected components (if applicable):
cockpit-machines-297-1.el8.noarch
cockpit-297-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.9.0+18724+20190c23.x86_64

How reproducible:
100%

Steps to Reproduce:
1 Create a VM with "Create and edit", then back to the VM list page
2 Click the "Install" button, and wait until the button is changed to "Shut off" and the VM state is running, then check the VM line

Actual results:
1 After step 2, there will be a disabled "Install button" shown beside the "Shut off" button

Expected results:
1 After step 2, there should be only the "Shut off" button.

Additional info: