Load balancer(ALB) on anbox-stream-agent does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Anbox Cloud |
Fix Released
|
High
|
Simon Fels |
Bug Description
We have an anbox cloud deployment on AWS environment, and using AWS load balancers for the following services.
- ALB for anbox-stream-
- NLB for AMS
- NLB for coturn
- ALB for anbox-stream-agent
However, with the DNS name set to the location for anbox-stream-agent, streaming the anbox application will fail.
I have confirmed that
- The SSL certificate for the ALB of anbox-stream-agent is valid
- ALB of anbox-stream-agent is reachable from the anbox container
- ALB is configured with stickiness enabled (1 day)
- From the logs in anbox-stream-agent, I can confirm that signaling and supervisor websocket got connected
When I unset the location for anbox-stream-agent, the streaming will work.
$ juju config anbox-stream-agent --reset location
Here is the attribute of the loadbalancer:
{
"Attributes": [
{
"Key": "access_
},
{
"Key": "access_
},
{
"Key": "access_
},
{
"Key": "idle_timeout.
},
{
"Key": "deletion_
},
{
"Key": "routing.
},
{
"Key": "routing.
},
{
"Key": "routing.
},
{
"Key": "routing.
},
{
"Key": "routing.
},
{
"Key": "load_balancing
},
{
"Key": "routing.
},
{
"Key": "waf.fail_
},
{
"Key": "routing.
}
]
}
And the attribute for the target group:
{
"Attributes": [
{
"Key": "target_
},
{
"Key": "stickiness.
},
{
"Key": "target_
},
{
"Key": "deregistration
},
{
"Key": "target_
},
{
"Key": "stickiness.
},
{
"Key": "stickiness.type",
},
{
"Key": "stickiness.
},
{
"Key": "slow_start.
},
{
"Key": "stickiness.
},
{
"Key": "target_
},
{
"Key": "load_balancing
},
{
"Key": "load_balancing
}
]
}
Changed in anbox-cloud: | |
importance: | Undecided → High |
assignee: | nobody → Simon Fels (morphis) |
milestone: | none → 1.17.1 |
status: | New → In Progress |
Changed in anbox-cloud: | |
milestone: | 1.17.1 → 1.18.0 |
Changed in anbox-cloud: | |
status: | In Progress → Fix Committed |
Changed in anbox-cloud: | |
status: | Fix Committed → Fix Released |