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 create users #529

Closed
kevinlul opened this issue Dec 18, 2020 · 8 comments
Closed

Cannot create users #529

kevinlul opened this issue Dec 18, 2020 · 8 comments
Labels
bug this needs to be fixed

Comments

@kevinlul
Copy link

I'm running the last tag from Docker Hub (v0.4.6).

After setting up and signing in through the browser, I can add and remove policies, add and remove groups, set policies on users and groups, and remove users. However, I cannot add users. After clicking on "Create User" and filling in a set of valid credentials that would be able to be added through mc, I get "An error occurred, please try again." Looking in the logs, the original error is "The account key is not eligible for this operation"

I understand that this is still under development but I can't find a list of implemented features so I'm opening this issue.

@cesnietor cesnietor added the bug this needs to be fixed label Dec 18, 2020
@cesnietor
Copy link
Collaborator

might be related to minio/minio#10978

@harshavardhana
Copy link
Member

After setting up and signing in through the browser, I can add and remove policies, add and remove groups, set policies on users and groups, and remove users. However, I cannot add users. After clicking on "Create User" and filling in a set of valid credentials that would be able to be added through mc, I get "An error occurred, please try again." Looking in the logs, the original error is "The account key is not eligible for this operation"

@kevinlul upgrade your MinIO server.

@kevinlul
Copy link
Author

@harshavardhana I am on the latest from Docker Hub. I just spun this up today.

minio version RELEASE.2020-12-18T03-27-42Z
console version 0.4.6 - d573007

harshavardhana added a commit to harshavardhana/minio that referenced this issue Dec 18, 2020
Allow rotating creds with privileges to add users

fixes minio/console#529
@kevinlul
Copy link
Author

How come using the same account in mc works for adding a new user but not console? Are they not using the same API on MinIO?

@dvaldivia
Copy link
Collaborator

@kevinlul yes, they use the same library as well,mc. We need to debug where this bug is happening

@harshavardhana
Copy link
Member

How come using the same account in mc works for adding a new user but not console? Are they not using the same API on MinIO?

Console uses a different mechanism @kevinlul

@harshavardhana
Copy link
Member

New release of MinIO should fix this now RELEASE.2020-12-23T02-24-12Z

@kevinlul
Copy link
Author

It works fantastic! Thank you 🚀

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

No branches or pull requests

4 participants