layotto icon indicating copy to clipboard operation
layotto copied to clipboard

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

Open seeflood opened this issue 2 years ago • 6 comments

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 avatar Jul 06 '22 04:07 seeflood

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/

seeflood avatar Aug 01 '22 07:08 seeflood

这个我来看看

akkw avatar Aug 13 '22 03:08 akkw

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

seeflood avatar Aug 13 '22 05:08 seeflood

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

akkw avatar Aug 21 '22 06:08 akkw

@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 avatar Aug 25 '22 14:08 seeflood

@akkw hi, any progress on this issue?

seeflood avatar Sep 09 '22 04:09 seeflood

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

rayowang avatar Nov 01 '22 09:11 rayowang