Commit-confirm lock and config snapshots are per instance row, not per router

Open
#1,702 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@xTITUSMAXIMUSX is already working on this.

Since Nov 27, 2026.

Assessment

This issue has not been assessed yet.

Description

bug patch needed

The commit-confirm lock, the saved/managed config snapshots, the cached VyOSService, and the banner SSE channel are all keyed by instance id, but nothing stops two instance rows (two sites or two organizations) from pointing at the same router host:port. Each row then has its own commit-confirm lock, so a save through the second row commits during the first row's pending commit-confirm (on the rolling lab that commit is archived and makes the pending change permanent), and each row's banner misses the other's edits. Key the write lock and commit-confirm state by the router endpoint and fan banner events out to every instance row on that endpoint.

Where: backend/commit_confirm_state.py, backend/config_state.py, backend/session_vyos_service.py, backend/events/event_manager.py, backend/routers/events.py
Version: 1.4 and 1.5
fingerprint: commit_confirm_state:instance-key:device

Dominant language
TypeScript
Stars
504
Forks
69
Avg merge
55m
Merged PRs (30d)
205

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Community-VyProjects/VyManager

All issues in Community-VyProjects/VyManager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.