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

Cannot configure a host in docker image minio/mc:RELEASE.2018-07-31T02-28-53Z #2497

Closed
ghost opened this issue Jul 31, 2018 · 1 comment
Closed
Milestone

Comments

@ghost
Copy link

ghost commented Jul 31, 2018

Expected behaviour

We use the minio/mc image in our CI pipelines.

We start by adding the the host with the mc config host add command.

The host should be configured and the pipeline can continue.

Actual behaviour

mc: <ERROR> Unable to initialize new config from the provided credentials. The specified bucket is not valid.

Steps to reproduce the behaviour

The following generates the error:

docker run -ti --rm minio/mc:RELEASE.2018-07-31T02-28-53Z mc config host add <minio-name> https://<path-to-our-minio>/ ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY} S3v4

If we use the previous build there is no error:

docker run -ti --rm minio/mc:RELEASE.2018-07-13T00-53-22Z mc config host add <minio-name> https://<path-to-our-minio>/ ${MINIO_ACCESS_KEY} ${MINIO_SECRET_KEY} S3v4

mc version

Version: 2018-07-31T02:28:53Z
Release-tag: RELEASE.2018-07-31T02-28-53Z
Commit-id: a8c97b467dad6b29caad00fa5ff7712877ffb033

System information

The following info is from the minio browser:

VERSION
2017-05-05T01:14:51Z
MEMORY
Used: 2.3 MB | Allocated: 512 GB | Used-Heap: 2.3 MB | Allocated-Heap: 13 MB
PLATFORM
Host: <redacted hostname> | OS: linux | Arch: amd64
RUNTIME
Version: go1.7.5 | CPUs: 2
@nitisht
Copy link
Contributor

nitisht commented Jul 31, 2018

This looks like a bug on our end, will fix it ASAP. Closing this as duplicate of #2496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant