🐛 Prevent creation of floating IPs when reconcile load balancer in non ACTIVE state#1115
Conversation
|
|
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
✔️ Deploy Preview for kubernetes-sigs-cluster-api-openstack ready! 🔨 Explore the source changes: b8da8f4 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-sigs-cluster-api-openstack/deploys/61e522897300ab00077f3014 😎 Browse the preview: https://deploy-preview-1115--kubernetes-sigs-cluster-api-openstack.netlify.app |
|
Welcome @mgrote! |
|
Hi @mgrote. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
I signed it |
|
/ok-to-test |
…ented to prevent creation of floating ip's for load balancer with states other than ACTIVE. Documentation link to openstack load balancer states updated. Signed-off-by: MICHAEL GROTE <michael.grote@daimler.com>
16c2af1 to
b8da8f4
Compare
|
|
I signed it |
2 similar comments
|
I signed it |
|
I signed it |
|
/check-cla |
|
/approve not sure we need keep creating the LB when first try failed.. seems reasonable to check ACTIVE before any other actions |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jichenjc, mgrote The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/lgtm |
|
/lgtm |
|
/unhold |
ReconcileLoadBalancer check for appropiate load balancer state implemented to prevent creation of floating ip's for load balancer with states other than ACTIVE.
Documentation link to openstack load balancer states updated.
What this PR does / why we need it:
Reconcilation of load balancers in other states than ACTIVE could cause the creation of unused floating iIPs until the quotas exceeds.
This PR provides a check of the appropriate load balancer state before creating other resources.
Which issue(s) this PR fixes:
Fixes #1114
Special notes for your reviewer:
TODOs:
/hold