Closed snetat closed 2 years ago
HI, can you try to execute command line
cv4pve-autosnap-new --host=x.x.x.x --username=xxxxxxx@pam --password=xxxxxxxxx --vmid 123 --timestamp-format=yyyyMMdd_HHmmss snap --label=_hourly_ --keep=12
with --debug option and attach log?
best regards
=============================
Method: GET, Url: https://x.x.x.x:8006/api2/json/cluster/resources?type=storage
StatusCode: Unauthorized
ReasonPhrase: permission denied - invalid PVE ticket
IsSuccessStatusCode: False
null
=============================
================ EXCEPTION ================
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
'System.Dynamic.ExpandoObject' does not contain a definition for 'data'
at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at CallSite.Target(Closure , CallSite , Object )
at Corsinvest.ProxmoxVE.Api.Extension.ResultExtension.ToEnumerable(Result result)
at Corsinvest.ProxmoxVE.AutoSnap.Api.Application.Snap(String vmIdsOrNames, String label, Int32 keep, Boolean state, Int64 timeout, String timestampFormat, Int32 optMaxPercentageStorage)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass9_1.<Snap>b__1()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.<OnExecute>b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
================ EXCEPTION ================
Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
'System.Dynamic.ExpandoObject' does not contain a definition for 'data'
at CallSite.Target(Closure , CallSite , Object )
at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
at CallSite.Target(Closure , CallSite , Object )
at Corsinvest.ProxmoxVE.Api.Extension.ResultExtension.ToEnumerable(Result result)
at Corsinvest.ProxmoxVE.AutoSnap.Api.Application.Snap(String vmIdsOrNames, String label, Int32 keep, Boolean state, Int64 timeout, String timestampFormat, Int32 optMaxPercentageStorage)
at Corsinvest.ProxmoxVE.AutoSnap.ShellCommands.<>c__DisplayClass9_1.<Snap>b__1()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.<OnExecute>b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)
The use not have a permission to execute
news?
maybe i have entered a wrong password. now i have the following problem: i start 1.13.3 and 1.14.1 identically, with 1.14.1 i get this error when snapshotting a lxc
Max % Storage : 95%
Storage Type Valid Used % Disk Size Disk Usage
srv-3ea/srv-7d2 nfs Ok 31.8 5.46 TB 1.74 TB
srv-3ea/srv-7d4 nfs Ok 15.1 20.95 TB 3.16 TB
srv-3ea/tank1 zfspool Ok 11.4 922.5 GB 104.78 GB
----- VM 128 lxc -----
Skip VM problem storage space out of 95%
Total execution 00:00:00.1684170
the container is located on the local storage srv-3ea/tank1
Found error. Fixed in new release
Hi @snetat , the new version is available.
Best reagrds
i can confirm that snapshotting from lxc container is working again. thanks for the quick fix.
You are welcome
What happened?
errors in various actions "Unhandled exception"
Expected behavior
that it works
Relevant log output
cv4pve-autosnap-new --host=x.x.x.x --username=xxxxxxx@pam --password=xxxxxxxxx --vmid 123 --timestamp-format=yyyyMMdd_HHmmss snap --label=_hourly_ --keep=12