Skip to content

On "production" instances, createbuckets keeps waiting #864

@Didayolo

Description

@Didayolo

From recent change in this file:

https://github.com/codalab/codabench/blob/develop/docker-compose.yml

The line 76 is stuck and returns this every five seconds:

createbuckets_1   | + echo ...waiting...
createbuckets_1   | ...waiting...
createbuckets_1   | + sleep 5

This happens when there is a MinIO associated to the instance (so the MinIO access key and secret key are defined) but the MinIO is external to the VM of the instance.

A simple fix is to cap to a maximum number of retries, or to add a condition depending on the configuration.

Warning: after changing this, it should be tested both in a "production" server and in a fresh local install

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFeature suggestions and improvementsP1High prioritySetupAnything related to the deployment of CodaLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions