sync: auto-sync from HOWARD-HOME at 2026-07-04 16:09:13
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-07-04 16:09:13
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -206,3 +206,17 @@ Built projects/gps-rmm-audit/tools/rebuild-and-push.py: rebuilds needs-screencon
|
||||
reassign-staging.py sorted all 15 to their real clients (Curtis, Mineralogical, IMC, Prairie Schooner, Zeus, Stamback + Ridgetop/Gary Hartman/Robyn Pittman). Surfaced 3 clients I'd wrongly written off as no-footprint (Ridgetop has 3 machines, Gary Hartman 1, Robyn Pittman 1) - onboarded them. Added name normalization to reassign (strip LLC/Inc/Corp/etc.) so Syncro 'Safesite LLC' matches GuruRMM 'Safesite'. Staging now empty (all reassigned).
|
||||
|
||||
Proven pipeline: correct-online -> push staging installer -> enroll -> auto-reassign. Ready to repeat as machines come online (or via the Syncro all-machines policy Howard will add).
|
||||
|
||||
## Update: dedup fix deployed + full cleanup executed (2026-07-04 afternoon)
|
||||
|
||||
Deploy: cherry-picked the 2 dedup commits onto latest origin/main (hotfix-agent-dedup -> main, 1c1cac2); webhook auto-built and deployed (server 6.66 -> 6.77, CI version-bump c4f24de confirms). NOTE: fix authored on feature/av-removal-recipes which is 11 unrelated commits ahead - deployed via cherry-pick, NOT merge.
|
||||
|
||||
Live verification on Howard-Home (this machine, was unenrolled): (1) staging installer -> 1 record in Staging; (2) re-ran installer -> SAME record reused (id 7bf450ff), count stayed 1 = dedup works; (3) moved to AZ Computer Guru/Main Office + agent restart (re-presents staging code) -> STAYED in ACG, count 1 = placement persists. Howard-Home now properly enrolled under ACG/Main Office.
|
||||
|
||||
Step 2 (deletes): regenerated plan fresh (group by device_id ONLY, skip hostname-fallback ids, skip mixed-hostname groups, keep most-recent last_seen). 40 groups -> 40 stale orphans deleted, 0 failed (DELETE /api/agents/:id, throttled 2s + retry; deletes are async background cascade per BUG-018). Same-device dup groups after: 0.
|
||||
|
||||
Step 3 (moves): 39 one-time moves, 0 failed (throttled + 5x retry rode over the intermittent move-endpoint 500s): 24 Dataforth D1->D2 (AD2, D2-*, DANC0619, DESKTOP-02VT7TO/3PFA5I7/Q33I5H1/U8PHS72, DF-SVR-D2-Sync, DFORTH-Ship, DForth-Shipp, My9-PC, STATION43, Station20-PC, Station21, Station_41, Test01, goldstar19); 13 Staging -> real clients (Gary Hartman, IMC, Mineralogical x2, Ridgetop x2, Robyn Pittman, Safesite/Bell, Prairie Schooner x2, Zeus x2, Stamback); corrected my 2 diagnostic mis-moves (CNX-LAB-00 -> Ridgetop, CURTIS-002-W7 -> Curtis Plumbing). Staging now EMPTY.
|
||||
|
||||
Manual-review pile (13 same-hostname/different-device pairs, NEVER auto-touched): GURU-5070 (Mike's laptop - old record offline since 2026-06-06, new device_id since 2026-06-09 = likely reimage; Mike's call to delete stale), SERVER (ONE device with records in BOTH T&C Sorensen and Zeus Nestora - live one is Zeus; if physically T&C's it needs a move), BridgettePSHomeComputer, DESKTOP-BTR2AM3, MSI, Maras-HP-Laptop, PST-SURFACE, RECEPTIONIST-PC, RMM-TEST-MACHINE, Sif-Laptop554/555, bfcfbc739d23, gururmm.
|
||||
|
||||
Remaining known issue: move endpoint intermittently 500s under repeated calls (transient DB/load, handler code is a clean UPDATE) - throttle+retry works; worth a server-side look eventually.
|
||||
|
||||
Reference in New Issue
Block a user