Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Disallowing udp as a lb protocol #871

Closed
wants to merge 1 commit into from

Conversation

davidjumani
Copy link
Contributor

@davidjumani
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

@davidjumani a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔️centos ✔️debian ✔️archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/871 (JID-3689)

@rohityadavcloud
Copy link
Member

To be merged only if backend PR is merged. Can you review/advise @weizhouapache @ravening ?

@ravening
Copy link
Member

To be merged only if backend PR is merged. Can you review/advise @weizhouapache @ravening ?

@davidjumani @rhtyd it does support udp

(local) 🐱 > create loadbalancerrule name=test privateport=80 publicport=8080 protocol=udp account=admin domainid=04dfd1c6-c28e-11ea-9a43-0617bc003377 networkid=d396de4e-0e23-4e3b-a19a-1fe1ac35227c publicipid=6275b645-fac5-4b03-a2f1-40848655ffd0 algorithm=roundrobin
{
  "loadbalancer": {
    "account": "admin",
    "algorithm": "roundrobin",
    "cidrlist": "",
    "domain": "ROOT",
    "domainid": "04dfd1c6-c28e-11ea-9a43-0617bc003377",
    "fordisplay": true,
    "id": "d1883751-9e55-4104-a522-c6c5c09a123b",
    "name": "test",
    "networkid": "d396de4e-0e23-4e3b-a19a-1fe1ac35227c",
    "privateport": "80",
    "protocol": "udp",
    "publicip": "10.10.20.1",
    "publicipid": "6275b645-fac5-4b03-a2f1-40848655ffd0",
    "publicport": "8080",
    "state": "Add",
    "tags": [],
    "zoneid": "8ae93aed-7db1-4a1a-9030-db0efac6ba62",
    "zonename": "mgt122-10"
  }
}

@DaanHoogland
Copy link
Contributor

@ravening , when you say "it does support udp" do you mean that actual udp based load-balancing takes place, and not just the api accepts the value for the protocol parameter?
Is this on the VR based loadbalancer (i.e. a process like ha-proxy running on the VR) or only on an external provider?

@ravening
Copy link
Member

@ravening , when you say "it does support udp" do you mean that actual udp based load-balancing takes place, and not just the api accepts the value for the protocol parameter?
Is this on the VR based loadbalancer (i.e. a process like ha-proxy running on the VR) or only on an external provider?

@DaanHoogland ignore my previous comment. Found out that haproxy doesnt suport udp. so we can remove that option from cloudstack.

@davidjumani I already have a PR for haproxy based loadbalancer for ui in #778
If you are ok then I can make changes there only

@davidjumani
Copy link
Contributor Author

Closing this as other load balancers might support udp

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants