[GH-ISSUE #69] Proxmox 7.2-11 issues #65

Closed
opened 2026-02-26 17:44:14 +03:00 by kerem · 3 comments
Owner

Originally created by @thost96 on GitHub (Oct 18, 2022).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/69

What happened?

Hi, Cronjob execution throws this error again and again, but snapshots do get created successfully:

Unhandled 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.PveClientBase.TaskIsRunning(String task)
   at Corsinvest.ProxmoxVE.Api.PveClientBase.WaitForTaskToFinish(String task, Int32 wait, Int64 timeout)
   at CallSite.Target(Closure , CallSite , Object )
   at Corsinvest.ProxmoxVE.Api.PveClientBase.WaitForTaskToFinish(Result result, Int32 wait, Int64 timeout)
   at Corsinvest.ProxmoxVE.Api.Extension.Utils.SnapshotHelper.CreateSnapshot(PveClient client, String node, VmType vmType, Int64 vmId, String name, String description, Boolean state, Int64 timeout)
   at Corsinvest.ProxmoxVE.AutoSnap.Api.Application.Snap(String vmIdsOrNames, String label, Int32 keep, Boolean state, Int64 timeout, String timestampFormat, Int32 maxPercentageStorage)
   at Corsinvest.ProxmoxVE.AutoSnap.Commands.<>c__DisplayClass12_0.<<Snap>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

Command used to run the snapshots is
cv4pve-autosnap --host="$SNAP_HOST" --username="$SNAP_USER" --password="$SNAP_PASS" --timestamp-format="_yyyyMMdd_HHmmss" --vmid="$SNAP_VMID" snap --label="hourly" --state --keep="$SNAP_KEEP_HOURLY" --debug > /dev/null
All Variables get filled in correctly. Same error if running this manually.

Standalone Proxmos Host
~ 10 VMs
~ 10 LXCs
Kernel Version Linux 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200)
PVE Manager Version pve-manager/7.2-11/b76d3178

Expected behavior

Successful snapshots without this error message.

Relevant log output

No response

Proxmox VE Version

7.2-11

Version (bug)

v1.14.6

Version (working)

No response

On what operating system are you experiencing the issue?

Linux

Pull Request

  • I would like to do a Pull Request
Originally created by @thost96 on GitHub (Oct 18, 2022). Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/69 ### What happened? Hi, Cronjob execution throws this error again and again, but snapshots do get created successfully: ``` Unhandled 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.PveClientBase.TaskIsRunning(String task) at Corsinvest.ProxmoxVE.Api.PveClientBase.WaitForTaskToFinish(String task, Int32 wait, Int64 timeout) at CallSite.Target(Closure , CallSite , Object ) at Corsinvest.ProxmoxVE.Api.PveClientBase.WaitForTaskToFinish(Result result, Int32 wait, Int64 timeout) at Corsinvest.ProxmoxVE.Api.Extension.Utils.SnapshotHelper.CreateSnapshot(PveClient client, String node, VmType vmType, Int64 vmId, String name, String description, Boolean state, Int64 timeout) at Corsinvest.ProxmoxVE.AutoSnap.Api.Application.Snap(String vmIdsOrNames, String label, Int32 keep, Boolean state, Int64 timeout, String timestampFormat, Int32 maxPercentageStorage) at Corsinvest.ProxmoxVE.AutoSnap.Commands.<>c__DisplayClass12_0.<<Snap>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context) at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext() ``` Command used to run the snapshots is `cv4pve-autosnap --host="$SNAP_HOST" --username="$SNAP_USER" --password="$SNAP_PASS" --timestamp-format="_yyyyMMdd_HHmmss" --vmid="$SNAP_VMID" snap --label="hourly" --state --keep="$SNAP_KEEP_HOURLY" --debug > /dev/null` All Variables get filled in correctly. Same error if running this manually. Standalone Proxmos Host ~ 10 VMs ~ 10 LXCs Kernel Version Linux 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200) PVE Manager Version pve-manager/7.2-11/b76d3178 ### Expected behavior Successful snapshots without this error message. ### Relevant log output _No response_ ### Proxmox VE Version 7.2-11 ### Version (bug) v1.14.6 ### Version (working) _No response_ ### On what operating system are you experiencing the issue? Linux ### Pull Request - [ ] I would like to do a Pull Request
kerem 2026-02-26 17:44:14 +03:00
Author
Owner

@franklupo commented on GitHub (Oct 18, 2022):

Hi,
you can execute with paramter --debug and attach log.

Best regards

<!-- gh-comment-id:1282651926 --> @franklupo commented on GitHub (Oct 18, 2022): Hi, you can execute with paramter --debug and attach log. Best regards
Author
Owner

@thost96 commented on GitHub (Oct 18, 2022):

Hi, attached you can find the requested log. Some data has been removed for privacy.

debug_log.txt

<!-- gh-comment-id:1282881443 --> @thost96 commented on GitHub (Oct 18, 2022): Hi, attached you can find the requested log. Some data has been removed for privacy. [debug_log.txt](https://github.com/Corsinvest/cv4pve-autosnap/files/9814322/debug_log.txt)
Author
Owner

@franklupo commented on GitHub (Oct 19, 2022):

HI,
in this case there are no errors

<!-- gh-comment-id:1283536004 --> @franklupo commented on GitHub (Oct 19, 2022): HI, in this case there are no errors
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-autosnap#65
No description provided.