allegroai / clearml

ClearML - Auto-Magical CI/CD to streamline your AI workload. Experiment Management, Data Management, Pipeline, Orchestration, Scheduling & Serving in one MLOps/LLMOps solution
https://clear.ml/docs
Apache License 2.0
5.61k stars 651 forks source link

S3 deadlock when region field is missing in S3 Credentials dialog #1102

Open d13g0 opened 1 year ago

d13g0 commented 1 year ago

Describe the bug

I am unable to change a bucket configuration after entering insufficient credentials on the Web UI. This creates a deadlock situation.

To reproduce

  1. I try to download an artifact from a Task on the Web UI
  2. I get the S3 Credentials pop-up
  3. I enter the key and the secret (required) and leave the region empty (optional)
  4. I get this error:
<Error>
<Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message>
<Endpoint>***.s3.us-east-2.amazonaws.com</Endpoint>
<Bucket>***</Bucket>
<RequestId>V4DDZDZXGXNSYD49</RequestId>
<HostId>lHs+FVET66yxHhrG+FLyvHE7SOKY+wQ5rIneQ1PbnMKsHF32PfzJDELUix/aH9d0fjKeFbcbgow=</HostId>
</Error>

Expected behaviour

a) The pop-up shows again indicating the region is required or b) An easy way to remove the saved (insufficient) credentials so the pop-up shows again.

Environment

ainoam commented 1 year ago

@d13g0 You can edit your storage service credentials through the settings page. Does this help?

d13g0 commented 1 year ago

Hi @ainoam thanks for checking this. Let me try to reproduce the issue and will report back here. Thanks.