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

bug: errors occur during startup; 启动时有报错 #700

Closed
seeflood opened this issue Jul 6, 2022 · 7 comments · Fixed by #835
Closed

bug: errors occur during startup; 启动时有报错 #700

seeflood opened this issue Jul 6, 2022 · 7 comments · Fixed by #835
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed kind/bug kind/easy

Comments

@seeflood
Copy link
Member

seeflood commented Jul 6, 2022

What happened:
There are errors during startup. See https://github.com/mosn/layotto/runs/7208132527?check_suite_focus=true
image

What you expected to happen:
No errors. Or make sure these errors can be ignored

How to reproduce it (as minimally and precisely as possible):
Run the demo in https://mosn.io/layotto/#/zh/start/secret/start.md

Anything else we need to know?:

@seeflood seeflood added kind/bug bug Something isn't working help wanted Extra attention is needed labels Jul 6, 2022
@seeflood seeflood changed the title bug: errors occur during startup bug: errors occur during startup; 启动时有报错 Jul 6, 2022
@seeflood seeflood added good first issue Good for newcomers kind/easy labels Jul 6, 2022
@seeflood
Copy link
Member Author

seeflood commented Aug 1, 2022

It's because we import the xds package but don't have xds configuration in the json file:
image
I think modifying the json can solve this problem.

Reference:
https://mosn.io/blog/code/mosn-xds/

@akkw
Copy link
Contributor

akkw commented Aug 13, 2022

这个我来看看

@seeflood
Copy link
Member Author

@akkw 好呀 assign 给你了~ 之前我查了一下,是因为 json 里没配xds相关的配置,供参考

@akkw
Copy link
Contributor

akkw commented Aug 21, 2022

image
配置中的hosts字段没找到,查了一下好像变成load_assignment 字段了,不知道我理解的对不对

@seeflood
Copy link
Member Author

@akkw I guess it's because we don't have the static_resources in the config.json:
image
You can try to modify the json and check if the errors disappear

@seeflood
Copy link
Member Author

seeflood commented Sep 9, 2022

@akkw hi, any progress on this issue?

@rayowang
Copy link
Member

rayowang commented Nov 1, 2022

Now xds should already be using v3 version. I just took the task of integrating istio 1.10 and fixed this by the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed kind/bug kind/easy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants