Skip to content

createLoadBalancerRule does not allow for tcp and udp #4481

Description

@nlindblo
ISSUE TYPE
  • Bug Report
COMPONENT NAME

createLoadBalancerRule API, UI


CLOUDSTACK VERSION

4.14


CONFIGURATION

Advanced Networking, VPC, Loadbalancer

OS / ENVIRONMENT

Ubuntu 16.04

SUMMARY

LoadBalancerRule API does not allow for tcp and udp to be selected as protocol. When a rule is created for a port choosing tcp as protocol, an additional rule cannot be created for udp and a error message stating conflicting rule is thrown.

STEPS TO REPRODUCE

with cloudmonkey:

createLoadBalancerRule algorithm=source name=test privateport=800 publicport=800 networkid=299aace4-a5c5-46f4-9ae7-92c86ded0cea publicipid=2c49bd00-cd6b-44d4-93a5-7082ead298e0 protocol=udp

createLoadBalancerRule algorithm=source name=test privateport=800 publicport=800 networkid=299aace4-a5c5-46f4-9ae7-92c86ded0cea publicipid=2c49bd00-cd6b-44d4-93a5-7082ead298e0 protocol=tcp

throws error message

The range specified, 800-800, conflicts with rule 4214 which has 800-800


EXPECTED RESULTS

either tcp/udp as a selection or being able to create a rule for each

ACTUAL RESULTS

The range specified, 800-800, conflicts with rule 4214 which has 800-800


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions