mirror of
https://github.com/Corsinvest/cv4pve-autosnap.git
synced 2026-04-25 08:55:49 +03:00
[GH-ISSUE #22] exit 0 when vm is locked #19
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-autosnap#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @GusevVictor on GitHub (Oct 8, 2019).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/22
Hi all. I have use this perfect script. It looks like a very good solution but there is a small problem...
When VM status is locked there is no any kind of altert about it.
For example,
Tru lock a VM like this:
qm set 20009 --lock backupRun a command like this:
In cluster log we have an error because vm is locked. There is no create a snap for that vm but script runs without an error...
Please fix that because proxmox can lock vm e.g. during backup, and unlock in again in some cases...
Best regard, Viktor. Thank alot for you job!
@GusevVictor commented on GitHub (Oct 8, 2019):
A small workarround:
You can do any command insted print 'FAIL' word
@franklupo commented on GitHub (Oct 8, 2019):
I have handled errors from the task result.
The output will be:
In the coming days I will release the new version.
Best regards