Skip to content

refactor(pfcp): Improve logging and error handling during session create/modify/delete - #592

Merged
pirog-spb merged 1 commit into
edgecomllc:mainfrom
osmocom:pespin/pr-log
Feb 25, 2025
Merged

pirog-spb merged 1 commit into
edgecomllc:mainfrom
osmocom:pespin/pr-log

Conversation

@pespin

@pespin pespin commented Feb 4, 2025

Copy link
Copy Markdown
Contributor

Before this patch, eupf would silently (info log level) skip PDR creation failures due to map sizes being too small, accepting the the PFCP session creation request.
This patch makes sure:

  • The issue is reported at a meaningful log level (warn or error)
  • The PFCP session creation request is rejectedt

Comment thread cmd/core/pdr.go Resolved
@pirog-spb pirog-spb changed the title pfcp: Improve logging and error handling during session create/modify/delete refactor(pfcp): Improve logging and error handling during session create/modify/delete Feb 8, 2025
@pespin
pespin force-pushed the pespin/pr-log branch 3 times, most recently from 4bed3ab to 710763a Compare February 10, 2025 13:31
@pespin

pespin commented Feb 10, 2025

Copy link
Copy Markdown
Contributor Author

@pirog-spb Let me know if this one is fine now too and can be merged.

@pirog-spb

Copy link
Copy Markdown
Collaborator

@pespin Could you please rebase the PR on top of current main? All checks in pipeline were fixed there.

@pespin

pespin commented Feb 19, 2025

Copy link
Copy Markdown
Contributor Author

@pirog-spb I rebased and submitted my patches on top of current main like 2 weeks ago but I still get errors and I'm unable to merge them (no button to "merge").

@pirog-spb

Copy link
Copy Markdown
Collaborator

@pirog-spb I rebased and submitted my patches on top of current main like 2 weeks ago but I still get errors and I'm unable to merge them (no button to "merge").

At least, you have some unit tests failed. Please fix it.

Another issue is Trivy job failure. Looks strange. I'm looking into the problem.

-- BR Alex

…ate/modify/delete

Before this patch, eupf would silently (info log level) skip PDR
creation failures due to map sizes being too small, accepting the the
PFCP session creation request.
This patch makes sure:
* The issue is reported at a meaningful log level (warn or error)
* The PFCP session creation request is rejectedt
@pirog-spb
pirog-spb merged commit 43021b6 into edgecomllc:main Feb 25, 2025
@pespin
pespin deleted the pespin/pr-log branch March 27, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants