FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Disallowing udp as a lb protocol by davidjumani · Pull Request #871 · apache/cloudstack-primate · GitHub

This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Repository navigation

Disallowing udp as a lb protocol - #871

Closed
davidjumani wants to merge 1 commit into
apache:masterfrom
shapeblue:fix-lb
Closed

davidjumani wants to merge 1 commit into
apache:masterfrom
shapeblue:fix-lb

Conversation

Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

Copy link
Copy Markdown

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

Copy link
Copy Markdown

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

yadvr commented Nov 24, 2020

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
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"
  }
}

Copy link
Copy Markdown
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?

Copy link
Copy Markdown
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

Copy link
Copy Markdown
Contributor Author

Closing this as other load balancers might support udp

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL