Summary
- Two current IETF drafts—NETCONF and RESTCONF Trace Context—say a malformed tracing header should not normally fail a management RPC. In the RESTCONF worked example, the server creates the resource, returns
201 Created, discards the oldtracestate, and begins a fresh, unsampled trace. - The trade is deliberate: keep the control operation, lose end-to-end correlation. A trace gap is not proof the change failed; an unbroken trace is not proof it was authorised, committed, or effective.
- The missing control is a reconciliation receipt that binds the authenticated request and protocol result to any replacement trace, server-side transaction evidence, configuration readback, and observed service outcome.
The change that vanished from its own story
Picture the most inconveniently successful maintenance action you can imagine. An orchestrator fires a RESTCONF request to create a resource. The server accepts it. Back comes 201 Created, a location, an entity tag. Read the configuration back and there it is in the datastore, looking exactly as intended.
Then you open the trace console. Beneath the orchestration job: nothing. Search the original trace identifier and you find the controller, then silence. The incident room draws the obvious conclusion—the device never saw the request. The obvious conclusion is wrong.
Revision 11 of the IETF NETCONF working group's RESTCONF Trace Context draft carries almost exactly this boundary as a worked example. The incoming traceparent uses a version the server cannot parse; its tracestate is malformed. The server does not reject the resource operation. It returns 201 Created, hands back a fresh version-00 traceparent, clears the trace flags to zero, and drops tracestate. The API call succeeds. The distributed trace does not continue under the caller's identity.
This is not an accidental contradiction. It is a policy choice. Both the RESTCONF draft and its NETCONF sibling say it is not recommended to reject an RPC because of Trace Context values. Tracing exists to observe management. A defect in observational metadata should not casually acquire the authority to veto management work.
That sensible separation creates an evidence problem of its own. The resource can exist while the original trace says nothing about its creation. Treat the trace as the transaction ledger and reality and the dashboard part company.
One request, several identifiers
Distributed tracing is seductive because it gives one operation a recognizable thread across orchestrators, controllers, and network elements. W3C Trace Context supplies traceparent for the trace and parent relationship and tracestate for optional vendor-specific context. The NETCONF draft carries those ideas as XML attributes; the RESTCONF draft uses HTTP headers.
Neither field is the managed object. The NETCONF draft says so plainly: Trace Context is unrelated to the data carried by the operation, including configurations, service identifiers, or state. The identifier tells a tracing system where an observation belongs. It does not say what was authorised, what bytes reached a datastore, or what the network later did.
Other identifiers answer narrower questions. A NETCONF message-id ties an RPC reply to its request on that protocol session. An HTTP status and resource location describe the RESTCONF server's response. An implementation may keep a local transaction identifier. A YANG Library capability can show that the server declares support for the tracing extension. NACM can decide whether the authenticated principal may perform an operation. None of these records substitutes for the others.
The standards therefore permit a valid operational sequence with two trace identities. The caller holds an old trace. The receiving server finds it unusable, treats the request as having no valid parent, and starts a new trace for local observation. W3C processing rules require orphaned tracestate to be discarded when there is no valid accompanying traceparent. The new trace can describe what happens from the reset point onward. It cannot recreate the missing parentage.
The important word is not “new” but “unlinked.” Without an additional receipt, the old trace and the new trace are two internally coherent stories with no decision-grade join between them.
Fail open does not mean fail silently
The drafts leave room for a server to reject an RPC over bad Trace Context, even though they advise against it. If a server chooses rejection, it must return a protocol operation-failed error, and the NETCONF model defines structured information for the offending metadata.
That gives operators two legitimate implementation policies:
- preserve the management operation, reset or omit the trace context, and make the evidence discontinuity visible; or
- reject the operation with an explicit protocol error because local policy treats trace continuity as a precondition.
The dangerous policy is the undocumented mixture. If one controller continues, another rejects, and a third drops tracing without recording the reset, the same malformed header produces different operational outcomes along one service path. A retry layer may then turn an observability defect into duplicate configuration work. An audit system may declare a missing action while the datastore retains it. A billing process may correlate the caller's order to the wrong span, or to none.
The answer is not to promote tracing into an authorisation protocol. Trace inputs themselves are untrusted. W3C warns that callers can exploit sampling to impose cost, forge collisions that damage monitoring, or leak information through correlation and opaque state. The NETCONF draft notes that trace knowledge can help an attacker map a managed network. A server needs the freedom to validate, remove, restart, or decline tracing at a trust boundary.
The control obligation is narrower: whichever path the implementation takes must leave a receipt another system can interpret without guessing.
Build the join outside the trace
A resilient evidence design gives the trace an important but bounded role. At ingress, preserve the authenticated principal, the authorisation decision, and the exact management request identity. Record whether Trace Context was absent, accepted, reset, or rejected. If the server creates a replacement traceparent, retain it beside the original request identity without copying untrusted tracestate into an authoritative field.
Next preserve the protocol result: NETCONF reply or RESTCONF status, resource location, entity tag, server time, and any local transaction or datastore receipt. Then take a fresh readback at a named configuration epoch. Finally, observe the intended service effect from a vantage independent of the write path.
Those records form a chain:
authenticated request → trace disposition → protocol result → datastore evidence → configuration readback → service observation
The arrows are claims to be evidenced, not assumptions. A 201 can prove what one RESTCONF server reported about creating a resource; it cannot prove every downstream subsystem converged. A successful readback can prove named state was visible at one epoch; it cannot prove packet delivery. A service test can show an outcome without revealing which request caused it. The reconciliation receipt keeps these scopes intact while letting an investigator traverse them.
This changes alert design too. “Original trace has no device span” should not automatically mean “configuration failed.” It should mean “correlation incomplete; check trace-disposition and protocol receipts.” Conversely, “trace complete” should not close a change until the relevant configuration and outcome evidence arrives.
A standard can expose the boundary without operating it
The two documents are active Internet-Drafts, not final RFCs, deployment reports, or interoperability results. They define carriage, capability, and error behaviour. They do not prove that a particular controller exports spans, that a collector receives every span, or that a vendor preserves a reconciliation record.
That restraint matters. YANG Library may advertise the modules and still say nothing about collector custody. Mutual authentication and NACM can protect the management channel and still leave the trace reset unexplained. A well-formed trace can span every component while the configuration is denied. A malformed trace can end at the boundary while the configuration is accepted.
The drafts are valuable precisely because they make this uncomfortable state legitimate: management and observability can disagree without either subsystem necessarily being broken. The operational work begins where the wire format stops.
Sources
- NETCONF Datatracker API record
- NETCONF revision 09 text
- NETCONF revision 09 XML
- RESTCONF Datatracker API record
- RESTCONF revision 11 text
- RESTCONF revision 11 XML
- NETCONF Trace Context draft record
- NETCONF Trace Context revision 09
- NETCONF Trace Context history
- RESTCONF Trace Context draft record
- RESTCONF Trace Context revision 11
- RESTCONF Trace Context history
- W3C Trace Context Recommendation
- RFC 6241: NETCONF
- RFC 8040: RESTCONF
- RFC 8309: Service Models Explained
- RFC 8341: Network Configuration Access Control Model
- RFC 8525: YANG Library
- Lu Heng: Running-Code Primacy
- Lu Heng: Minimum Initial Specification
- Lu Heng: On Reality Layers
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






