ddev / ddev-minio

MinIO addon for DDEV
Apache License 2.0
6 stars 1 forks source link

Project fails to start on ddev v1.23 with minio installed #35

Closed zaifastafa closed 6 months ago

zaifastafa commented 6 months ago

On the latest ddev 1.23 I am getting this error when starting the project with minio installed:

Failed to restart sw6: docker-compose build failed: composeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-sw6 docker-compose -f /home/huzaifa/code/sw6/.ddev/.ddev-docker-compose-full.yaml --progress=plain build', action='[--progress=plain build]', err='exit status 15', stdout='', stderr='2 error(s) decoding:

* error decoding 'services[minio].deploy.resources.limits.cpus': unexpected value type int for cpus
* error decoding 'services[minio].deploy.resources.reservations.cpus': unexpected value type int for cpus', output='', stderr='2 error(s) decoding:

* error decoding 'services[minio].deploy.resources.limits.cpus': unexpected value type int for cpus
* error decoding 'services[minio].deploy.resources.reservations.cpus': unexpected value type int for cpus' 
rfay commented 6 months ago

@seebeen this seems to have been failing automated tests for a long, long time, and now that v1.23.0 is out, it fails everything, not just HEAD,

https://github.com/oblakstudio/ddev-minio/actions/runs/8643782806

If you're not getting email notifications of test fails, please take a look and see if you can get them.

rfay commented 6 months ago

Related:

zaifastafa commented 6 months ago

@seebeen Any update on this too? Project is kind of stuck because cannot use minio. Thanks

stasadev commented 6 months ago

@zaifastafa, update docker-compose.minio.yaml with (no need to remove #ddev-generated from the file):

    deploy:
      resources:
        limits:
          cpus: "2.5"
          memory: "1024M"
        reservations:
          cpus: "1.5"
          memory: "512M"

Hope @seebeen has time to update it.

seebeen commented 6 months ago

Looking into it.

oblakbot commented 6 months ago

:tada: This issue has been resolved in version 2.0.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: