You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐞 Bug Report: Netprofile Annotations Not Respected on CIC Restart
Summary
When the Citrix Ingress Controller (CIC) restarts, previously applied netprofile annotations on Service Groups are not retained. While the Load Balancing Virtual Server (LB vServer) continues to reference the correct netprofile, the associated Service Groups do not. This results in misconfigured traffic handling until a manual change is made to the Kubernetes Service to trigger a resync.
Steps to Reproduce
Deploy a Kubernetes Service with the following annotations:
Confirm that the corresponding LB vServer and Service Groups on the NetScaler ADC are created with the correct proxy-protocol-2 netprofile.
Restart the CIC pod.
Observe that:
The LB vServer retains the correct netprofile.
The Service Groups are assigned an incorrect or default netprofile.
Modify (or touch) the Kubernetes Service (e.g., add a dummy annotation) to trigger a resync.
Verify that the Service Groups are corrected with the intended netprofile.
Expected Behavior
After a CIC restart, all configuration—including Service Group netprofiles—should be restored and remain consistent with the original Kubernetes Service annotations.
Observed Behavior
Upon CIC restart:
The LB vServer is correctly configured with proxy-protocol-2.
Service Groups lose their configured netprofile and are reset to an unintended state.
Manual editing of the Service triggers proper reconciliation and restores correct configuration.
Logs
The following log is observed during CIC startup:
2025-05-09 09:21:32,987 - INFO - [pbrconfighandler.py:multicluster_createbind_netprofile:92] (MainThread) Creating Netprofile: cnc-vdcnpogp_netprof and binding it to all the servicegroups
🐞 Bug Report: Netprofile Annotations Not Respected on CIC Restart
Summary
When the Citrix Ingress Controller (CIC) restarts, previously applied
netprofile
annotations on Service Groups are not retained. While the Load Balancing Virtual Server (LB vServer) continues to reference the correctnetprofile
, the associated Service Groups do not. This results in misconfigured traffic handling until a manual change is made to the Kubernetes Service to trigger a resync.Steps to Reproduce
Deploy a Kubernetes Service with the following annotations:
Confirm that the corresponding LB vServer and Service Groups on the NetScaler ADC are created with the correct
proxy-protocol-2
netprofile.Restart the CIC pod.
Observe that:
Modify (or touch) the Kubernetes Service (e.g., add a dummy annotation) to trigger a resync.
Verify that the Service Groups are corrected with the intended netprofile.
Expected Behavior
After a CIC restart, all configuration—including Service Group netprofiles—should be restored and remain consistent with the original Kubernetes Service annotations.
Observed Behavior
Upon CIC restart:
proxy-protocol-2
.netprofile
and are reset to an unintended state.Logs
The following log is observed during CIC startup:
cic_logs.txt
This suggests that CIC applies a default netprofile during startup without checking or honoring existing annotations for Service Groups.
Environment
ConfigMap (
citrix-cloud-native-cic-configmap
):The text was updated successfully, but these errors were encountered: