F5Networks / k8s-bigip-ctlr

Repository for F5 Container Ingress Services for Kubernetes & OpenShift.
Apache License 2.0
359 stars 195 forks source link

Improve error message when CIS declaration failed to post in F5 #3355

Open avinashchundu9 opened 7 months ago

avinashchundu9 commented 7 months ago

Title

Improve error message when CIS declaration failed to post in F5

Description

When CIS fails to post the declaration to F5, it usually responds to declaration failure with an error code. However, identifying which VS/TS caused this issue when we have multiple load balancers is hard. Error messages that help point out which load balancer or which part of the configuration failed the declaration helps troubleshooting easier and faster.

Actual Problem

Troubleshooting declaration failures is hard with large declarations.

Solution Proposed

Improve error messages to help users identify the load balancer that caused issues with the posting declaration.

trinaths commented 7 months ago

Created [CONTCNTR-4665] for internal tracking.

trinaths commented 5 months ago

@avinashchundu9

identifying which VS/TS caused this issue when we have multiple load balancers is hard

The above statement is unclear.

Since CIS post the AS3 declaration to F5 contains multiple VS/TS, its hard to showcase which VS/TS caused the issue in CIS logs. IMO, AS3 response should be good to review the failed VS/TS from CIS logs.