clearml-server icon indicating copy to clipboard operation
clearml-server copied to clipboard

clearml server deletes APP credentials on server restart

Open ngessert opened this issue 7 months ago • 2 comments

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.

ngessert avatar Jul 17 '24 15:07 ngessert