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
Changes to a Servce's node port are converted into a BackendSetAction with an ActionType of "update". The BackendSetAction.BackendSet field is set to the new BackendSet and the Update() method on the security list manager is only provided the new (desired) state and has no logic for handling clearing up the old rules.
E2E tests
STEP: waiting for the TCP service to have a load balancer
Mar 19 16:37:22.245: INFO: Waiting up to 20m0s for service "basic-lb-test" to have a LoadBalancer
Mar 19 16:37:44.456: INFO: TCP node port: 31197
Mar 19 16:37:44.456: INFO: TCP load balancer: 129.213.12.8
STEP: hitting the TCP service's NodePort
Mar 19 16:37:44.456: INFO: Testing HTTP reachability of http://129.213.19.80:31197/echo?msg=hello
STEP: hitting the TCP service's LoadBalancer
Mar 19 16:37:44.997: INFO: Testing HTTP reachability of http://129.213.12.8:80/echo?msg=hello
STEP: changing the TCP service's NodePort
[Mar 19 16:37:45.426: INFO: TCP node port: 31198
CCM logs
I0319 16:37:45.610134 73013 load_balancer.go:422] Applying "update" action on backend set "TCP-80" for lb "ocid1.loadbalancer.oc1.iad.aaaaaaaatojhja24set4khbn2na2vsha4vej53qkepot6hjj4psajrjnluya" (listenerPort=0 backendPort=31198 healthCheckPort=10256)
I0319 16:37:45.727281 73013 load_balancer_security_lists.go:348] Keeping security list rule; does not match port 31198: { Destination=10.0.40.0/24 Protocol=6 IcmpOptions=<nil> IsStateless=false TcpOptions={ DestinationPortRange={ Max=31197 Min=31197 } SourcePortRange=<nil> } UdpOptions=<nil> }
I0319 16:37:45.727298 73013 load_balancer_security_lists.go:348] Keeping security list rule; does not match port 31198: { Destination=10.0.41.0/24 Protocol=6 IcmpOptions=<nil> IsStateless=false TcpOptions={ DestinationPortRange={ Max=31197 Min=31197 } SourcePortRange=<nil> } UdpOptions=<nil> }
I0319 16:37:45.727325 73013 load_balancer_security_lists.go:348] Keeping security list rule; does not match port 31198: { Destination=10.0.42.0/24 Protocol=6 IcmpOptions=<nil> IsStateless=false TcpOptions={ DestinationPortRange={ Max=31197 Min=31197 } SourcePortRange=
The text was updated successfully, but these errors were encountered:
On master deleting a Service type=LoadBalancer or changing its NodePort(s) results in the CCM leaking security list rules.
NodePort
Changes to a Servce's node port are converted into a
BackendSetAction
with anActionType
of"update"
. TheBackendSetAction.BackendSet
field is set to the newBackendSet
and theUpdate()
method on the security list manager is only provided the new (desired) state and has no logic for handling clearing up the old rules.E2E tests
CCM logs
The text was updated successfully, but these errors were encountered: