Troubleshooting
Start with the CLI and logs
pola session detail # state, timers, capabilities, and message counters
pola sr-policy list # policies per session and their state
pola ted # the topology polad uses
At the default info level, polad logs little about PCEP exchanges.
Set global.log.level: debug in polad.yaml and restart polad to see:
- Session establishment failures.
- PCErr messages from PCCs, such as rejection of a PCInitiate.
Errors from pola sr-policy add and delete
The CLI prints the server’s error message. add also prints a hint for common reasons.
See gRPC API for error definitions.
| Reason | Typical cause | What to do |
|---|---|---|
INVALID_REQUEST | Malformed input; headend, endpoint, or waypoint missing from the TED; address family mismatch; endpointFamily missing for an explicit path between dual-stack nodes; mixed SR-MPLS and SRv6 SIDs; label out of range; IPv4 with SRv6; ASN mismatch. | Read the message and compare the file with SR Policies. |
PCEP_SESSION_NOT_FOUND | No session for pcepSessionAddr. | Check the address with pola session. |
PCEP_SESSION_NOT_SYNCED | Session not up, or LSP-DB synchronization not finished. | Wait for synchronization; check the PCC. |
TED_DISABLED | Dynamic paths, router-ID endpoints, and SID validation require the TED. | Enable the TED, or use the address form with --no-sid-validate. |
TED_NOT_SYNCED | The TED has no nodes: synchronization is incomplete, or no BGP-LS node matches global.ted.asn. | Check GoBGP, its BGP-LS session, and global.ted.asn (pola ted); retry. |
TED_DATA_INCOMPLETE | A node lacks a required node SID, SRGB, or SRv6 SID; or the data plane is ambiguous. | Check what the routers advertise in BGP-LS, or set dataPlane and underlayFamily. |
SID_VALIDATION_FAILED | An explicit SID is not in the TED, or an Adj-SID or End.X SID does not belong to the node reached at that point. | Fix the segment list, or use --no-sid-validate. |
DESTINATION_UNREACHABLE | No path in the selected plane. | Check the links and the plane. |
METRIC_NOT_CARRIED | The TE or delay metric is missing on a link. | Use igp, or advertise the metric. |
SR_POLICY_NOT_FOUND | Delete: no LSP with that color and endpoint on the session. | Check pola sr-policy list. |
PCEP_REQUEST_FAILED | The PCC did not advertise the needed path setup type, the segment list exceeds its MSD, a new policy for a legacy Juniper PCC has an IPv6 endpoint, or Pola cannot build or send the PCEP request. | Check pola session detail for the PCC’s capabilities and the polad log. |
PATH_COMPUTATION_FAILED | Unexpected CSPF failure. | Check the polad log. |
A PCEP session does not come up
- Pola acts as a passive PCEP speaker. Configure the PCC to connect to
global.pcep.addressandglobal.pcep.port, and check connectivity. pola sessionshows sessions that are still establishing (open-wait,keep-wait).- A PCC Keepalive outside
minKeepalive..maxKeepaliveis negotiated or rejected; see PCEP Sessions. - A PCC that advertises no path setup type in common with Pola is rejected.
- A second connection from the same address while a session exists is rejected with PCErr 9/1.
A policy is down or missing after a successful add
add returns when Pola sends the PCInitiate, not when the PCC accepts it.
Enable debug logging and look for a PCErr from the PCC, and check the PCC’s own logs.
Common causes are SIDs the headend cannot resolve and endpoint families the PCC does not support (see Interoperability).
A dynamic policy does not follow topology changes
polad recomputes a path on eligible unsolicited PCRpt messages, using the latest TED.
It does not recompute paths on TED changes.
See Recomputation on reports.
pola cannot connect to polad
pola connects to 127.0.0.1:50051 by default. If global.grpcServer uses another address or port, pass --host and -p.