cloudandheat / ch-k8s-lbaas

Flexible Loadbalancer-as-a-Service controller for Kubernetes
Apache License 2.0
9 stars 7 forks source link

Opentack: Clean up stale FIPs #50

Open Lykos153 opened 1 year ago

Lykos153 commented 1 year ago

Regularly delete floating IPs inside the project (#49) that have the LBaaS tag but are not used by any Service. May to some extend help with #28

cah-link commented 1 year ago

Could not reproduce failing cleanup job. Can you provide more information on that issue?

I1110 08:35:42.640157       1 controller.go:245] Triggering periodic cleanup
I1110 08:35:42.900766       1 port_manager.go:245] Used ports=["ac75221e-01a1-4b56-91f0-de06056b3362"]
I1110 08:35:42.900859       1 worker.go:305] Successfully executed job CleanupJob
I1110 08:36:11.802530       1 worker.go:305] Successfully executed job RemoveServiceJob("default/test-service")
I1110 08:36:12.061029       1 port_manager.go:245] Used ports=[]
I1110 08:36:12.061245       1 port_manager.go:261] Trying to delete port "ac75221e-01a1-4b56-91f0-de06056b3362"
I1110 08:36:14.688460       1 port_manager.go:230] Trying to delete floating ip "1ecde23f-fd77-4c67-990d-66bee9c56174"
I1110 08:36:15.845537       1 worker.go:305] Successfully executed job CleanupJob