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

clearml server deletes APP credentials on server restart #250

Open
ngessert opened this issue Jul 17, 2024 · 2 comments
Open

clearml server deletes APP credentials on server restart #250

ngessert opened this issue Jul 17, 2024 · 2 comments

Comments

@ngessert
Copy link

ngessert commented Jul 17, 2024

With apiserver version 1.16.0, App credentials are removed for all fixed users, when you restart the server. In our case meaning, we run docker-compose -f ... down and then docker-compose -f ... up -d.

After downgrading the apiserver to 1.15.1 the App credentials were persistent again. We downgraded by changing the tag of the docker image in the docker-compose file to 1.15.1 instead of latest.

We've tracked it down to this commit (probably): 92b42d66b77fcaeb0824cb395233578e7be01591

if not (key and secret):
        log.info(f"Resetting credentials for existing user {user.id} ({user.name})")
        user.credentials = []
        user.save()
        return

Any idea what is happening here? I assume this is not happening for all clearml-server users, otherwise there would be more complaints.

@ainoam
Copy link
Collaborator

ainoam commented Jul 17, 2024

@ngessert v1.16.1 is about to be released to address this issue.

@pollfly
Copy link
Contributor

pollfly commented Jul 23, 2024

Hey @ngessert! Just letting you know that this issue has been resolved in the recently released v1.16.1. Let us know if there are any issues :)

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

3 participants