Bug 1918116
| Summary: | [machines] The "Shut down" button will be always grey if clicking "Shut down" when the VM is not completely started | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | YunmingYang <yunyang> |
| Component: | cockpit-appstream | Assignee: | Simon Kobyda <skobyda> |
| Status: | NEW --- | QA Contact: | YunmingYang <yunyang> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8.4 | CC: | leiwang, mpitt, skobyda, wshi, xchen, ymao |
| Target Milestone: | rc | Keywords: | Reopened |
| 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: | 2023-08-16 07:28:33 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-01-20 05:38:47 UTC
Quoting the RHEL Virtualization docs: `... executing a virsh shutdown command causes a power button ACPI event to be sent, thus copying the same action as when someone presses a power button on a physical machine. Within every physical machine, it is up to the OS to handle this event.` So in order for the shutdown command to work,the operating system has to be responsive. If you click 'Shut down' immediately after 'Run' as you specify in the steps, you are probably clicking while the grub boot loader dialog is still active. At that point, the signal will be sent, the button will be disabled and the spinner shown. The UI will wait for a VM state change, which will never happen. As you mention we can add a timeout for this specific or generally all lifecycle operations. I'm thinking that adding a general timeout is good idea. Since this kind of situation can happen also when VM is frozen, which in that case that would be a bug to just show button spinning indefinitely After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |