mirror of
https://github.com/Corsinvest/cv4pve-autosnap.git
synced 2026-04-25 17:05:48 +03:00
[GH-ISSUE #38] aborts with error "System.AggregateException" #35
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-autosnap#35
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 @Dunuin on GitHub (Aug 19, 2020).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/38
Today it aborted with this error:
What could be the problem?
I run it from latest ProxmoxVE.
@franklupo commented on GitHub (Aug 20, 2020):
Hi,
Try manual snapshot. The problem is timeout
@Dunuin commented on GitHub (Aug 20, 2020):
Looks like my snapshots without "--state" are working fine and as soon as I want to snapshot the RAM too it gets unreliable and sometimes work and sometimes not. But I really want to save the RAM, atleast in weekly snapshots. Is there a way to increase the timeout value so it won't get timed out? Can I just increase the "--timeout" option or is the qm snapshot causing the timeout?
I tried to add a "--timeout=600" at the end but then I get this:
@franklupo commented on GitHub (Aug 20, 2020):
fixed in the next few days
Best regards
@Dunuin commented on GitHub (Sep 15, 2020):
I still get the "Unrecognized option '--timeout=600'" with latest version if using "--timeout".
@franklupo commented on GitHub (Sep 15, 2020):
Hi,
Parameter --timeout after command snap
@Dunuin commented on GitHub (Sep 15, 2020):
I used this:
/usr/local/bin/cv4pve-autosnap --host=127.0.0.1 --username=snapshot@pam --password='myPass' --vmid=all snap --label='weekly' --keep=24 --state --timeout=600With just this it works:
/usr/local/bin/cv4pve-autosnap --host=127.0.0.1 --username=snapshot@pam --password='myPass' --vmid=all snap --label='weekly' --keep=24 --state@franklupo commented on GitHub (Sep 15, 2020):
/usr/local/bin/cv4pve-autosnap --host=127.0.0.1 --username=snapshot@pam --password='myPass' --vmid=all --timeout=600 snap --label='weekly' --keep=24 --state@franklupo commented on GitHub (Sep 21, 2020):
News?
@Dunuin commented on GitHub (Sep 22, 2020):
Yes, with "--timeout=600" before "snap" it works.
Edit:
I got an exception again.
Edit:
Second try with "--timeout=1800" instead of "--timeout=600" it worked and finished after 272 seconds. I don't now why it failed with timeout of 600 seconds if it only needs under 300 seconds to finish:
@franklupo commented on GitHub (Sep 23, 2020):
Hi,
can execute with --debug option and attach result?
/usr/local/bin/cv4pve-autosnap --host=127.0.0.1 --username=snapshot@pam --password='myPass' --vmid=all --timeout=600 snap --label='daily' --keep=7 --state --debugBest regards
@Dunuin commented on GitHub (Sep 23, 2020):
Last 3 tries of "/usr/local/bin/cv4pve-autosnap --host=127.0.0.1 --username=snapshot@pam --password='myPass' --vmid=all --timeout=600 snap --label='daily' --keep=7 --state --debug" worked fine. Do you still ne a debug log no error occures?
@franklupo commented on GitHub (Sep 23, 2020):
The problem was the communication with the Proxmox VE node which at some point was interrupted.