You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CLI: configure starts from a stale candidate #1801
configure in the CLI does not start from running-config. The
candidate datastore is shared and keeps uncommitted changes after the
session that made them is gone. The next session gets them without
notice, and its leave also reverts anything changed in running in
the meantime.
It happens after:
a session that ends without leave or abort, e.g. a lost
connection, or exit after a rejected leave
a RESTCONF client that writes to the candidate datastore, which it
has no way to discard. The test framework does this.
Expected Behavior
configure starts from running-config, and uncommitted changes of one
session are not seen, or committed, by another.
Steps To Reproduce
admin@example:/> configure
admin@example:/config/> set interface e2 qos ingress default-priority 2
Drop the connection, log in again:
admin@example:/> configure
admin@example:/config/> show interface e2
type ethernet;
qos {
ingress {
default-priority 2;
}
}
Additional information
Seen with v26.10.0-289-geec39e9b9, on x86_64 and LAN969x.
Proposed fix: use the private candidate support recently added to
sysrepo, so every session edits its own copy of running.
Activity
mattiaswal commentedon Nov 19, 2026
I have had a little education session with claude, private-candidate seems to be something that client/server needs both to support.