envoyproxy / envoyproxy/envoy

Envoy 1.12 update Lds will not send a request to get the route defined in the scope, nor report an error, the request will report no_route 404

Open
#10,913 4 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
437

Description

![image](https://user-images.githubusercontent.com/11996269/80079652-279c8300-8583-11ea-8685-1d768f563b03.png)

ScopeRoute Config:
![image](https://user-images.githubusercontent.com/11996269/80079746-43a02480-8583-11ea-8621-b61f4949af79.png)

RouteConfig:
![image](https://user-images.githubusercontent.com/11996269/80079800-561a5e00-8583-11ea-80e3-60c812b713af.png)

RawRouteConfig:
`
[{
"name": "local_route_443",
"virtual_hosts": [{
"routes": [{
"route": {
"cluster": "serviceA"
},
"match": {
"path": "/service/1"
}
},
{
"match": {
"path": "/service/2"
},
"route": {
"cluster": "serviceB"
}
},
{
"match": {
"path": "/service/3"
},
"route": {
"weighted_clusters": {
"clusters": [{
"name": "serviceA",
"weight": 10
}, {
"name": "serviceB",
"weight": 90
}],
"runtime_key_prefix": "weighted_clusters_healthy",
"total_weight": 100
}
}
}
],
"domains": [
"*"
],
"name": "local_route_443"
}]
},
{
"name": "local_route_80",
"virtual_hosts": [{
"routes": [{
"route": {
"cluster": "serviceA"
},
"match": {
"path": "/service/1"
}
},
{
"match": {
"path": "/service/2"
},
"route": {
"cluster": "serviceB"
}
},
{
"match": {
"path": "/service/3"
},
"route": {
"weighted_clusters": {
"clusters": [{
"name": "serviceA",
"weight": 10
}, {
"name": "serviceB",
"weight": 90
}],
"runtime_key_prefix": "weighted_clusters_healthy",
"total_weight": 100
}
}
}
],
"domains": [
"*"
],
"name": "local_route_80"
}]
},
{
"name": "route-config1",
"virtual_hosts": [{
"routes": [{
"route": {
"cluster": "serviceA"
},
"match": {
"path": "/service/1"
}
}],
"domains": [
"*"
],
"name": "route-config1"
}]
},
{
"name": "route-config2",
"virtual_hosts": [{
"routes": [{
"match": {
"path": "/service/2"
},
"route": {
"cluster": "serviceB"
}
}],
"domains": [
"*"
],
"name": "route-config2"
}]
}
]
`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.