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

'mc admin user' command not working #8

Open
honnorat opened this issue Oct 17, 2019 · 2 comments
Open

'mc admin user' command not working #8

honnorat opened this issue Oct 17, 2019 · 2 comments

Comments

@honnorat
Copy link

Hi,

I do not manage to create / list users using 'mc admin user' command and my docker minio-multiarch installation.

I have setup the minio store using docker-compose:

# docker-compose.yml
version: '3.7'
services:
  store:
    container_name: store
    image: jessestuart/minio:RELEASE.2019-10-12T01-39-57Z-arm64
    volumes:
      - type: bind
        source: ./minio-data
        target: /data
    ports:
      - 9000:9000
    env_file:
      - minio.env
    command: server /data

Accessing the store using mc ls or via the web interface works as expected.

However, when I want to use 'admin user' mc subcommand, I get the following error message:

$ mc admin user list store
mc: <ERROR> Cannot list user: sio: unsupported version.
$ mc admin user list --json store
{
 "status": "error",
 "error": {
  "message": "Cannot list user",
  "cause": {
   "message": "sio: unsupported version",
   "error": {}
  },
  "type": "fatal",
  "sysinfo": {
   "host.arch": "arm64",
   "host.cpus": "4",
   "host.lang": "go1.13.1",
   "host.name": "8206820f6f3d",
   "host.os": "linux",
   "mem.heap.total": "134 MB",
   "mem.heap.used": "68 MB",
   "mem.total": "142 MB",
   "mem.used": "68 MB"
  }
 }
}

What's wrong ? No problem with minio/minio image.

@jessestuart
Copy link
Owner

jessestuart commented Nov 1, 2019

Hmm I've never actually used that command myself, so I'm afraid I can't specifically on your error... And since it doesn't seem to relate specifically to an architectural/platform issue, maybe filing an issue w/ @minio/mc would point you in the right direction. Plus there's always the slack group — minio.slack.com (5,000+ members and growing!) if you need some help.

@jessestuart
Copy link
Owner

That being said, you have me intrigued so I figured I'd poke around a bit...

Turns out sio is another MinIO project:

Go implementation of the Data At Rest Encryption (DARE) format. [...] This project specifies a format for en/decrypting an arbitrary data stream and gives some recommendations about how to use and implement data at rest encryption (DARE). Additionally this project provides a reference implementation in Go.

I checked, and neither the minio/minio:edge nor minio/mc:edge have the sio and ncrypt binaries included as binary, so at this point I'm leaning towards marking this a won't fix, since it seems clear that the mc admin is a sign or MinIO's growing up in the world of cloud storage and are beyond the scope of the resources I have to maintain this and (@jessestuart/minio-multiarch much beyond ensure current parity — which, I'll add, still work great on projects from playing around with a single node, to running a multi-node cluster on kubernetes with distributed striping :D

That being said — thanks for the inquiry — and let me know if you come up with something else 👍 In fact, maybe we could push to have these (relatively minor) changes upstreamed? Seems that could make everyone happy.

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

No branches or pull requests

2 participants