I am sure that I delete this user in auth.user
and backend.user
before call auth.create_user
I check it with the following result:
action:
auth.create_user
mongo:
see picture
apiserver logs:
`[2022-05-17 10:02:50,024] [8] [WARNING] [clearml.service_repo] Returned 400 for auth.create_user in 8ms, msg=Value combination already exists: email=
`
Sorry, my test environment crashed. I have to fix it first to reproduce the problem. 😓
And are you using an email that does not exist in the server?
- delete documents in
auth.user
andbackend.user
- > see picture
hi , GracefulToad94 .
About Upgrade.
This version is deployed in the productive environment, so it is not easy to upgrade it.
About special user.
an ordinary user with the following information:
url:
createRequest:
type AuthCreateUserReq struct {
Avatar string
// brain, this value is also configured for apiserver's env CLEARML__APISERVER__DEFAULT_COMPANY(brain)
Company string
// kubebrain@megvii.com
Email string
// kubebrain
FamilyName string
// kubebrain
GivenName string
// kubebrain
Name string
// user
Role string
}
hi, SuccessfulKoala55
About creation.
like above
About unique.
This user is the first user in this company, so I think it is unique.
Sorry, I can not understand what does nut from
mean.
How can I ensure that whether this email has existed in the server?
Check mongo?
And there is a user there already with the same email?
Nut from the picture you sent this user exists
Also, please note auth.create_user
will only create an auth user - this is part of the server's internal process and is not a complete user
Sorry, I meant "But from the picture you sent this user exists" 😄
FloppyDeer99 , can you try upgrading your server? It appears to be pretty old version.
When looking at the user in MongoDB, is it some special user or just something regular?
FloppyDeer99 how exactly are you creating the user? the uniqueness is for the user's email in the company
No, this is the first user in the brain company.
hey FloppyDeer99
did you manage to get rid of your issue ?
thanks
but it's still there... can you try to delete again? Also, is this a new company?