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

logConfig 为 auto 的时候, 出现 no access #406

Closed
rsonghuster opened this issue Nov 3, 2021 · 2 comments
Closed

logConfig 为 auto 的时候, 出现 no access #406

rsonghuster opened this issue Nov 3, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@rsonghuster
Copy link
Contributor

使用的是主账号, 第一次 deploy 的时候, 出现 no permission to access logstore x in logproject y,第二次就OK 了

应该是日志服务资源的创建是异步的, 需要多次 retry get, 看看是不是真的成功创建

@rsonghuster rsonghuster added the enhancement New feature or request label Nov 3, 2021
@wss-git
Copy link
Member

wss-git commented Nov 3, 2021

这个问题之前和千风也讨论过,但是日志接口没有这个状态的返回,只能去创建重试机制(已经增加了);

而且还有比较奇怪的地方,如果日志仓库没有创建成功,那么为什么可以开通索引呢?是日志那边有什么特殊处理,还是我们的接口有啥问题呢?

@wss-git
Copy link
Member

wss-git commented Nov 3, 2021

image

在部署时候重试机制是:
日志如果有问题是重试 12 次 每次3s,
其他问题就是仅仅是重试2次,每次1s

@wss-git wss-git closed this as completed Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants