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

etcdctl: parse auth related options in endpoint health command #6613

Merged
merged 1 commit into from
Oct 9, 2016

Conversation

mitake
Copy link
Contributor

@mitake mitake commented Oct 8, 2016

Partially fixes #6611

/cc @jy02471192 @xiang90

@mitake
Copy link
Contributor Author

mitake commented Oct 8, 2016

@jy02471192 could you try it with a root user or a user with root role? The root role can access to every key unconditionally so the health check can work.

@xiang90
Copy link
Contributor

xiang90 commented Oct 8, 2016

Can we add an e2e test for this?

@lonelili
Copy link

lonelili commented Oct 9, 2016

The root role can access to every key unconditionally

@mitake In my situation, the root role doesn't have any keys' permissions initially.
In fact, my case was found with a root user.

@xiang90
Copy link
Contributor

xiang90 commented Oct 9, 2016

the root role doesn't have any keys' permissions initially.

The root role should have permissions on all keys by default.

@mitake
Copy link
Contributor Author

mitake commented Oct 9, 2016

@xiang90 updated for e2e test, PTAL

@mitake
Copy link
Contributor Author

mitake commented Oct 9, 2016

@lonelili the semantics of root role is changed in #6356 , but it isn't backported to stable releases yet. It is available in the master branch or v3.1.0-alpha1.

@xiang90
Copy link
Contributor

xiang90 commented Oct 9, 2016

LGTM. Thanks!

@xiang90 xiang90 merged commit 602fd6a into etcd-io:master Oct 9, 2016
@lonelili
Copy link

Good news. [Thumbs up]

@mitake mitake deleted the ep-health branch October 11, 2016 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

endpoint health(etcdctlv3): permission denied
3 participants