-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change proxmox_kvm restart to use new method Previously, the `restarted` state used both stop and start vm functions to restart a vm. This change introduces the a new function that utilizes the proxmox reboot endpoint instead for a more reliable method of restarting a vm. * Create 6773-proxmox_kvm-restarted-state-bug-fix.yaml * Fix typo * Add link to PR * Chanel log fragment formatting changes * Move try/catch to `restart_vm` function * Update changelogs/fragments/6773-proxmox_kvm-restarted-state-bug-fix.yaml Co-authored-by: Felix Fontein <[email protected]> --------- Co-authored-by: Felix Fontein <[email protected]>
- Loading branch information
1 parent
70e2048
commit 3571df8
Showing
2 changed files
with
22 additions
and
9 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
changelogs/fragments/6773-proxmox_kvm-restarted-state-bug-fix.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bugfixes: | ||
- proxmox_kvm - ``restarted`` state did not actually restart a VM in some VM configurations. The state now uses the Proxmox reboot endpoint instead of calling the ``stop_vm`` and ``start_vm`` functions (https://github.com/ansible-collections/community.general/pull/6773). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters