Open ramberg opened 5 months ago
Thanks for reporting @ramberg. A v1.15.1 release should become available soon with a fix.
Hello, I'm having the same issue
is this the correct way to add the workaround? :
auth {
fixed_users {
delete_missing_autocreated_users: true
enabled: true
pass_hashed: false
users: [.... ]
}
}
Is there a place where I can see the available options for apiserver.conf?
@volcanihpc look to the default file.
You'll note you misplaced the entry, as it should not be inside fixed_users
.
Hey @ramberg! clearml-server 1.16.1 is now out and this issue has been resolved. Let us know if there are any issues :)
Describe the bug
Since my latest upgrade I'm unable to login into the WebUI with the users stated in apiserver.conf. In order to drill down on the issue I analyzed it using a fresh / clean ClearML instance (see reproduction, please).
To reproduce
For reproduction I setup a completely fresh local ClearML instance using docker compose, with a fresh data directory and an "empty" config while only specifying the apiserver.conf as follows:
I then started ClearML using docker-compose up
and was able to login using the user jane. The apiserver logged the expected following lines during startup:
I then restarted the apiserver using docker itself (but that does not matter, it also happens using compose down / up)
From now on I will receive the message " Invalid User/Password combination"; and that is because during the second startup (first restart) the apiserver deleted the user Jane from the auth database, and logged:
Expected behaviour
I would like the users stated in the apiserver.conf to be persistent over restarts.
Environment
Related Discussion
None so far.
Workaround
Adding
delete_missing_autocreated_users
to the apiserver.conf circumvents the issue for now.