Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2033603

Summary: [machines] "Immediately start VM" will be checked automatically after clickig "x" of "Operating system"
Product: Red Hat Enterprise Linux 8 Reporter: YunmingYang <yunyang>
Component: cockpit-appstreamAssignee: Simon Kobyda <skobyda>
Status: CLOSED ERRATA QA Contact: YunmingYang <yunyang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.6CC: mpitt, skobyda, wshi, xchen, ymao
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.6   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-appstream-261-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 13:42:00 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 YunmingYang 2021-12-17 11:43:56 UTC
Description of problem:
Open "Create VM" dialog, then input an OS to "Operating system" and uncheck "Immediately start VM". After that, click "x" in the input of "Operating system", then "Immediately start VM" will be checked automatically


Version-Release number of selected components (if applicable):
cockpit-258-1.el8.x86_64
cockpit-machines-255-1.el8.noarch
libvirt-dbus-1.3.0-2.module+el8.6.0+12861+13975d62.x86_64

How reproducible:
100%


Steps to Reproduce:
1 Open "Create VM" dialog
2 Input an OS to "Operating system" and uncheck "Immediately start VM"
3 Click "x" in the input of "Operating system"


Actual results:
1 After step 3, "Immediately start VM" will be checked automatically


Expected results:
2 After step 3, "Immediately start VM" should be still unchecked


Additional info:

Comment 1 Martin Pitt 2022-01-04 15:21:18 UTC
Upstream fix: https://github.com/cockpit-project/cockpit-machines/pull/494

Comment 2 Martin Pitt 2022-01-27 09:57:26 UTC
This has an integration test, so auto-pre-validatated.

Comment 5 YunmingYang 2022-01-30 10:03:05 UTC
Test Versions:
cockpit-machines-261-1.el8.noarch
cockpit-bridge-261-1.el8.x86_64
cockpit-261-1.el8.x86_64
cockpit-ws-261-1.el8.x86_64
libvirt-dbus-1.3.0-2.module+el8.6.0+12861+13975d62.x86_64


Test Steps:
1 Open "Create VM" dialog
2 Input an OS to "Operating system"(like fedora31) and uncheck "Immediately start VM"
3 Click "x" in the input of "Operating system"
4 Input an OS to "Operating system"(like fedora31) 
5 Check "Run unattended installation", then uncheck it

Test Results:
1 After step 3, "Immediately start VM" should be still unchecked
2 After step 5, "Immediately start VM" should be still unchecked

According to the results, move status to VERIFIED.

Comment 7 errata-xmlrpc 2022-05-10 13:42:00 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-appstream 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-2022:1806