Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[occm] LB Pool not updated when proxy-protocol service annotation changed #1167

Closed
seanschneeweiss opened this issue Aug 20, 2020 · 8 comments · Fixed by #1504
Closed

[occm] LB Pool not updated when proxy-protocol service annotation changed #1167

seanschneeweiss opened this issue Aug 20, 2020 · 8 comments · Fixed by #1504
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@seanschneeweiss
Copy link
Contributor

seanschneeweiss commented Aug 20, 2020

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:
A change to the service annotation

  • loadbalancer.openstack.org/proxy-protocol

is not picked up by the openstack-cloud-controller-manager. Changes are only propagated to the OpenStack loadbalancer pool when it is initially created.

What you expected to happen:
Changing the above service annotation should be supported and the pool updated/recreated accordingly.

How to reproduce it:
Add the service annotation to an existing service of type LoadBalancer.

apiVersion: v1
kind: Service
metadata:
   name: test-service
   annotations:
     loadbalancer.openstack.org/proxy-protocol: "true"
spec:
   ports:
   - port: 22000
     protocol: TCP
     targetPort: 8080
   type: LoadBalancer

Anything else we need to know?:
Updating the loadbalancer pool protocol is not supported by Octavia.
See the Octavia API pool documentation Update a pool detail.
For updating the protocol, the pool has to be deleted and recreated keeping the following in mind:

  • keep the floating ip
  • keep the loadbalancer and listener (if possible)
  • re-create the pool (and all others we may need to recreate)

This issue is a follow up from #1149.

Environment:

  • openstack-cloud-controller-manager version: master
  • Openstack version: Octavia

Sean Schneeweiss sean.schneeweiss@daimler.com, Daimler TSS GmbH, legal info/Impressum

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 20, 2020
@bgagnon
Copy link

bgagnon commented Sep 15, 2020

I would classify this as a bug, not a missing feature.

@seanschneeweiss
Copy link
Contributor Author

/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 24, 2020
@seanschneeweiss
Copy link
Contributor Author

/remove-kind feature

@k8s-ci-robot k8s-ci-robot removed the kind/feature Categorizes issue or PR as related to a new feature. label Oct 29, 2020
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 27, 2021
@lingxiankong
Copy link
Contributor

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 27, 2021
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 27, 2021
@seanschneeweiss
Copy link
Contributor Author

/remove-lifecycle stale
Might add a fix soon.

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 28, 2021
@chrischdi
Copy link
Member

After talking to @seanschneeweiss I created the PR which should fix this bug :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants