Closed Bardin08 closed 2 years ago
UPD: Backend contains no logs anymore Here is a request that Director sends to the backend service: Fetch request: Url: http://10.1xx.xxx.xx:51505/v1/backendService/matches:fetch, body: {"config":{"host":"10.100.98.207","port":50502,"type":"REST"},"profile":{"name":"TeamMatch","pools":[{"name":"tm1","tag_present_filters":[{"tag":"tm1"}],"double_present_filters":[{"double_arg":"attribute.pwr","min":0.0,"max":0.0,"exclude":"NONE"}]}],"extensions":null}} Response body as string: {"code":5,"message":"Not Found"}
Logs at the backend service were a result of a missed evaluator. Now I added it, and that logs disappeared, but I still receive {"code": 5, "message": "Not Found"}
Hey @Bardin08, Could you share the definition of your profiles in the director?
@mridulji, yea sure. Here is a profile that Director sends to the backend service
{
"config":{
"host":"mmf-service.namespace.svc.cluster.local",
"port":51503,
"type":"REST"
},
"profile":{
"name":"TeamMatch",
"pools":[
{
"name":"tm1",
"tag_present_filters":[
{
"tag":"tm1"
}
],
"double_present_filters":[
{
"double_arg":"attribute.pwr",
"min":0.0,
"max":10.0,
"exclude":"NONE"
}
]
}
],
"extensions":null
}
}
And here is a ticket model:
{
"id": "c9uekfcqo521apilbcig",
"search_fields": {
"double_args": {
"attribute.pwr": 9.3
},
"tags": [
"tm1"
]
},
"create_time": "2022-05-12T11:06:37.072182879Z"
}
@mridulji @syntxerror is there any way to log all requests and responses out of the box? I can't see logs at OM core pods and I still can't understand how to understand the reason for that error
What happened:
../v1/frontendservice/tickets/{TICKET_ID}/assignments
is an endless call.When I browse logs at the k8s pod, I see these errors:
Director service
MMF service
There're no logs
Backend service
Here we have an exciting part that says we're trying to access an MMF service from the backend at the
http://localhost:50502/v1/matchfunction:run\
.I think that that's why the issue can be, but at the
Open Match
sources I can't find a call vialocalhost
or127.0.0.1
. Can this be caused by k8s port-forwarding that I use for local debugging?What you expected to happen: I received a match with a filled assignment.
How to reproduce it (as minimally and precisely as possible): I think no repro is required because the error is at the default services from the docs.
Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.): EKS
Open Match Release Version:
v1.4.0-rc1
Install Method(yaml/helm): yaml