routeros monitoring: hidden slot[a/b] in-place update applies (prediction said it fails) #150

Closed
opened 2026-11-18 02:47:53 +00:00 by ginjiruu · 1 comment
Owner

Seen in the c1 VLAN-20 window, 2026-11-17 (lab/iac#140 apply at 19:17 EST, master 00af531).

All three routeros-* roots planned module.monitoring.vault_kv_secret_v2.slot["a"] and slot["b"] as "updated in-place" with no visible attribute change ("8 unchanged attributes hidden, 1 unchanged block hidden"). The plan-only clones showed it on every run, the real objects showed it on the 19:17 apply, and the apply succeeded. The #139 owner's analysis of provider 5.13.0 predicted the opposite: an update without a data_json_wo_version change sends an empty body and fails with unexpected end of JSON input.

Checked after: mktxp restarted and logged into all three routers (slot b active), so nothing desynced. But the hidden diff and the wrong prediction are both unexplained.

To do:

  • capture tofu show -json of a plan showing it (which attribute: custom_metadata, deprecated data, ...);
  • explain why the apply succeeded;
  • neutralise the perpetual diff (ignore_changes or an explicit value) so router PRs plan clean.
Seen in the c1 VLAN-20 window, 2026-11-17 (lab/iac#140 apply at 19:17 EST, master 00af531). All three routeros-* roots planned `module.monitoring.vault_kv_secret_v2.slot["a"]` and `slot["b"]` as "updated in-place" with no visible attribute change ("8 unchanged attributes hidden, 1 unchanged block hidden"). The plan-only clones showed it on every run, the real objects showed it on the 19:17 apply, and **the apply succeeded**. The #139 owner's analysis of provider 5.13.0 predicted the opposite: an update without a `data_json_wo_version` change sends an empty body and fails with `unexpected end of JSON input`. Checked after: mktxp restarted and logged into all three routers (slot b active), so nothing desynced. But the hidden diff and the wrong prediction are both unexplained. To do: - capture `tofu show -json` of a plan showing it (which attribute: `custom_metadata`, deprecated `data`, ...); - explain why the apply succeeded; - neutralise the perpetual diff (ignore_changes or an explicit value) so router PRs plan clean.
Author
Owner

Closing: all three routeros roots plan clean at 4aad4ba. The 11-17 apply came 17 min after the period-1385 slot flip, so the slot-b update was real. Reopen if the hidden diff shows up again at the 2026-12-03 flip.

Closing: all three routeros roots plan clean at 4aad4ba. The 11-17 apply came 17 min after the period-1385 slot flip, so the slot-b update was real. Reopen if the hidden diff shows up again at the 2026-12-03 flip.
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
lab/iac#150
No description provided.