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
[CONTCNTR-3779] Restarting k8s-bigip-ctlr when using f5-ipam-controller causes all VirtualServers to be recreated with new IP addresses, or even removed
#2747
Closed
klippo opened this issue
Jan 30, 2023
· 2 comments
CIS Version : 2.11.1
Build: f5networks/k8s-bigip-ctlr:2.11.1
IPAM controller: f5networks/f5-ipam-controller:0.1.8
BIGIP Version: Big IP 15.1.7
AS3 Version: 3.38.8
Agent Mode: AS3
Orchestration: K8S
Orchestration Version: 1.24.4
Pool Mode: Cluster
Additional Setup details: <Platform/CNI Plugins/ cluster nodes/ etc>
Description
We're trying to understand why all our VirtualServers gets a new IP on every restart of f5-bigip-ctlr . We're using it together with the f5-ipam-controller .
We've noticed that every time f5-bigip-ctlr is restarted, the ipams.fic.f5.com/f5-bigip-ctlr.k8s-cluster01.ipam is deleted and re-created , this will cause f5-ipam-controller to empty it's SQLite database.
Observed with:
Deletion of ipams resource from f5-bigip-ctrl logs:
f5-bigip-ctlr-7d76559868-4m69l f5-bigip-ctlr 2023/01/30 08:39:06 [DEBUG] [ipam] Created IPAM Custom Resource:
This means that every VirtualServer now have a new IP address that needs to be updated in F5 and in the DNS.
We've also noticed that if we restart f5-bigip-ctlr without f5-ipam-controller running and using a mix of ipamLabel and virtualServerAddress, all ipams VirtualServers are removed from F5.
Is this by design, or have we done a major configuration mishap somewhere?
Expected Result
Persist allocated IP addresses during restarts of service
<Configuration files, error messages, logs>
Note: Sanitize the data. For example, be mindful of IPs, ports, application names and URLs
Note: The following F5 article outlines the information required when opening an issue.
https://support.f5.com/csp/article/K60974137
Observations (if any)
The text was updated successfully, but these errors were encountered:
klippo
changed the title
Restarting k8s-bigip-ctlr when using f5-ipam-controller causes all VirtualServers to be recreated with new IP addresses or removed.
Restarting k8s-bigip-ctlr when using f5-ipam-controller causes all VirtualServers to be recreated with new IP addresses
Jan 30, 2023
klippo
changed the title
Restarting k8s-bigip-ctlr when using f5-ipam-controller causes all VirtualServers to be recreated with new IP addresses
Restarting k8s-bigip-ctlr when using f5-ipam-controller causes all VirtualServers to be recreated with new IP addresses, or even removed
Jan 30, 2023
trinaths
changed the title
Restarting k8s-bigip-ctlr when using f5-ipam-controller causes all VirtualServers to be recreated with new IP addresses, or even removed
[CONTCNTR-3779] Restarting k8s-bigip-ctlr when using f5-ipam-controller causes all VirtualServers to be recreated with new IP addresses, or even removed
Jan 31, 2023
Setup Details
CIS Version : 2.11.1
Build: f5networks/k8s-bigip-ctlr:2.11.1
IPAM controller: f5networks/f5-ipam-controller:0.1.8
BIGIP Version: Big IP 15.1.7
AS3 Version: 3.38.8
Agent Mode: AS3
Orchestration: K8S
Orchestration Version: 1.24.4
Pool Mode: Cluster
Additional Setup details: <Platform/CNI Plugins/ cluster nodes/ etc>
Description
We're trying to understand why all our VirtualServers gets a new IP on every restart of
f5-bigip-ctlr
. We're using it together with thef5-ipam-controller
.We've noticed that every time
f5-bigip-ctlr
is restarted, theipams.fic.f5.com/f5-bigip-ctlr.k8s-cluster01.ipam
is deleted and re-created , this will causef5-ipam-controller
to empty it's SQLite database.Observed with:
https://github.com/F5Networks/k8s-bigip-ctlr/blob/v2.11.1/pkg/controller/controller.go#L246
This means that every VirtualServer now have a new IP address that needs to be updated in F5 and in the DNS.
We've also noticed that if we restart
f5-bigip-ctlr
withoutf5-ipam-controller
running and using a mix ofipamLabel
andvirtualServerAddress
, all ipams VirtualServers are removed from F5.Is this by design, or have we done a major configuration mishap somewhere?
Expected Result
Persist allocated IP addresses during restarts of service
Actual Result
Diagnostic Information
Runtime args:
Observations (if any)
The text was updated successfully, but these errors were encountered: