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

user: unknown user service 报错 #196

Open
yewenhai99999 opened this issue Aug 2, 2021 · 0 comments
Open

user: unknown user service 报错 #196

yewenhai99999 opened this issue Aug 2, 2021 · 0 comments

Comments

@yewenhai99999
Copy link

yewenhai99999 commented Aug 2, 2021

Please answer these questions before submitting your issue. Thanks!
在你提交 issue 前,请先回答以下问题,谢谢!

  1. What version of Go and cronsun version are you using?
    你用的是哪个版本的 Go 和 哪个版本的 cronsun?

0.3.5

  1. What operating system and processor architecture are you using (go env)?
    你用的是哪个操作系统,什么架构的?

Centos7.8,因特尔

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    你做了什么,遇到了什么问题?尽可能描述清楚问题,最好把操作步骤写下来,按这些步骤操作后能重现你的问题。

**线上环境的定时任务中,执行用户为service,执行任务报错user: unknown user service,我确认了用户是存在的,并且手动执行没有问题;但是在测试环境没有报错,cronsun同版本,只是连接的etcd和mongodb不同;我进行交叉验证,线上cronsun连测试etcd,执行任务报该错误,测试环境cronsun连接线上etcd和mongodb,执行任务没有报错

由交叉验证,我怀疑是线上用户体系与测试环境不一致导致。**

  1. What did you expect to see?
    你期望得到什么样的结果?

我想知道cronnode是如何通过service用户执行定时任务的。

  1. What did you see instead?
    现在你得到的结果是什么样的?
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

1 participant