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

Windows update license documentation invokes deprecated/removed '_xpack' path #54662

Closed
danielharada opened this issue Apr 2, 2020 · 2 comments · Fixed by #54698
Closed

Windows update license documentation invokes deprecated/removed '_xpack' path #54662

danielharada opened this issue Apr 2, 2020 · 2 comments · Fixed by #54698
Labels
>docs General docs changes :Security/License License functionality for commercial features

Comments

@danielharada
Copy link

Elasticsearch version (bin/elasticsearch --version):
7.6

OS version (uname -a if on a Unix-like system):
Windows

Description of the problem including expected versus actual behavior:
Our Update License API docs for Windows lists the following endpoint for updating the license: http://<host>:<port>/_xpack/license.

However, the _xpack path was deprecated, and likely removed by version 7.6: #35959. This path was (erroneously?) added back into the docs for Windows only in a subsequent PR: #40375.

Attempts to update license at the documented endpoint fail, but removing the _xpack path succeeds: http://<host>:<port>/license.

Steps to reproduce:

Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.

  1. Setup ES on Windows
  2. Get a valid license
  3. PUT your license at http://<host>:<port>/_xpack/license
    Results
    License not updated
  4. PUT your license at http://<host>:<port>/license
    Results
    200 OK response and license successfully updated

Provide logs (if relevant):

@matriv matriv added :Security/License License functionality for commercial features >docs General docs changes labels Apr 2, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (>docs)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security (:Security/License)

jkakavas added a commit that referenced this issue Apr 3, 2020
jkakavas added a commit that referenced this issue Apr 4, 2020
jkakavas added a commit to jkakavas/elasticsearch that referenced this issue Apr 4, 2020
jkakavas added a commit to jkakavas/elasticsearch that referenced this issue Apr 4, 2020
jkakavas added a commit that referenced this issue Apr 7, 2020
jkakavas added a commit that referenced this issue Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes :Security/License License functionality for commercial features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants