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
What happened?
A user on our system recently created a network policy with an egress networkpolicy that contained:
- ipBlock:
cidr: 2603:1026:3000::/48
When this happened, kube-router stopped being able to sync networkpolicy to the host do to an ipset error:
E0204 21:15:05.569840 5655 network_policy_controller.go:259] Aborting sync. Failed to sync network policy chains: %!v(MISSING)failed to perform ipset restore: ipset v7.15: Error in line 3139: Syntax error: '48' is out of range 0-32
What did you expect to happen?
Ideally kube-router would be able to handle both IPv4 and IPv6 addresses in NetworkPoicy. However, since kube-router isn't compatible with IPv6, I expected it to just ignore IPv6 addresses and still keep syncing the policy that it could.
It would also be nice if kube-router would log something if it encounters address types that it isn't able to process as a warning.
** System Information (please complete the following information):**
Kube-Router Version (kube-router --version): v1.4.0
Kube-Router Parameters: --run-firewall=true
Kubernetes Version (kubectl version) : 1.21.9
Cloud Type: On Prem
Kubernetes Deployment Type: Custom
Kube-Router Deployment Type: System Service
The text was updated successfully, but these errors were encountered:
The main reason why I didn't upstream it yet is that we only made a change in netpol, not in any other component. But since this issue is about network policy controller only, would you be fine with upstreaming it as it is?
What happened?
A user on our system recently created a network policy with an egress networkpolicy that contained:
When this happened, kube-router stopped being able to sync networkpolicy to the host do to an ipset error:
What did you expect to happen?
Ideally kube-router would be able to handle both IPv4 and IPv6 addresses in NetworkPoicy. However, since kube-router isn't compatible with IPv6, I expected it to just ignore IPv6 addresses and still keep syncing the policy that it could.
It would also be nice if kube-router would log something if it encounters address types that it isn't able to process as a warning.
** System Information (please complete the following information):**
kube-router --version
):v1.4.0
--run-firewall=true
kubectl version
) :1.21.9
The text was updated successfully, but these errors were encountered: