Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Bind recovery fixtures to real fields and independent guest origins
pulse-triage[bot]2d14da738007
diff --git a/internal/monitoring/monitor_pve_first_use_session_test.go b/internal/monitoring/monitor_pve_first_use_session_test.goindex a49b74ea41..bc555c9aa1 100644--- a/internal/monitoring/monitor_pve_first_use_session_test.go+++ b/internal/monitoring/monitor_pve_first_use_session_test.go@@ -72,8 +72,8 @@ func TestClusterFirstUsePasswordEndpointProjection(t *testing.T) {t.Fatalf("first-use probe/full-session admission was not distinguished: member logins=%d", memberLogins.Load())}inst := config.PVEInstance{Name: "first-use-cluster", Host: primary.URL, IsCluster: true, ClusterName: "Fixture cluster", VerifySSL: true, Fingerprint: primaryPin, ClusterEndpoints: []config.ClusterEndpoint{- {NodeName: "primary", NodeIdentity: "primary-identity", Host: primary.URL, Fingerprint: primaryPin, DisplayName: "Trusted primary"},- {NodeName: "member", NodeIdentity: "member-identity", Host: member.URL, DisplayName: "New member"},+ {NodeName: "primary", NodeIdentity: "primary-identity", Host: primary.URL, Fingerprint: primaryPin},+ {NodeName: "member", NodeIdentity: "member-identity", Host: member.URL},}}m := &Monitor{config: &config.Config{PVEInstances: []config.PVEInstance{inst}}}project := func(phase string) {diff --git a/pkg/proxmox/guest_filesystem_completeness_test.go b/pkg/proxmox/guest_filesystem_completeness_test.goindex ebbde0bdfb..98edab9ddf 100644--- a/pkg/proxmox/guest_filesystem_completeness_test.go+++ b/pkg/proxmox/guest_filesystem_completeness_test.go@@ -60,14 +60,19 @@ func TestVMFilesystemIncompleteInventoryKeepsPeersAndSingleAttempt(t *testing.T)a, b := httptest.NewServer(handler), httptest.NewServer(handler)defer a.Close()defer b.Close()+ // A closed ephemeral port can be reused while an earlier fixture's+ // uncertainty fence is still live. Keep this independent inventory+ // on its own synthetic base path, never clear a safety deadline.+ basePath := "/filesystem-inventory/" + path + "/" + name+ first, second := a.URL+basePath, b.URL+basePathvar client interface {GetVMFSInfo(context.Context, string, int) ([]VMFileSystem, error)GetVMAgentInfo(context.Context, string, int) (map[string]interface{}, error)}if path == "cluster" {- client = NewClusterClient("partial-filesystems", ClientConfig{Host: a.URL, TokenName: "fixture@pve!pulse", TokenValue: "fixture", Timeout: time.Second}, []string{a.URL, b.URL}, nil)+ client = NewClusterClient("partial-filesystems", ClientConfig{Host: first, TokenName: "fixture@pve!pulse", TokenValue: "fixture", Timeout: time.Second}, []string{first, second}, nil)} else {- client = backupTestClient(t, a.URL)+ client = backupTestClient(t, first)}peers, err := client.GetVMFSInfo(context.Background(), "node", 105)if err == nil || errors.Is(err, ErrGuestAgentDeferred) || len(peers) != 1 || peers[0].TotalBytes != 1000 || peers[0].UsedBytes != 0 || peers[0].Disk != "root-filesystem" {