[GH-ISSUE #139] errorous background tasks #58

Closed
opened 2026-02-26 17:37:04 +03:00 by kerem · 1 comment
Owner

Originally created by @kmorber on GitHub (Aug 11, 2025).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-admin/issues/139

When i check the background tasks, i encounter several messages:

Corsinvest.ProxmoxVE.Api.PveResultException
cannot index groups: ha groups have been migrated to rules

Corsinvest.ProxmoxVE.Api.PveResultException: cannot index groups: ha groups have been migrated to rules
at Corsinvest.ProxmoxVE.Api.ResultExtension.ToModel[T](Result result)
at Corsinvest.ProxmoxVE.Api.Extension.ModelsExtensionsAutoGen.GetAsync(PveGroups item)
at Corsinvest.ProxmoxVE.Api.Extension.Utils.InfoHelper.ReadClusterAsync(Info info, PveClient client)
at Corsinvest.ProxmoxVE.Api.Extension.Utils.InfoHelper.CollectAsync(PveClient client, Boolean removeSecurity, Int32 tasksDay, Boolean tasksOnlyErrors, Boolean nodeReport)
at Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper.Create(IServiceScope scope, String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Helper.cs:line 85
at Corsinvest.ProxmoxVE.Admin.Diagnostic.Job.Create(String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Job.cs:line 14
at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

What is the problem?

Originally created by @kmorber on GitHub (Aug 11, 2025). Original GitHub issue: https://github.com/Corsinvest/cv4pve-admin/issues/139 When i check the background tasks, i encounter several messages: Corsinvest.ProxmoxVE.Api.PveResultException cannot index groups: ha groups have been migrated to rules Corsinvest.ProxmoxVE.Api.PveResultException: cannot index groups: ha groups have been migrated to rules at Corsinvest.ProxmoxVE.Api.ResultExtension.ToModel[T](Result result) at Corsinvest.ProxmoxVE.Api.Extension.ModelsExtensionsAutoGen.GetAsync(PveGroups item) at Corsinvest.ProxmoxVE.Api.Extension.Utils.InfoHelper.ReadClusterAsync(Info info, PveClient client) at Corsinvest.ProxmoxVE.Api.Extension.Utils.InfoHelper.CollectAsync(PveClient client, Boolean removeSecurity, Int32 tasksDay, Boolean tasksOnlyErrors, Boolean nodeReport) at Corsinvest.ProxmoxVE.Admin.Diagnostic.Helper.Create(IServiceScope scope, String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Helper.cs:line 85 at Corsinvest.ProxmoxVE.Admin.Diagnostic.Job.Create(String clusterName) in /src/src/Corsinvest.ProxmoxVE.Admin.Diagnostic/Job.cs:line 14 at InvokeStub_TaskAwaiter.GetResult(Object, Object, IntPtr*) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) What is the problem?
kerem closed this issue 2026-02-26 17:37:04 +03:00
Author
Owner

@kmorber commented on GitHub (Aug 11, 2025):

using Corsinvest.ProxmoxVE.Admin.Diagnostic;

var job = Activate();
await job.Create("Morber");

<!-- gh-comment-id:3176872873 --> @kmorber commented on GitHub (Aug 11, 2025): using Corsinvest.ProxmoxVE.Admin.Diagnostic; var job = Activate<Job>(); await job.Create("Morber");
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-admin#58
No description provided.