Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fass flow has an inncorrect flow name #152

Open
ctakgh opened this issue May 31, 2022 · 2 comments
Open

Fass flow has an inncorrect flow name #152

ctakgh opened this issue May 31, 2022 · 2 comments

Comments

@ctakgh
Copy link

ctakgh commented May 31, 2022

Hello,

When faas flow is executing, the flow name does not correspond function name. The flow name is numeric (10 in my environment) as in example below:
...2022/05/31 19:25:41 stderr: 2022/05/31 19:25:41 Using default state store (consul) 2022/05/31 19:25:41 stderr: 2022/05/31 19:25:41 Using default data store (minio) 2022/05/31 19:26:07 stderr: 2022/05/31 19:26:07 Executing flow 10 2022/05/31 19:26:07 stdout: [Request 'cab6njocq3a7feq7jk5g'] Created...

This name mismatch (10 vs function name) causes issues in flow tower, traces are notmatched.

Thank you.

@ctakgh
Copy link
Author

ctakgh commented Jun 16, 2022

The flow name is assigned to 1st part of the IP address by getWorkflowNameFromHost function (https://github.com/faasflow/runtime/blob/ddf167f4bcfbe4136be631de2d493c1b166ee73f/controller/http/new_request_handler_wrapper.go#L73). Is this a bug? or environment issue?

@TYsonHe
Copy link

TYsonHe commented Aug 25, 2023

oh,i met the same question as you @ctakgh! @s8sg can you please help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants