-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Beats CM] Saying no to enrollment still enrolls but config is not overwritten #10150
Labels
Comments
Taking a look at this, we definitively should not override the config. |
I have a fix for that, It was a problem with the logic, first the token was right away enrolled and the confirm method did not return the right thing. I have fixed the code, will do a bit more testing and see if there is any more edge cases. |
Thanks @ph ! |
ph
added a commit
to ph/beats
that referenced
this issue
Mar 5, 2019
Fix an issue with a partial enroll, when a user refused to overrides a local configuration actually the enroll command did already used the token on the ES cluster, this commit move the confirm in the CM instead of having it in the Enroll's function and is executed by sending the token or creating any files on disk. Fixes: elastic#10150
ph
added a commit
that referenced
this issue
Mar 11, 2019
Fix an issue with a partial enroll, when a user refused to overrides a local configuration actually the enroll command did already used the token on the ES cluster, this commit move the confirm in the CM instead of having it in the Enroll's function and is executed by sending the token or creating any files on disk. Fixes: #10150
ph
added a commit
to ph/beats
that referenced
this issue
Mar 11, 2019
Fix an issue with a partial enroll, when a user refused to overrides a local configuration actually the enroll command did already used the token on the ES cluster, this commit move the confirm in the CM instead of having it in the Enroll's function and is executed by sending the token or creating any files on disk. Fixes: elastic#10150 (cherry picked from commit 5eb5085)
ph
added a commit
to ph/beats
that referenced
this issue
Mar 13, 2019
Fix an issue with a partial enroll, when a user refused to overrides a local configuration actually the enroll command did already used the token on the ES cluster, this commit move the confirm in the CM instead of having it in the Enroll's function and is executed by sending the token or creating any files on disk. Fixes: elastic#10150 (cherry picked from commit 5eb5085)
ph
added a commit
to ph/beats
that referenced
this issue
Mar 13, 2019
Fix an issue with a partial enroll, when a user refused to overrides a local configuration actually the enroll command did already used the token on the ES cluster, this commit move the confirm in the CM instead of having it in the Enroll's function and is executed by sending the token or creating any files on disk. Fixes: elastic#10150 (cherry picked from commit 5eb5085)
ph
added a commit
that referenced
this issue
Mar 13, 2019
…1186) * Fix a issue when cancelling an enroll. (#11067) Fix an issue with a partial enroll, when a user refused to overrides a local configuration actually the enroll command did already used the token on the ES cluster, this commit move the confirm in the CM instead of having it in the Enroll's function and is executed by sending the token or creating any files on disk. Fixes: #10150 (cherry picked from commit 5eb5085)
ph
added a commit
that referenced
this issue
Mar 14, 2019
…1185) Cherry-pick of PR #11067 to 7.0 branch. Original message: Fix an issue with a partial enroll, when a user refused to overrides a local configuration actually the enroll command did already used the token on the ES cluster, this commit move the confirm in the CM instead of having it in the Enroll's function and is executed by sending the token or creating any files on disk. Fixes: #10150
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 6.6.0 BC6
Operating System: Ubuntu 16.04
Steps to Reproduce:
./filebeat enroll URL TOKEN
This will replace your current settings. Do you want to continue? [Y/n]:n
Enrolled and ready to retrieve settings from Kibana
The text was updated successfully, but these errors were encountered: