OmniBSF Troubleshooting
204 returned when a binding is expected
- Confirm the query key matches what was registered.
ipv4Addr,ipv6Prefixandsupilookups are exact-string matches - formatting differences (leading zeros, prefix-length notation) cause a miss. - Check for
PCF binding not found for query:in the logs to see the exact query. - Confirm the registrant completed the POST (look for
PCF binding registered:in the logs). - DNN+S-NSSAI discovery resolves through the
{dnn, sst}index and matchessstexactly; an integer-vs-string type mismatch in the original POST body will prevent a match. - Check whether the binding's TTL has elapsed and the cleaner removed it (
[BindingCleaner] Removed N expired binding(s)).
403 on POST
A binding already exists for the supplied ipv4Addr / ipv6Prefix. The response is an ExtProblemDetails with cause = EXISTING_BINDING_INFO_FOUND and the incumbent PCF's pcfSmFqdn / pcfSmIpEndPoints. Reuse the returned PCF, or DELETE the existing binding first if a genuine rebinding is intended.
400 on POST
The body is missing a mandatory IE. The detail field identifies it: No DNN, No S-NSSAI, or No PCF address information (pcfFqdn or pcfIpEndPoints required). The generic missing-field path reports MANDATORY_IE_MISSING.
404 on DELETE or PATCH
The binding ID does not match any active binding. Either it was already removed, its TTL expired, or OmniBSF restarted (all bindings are in-memory and lost on restart). Check for PCF binding not found for deregister: / PCF binding not found for update:.
415 on PATCH
The PATCH handler requires Content-Type: application/merge-patch+json. Any other content type is rejected with 415 Unsupported Media Type.
High memory / growing binding count
Monitor the live binding count through the omni_bsf_active_bindings_count gauge, which is emitted on binding register, deregister, and each cleaner sweep; the OAM statistics endpoint (GET /api/statistics) and the NF status endpoint report the same figure. Bindings whose PDU sessions terminate without a DELETE remain until their TTL expires and the cleaner removes them. Because a PATCH refreshes a binding's TTL, a registrant that keeps patching a binding keeps it alive; a binding only ages out once neither a DELETE nor a PATCH has been received within :binding_ttl_seconds. Shorten :binding_ttl_seconds or :binding_cleanup_interval_ms if stale bindings accumulate faster than the default 24-hour TTL clears them. The management API also offers a clear-all operation.
NRF registration failing
Check omni_bsf_nrf_registration_status{nf_type="bsf"} and the logs. Verify that nrf_uri is reachable, that mcc/mnc match the PLMN configured at the NRF, and that connectivity from sbi_addr to the NRF is working. A re-registration can be forced through the management API.