-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Trying to set a password in ES 8.0 fails for a security index that was created in 7.0 #38740
Comments
Pinging @elastic/es-security |
I can't reproduce this using the standard snapshots. I suspect it is something to do with the builds that Kibana is running (there may still be a real bug, it's just that your listed reproduction steps aren't enough to trigger it). I don't understand where this index name comes from: The security code uses My steps were
ES 7.0.0 build details
ES 8.0.0 build details
|
Great, this is helpful. I think I have found the issue.
The mapping with type The only change needed in your steps to reproduce the issue would be between steps (9) and (10). Before Step 10:
|
@joshdover It's not particularly surprising that this doesn't work - we haven't done any work in master to support security upgrades from 7 to 8. Per #38678 (comment), we very much hope that security will stop using a regular index by the time we get to 8, so we're not likely to prioritise work that would change the type used in the security inde (or move to type-less APIs) until we have a better feel about where we're going with "system indices" in 7.x/8.0 For now can you just not run the upgrade assistant on the security index? |
Emm ok no entiendo muy bien pero trataré de comprenderlo 😀. Gracias por la
atencion!!
El 12 feb. 2019 19:47, "Tim Vernum" <[email protected]> escribió:
… @joshdover <https://github.com/joshdover>
Thanks for your investigation. I'd like to close this issue and open a new
one about the security index not being compatible with the Kibana upgrade
assistant for 7.x to 8.x
It's not particularly surprising that this doesn't work - we haven't done
any work in master to support security upgrades from 7 to 8.
Per #38678 <#38678>, we
very much hope that security will stop using a regular index by the time we
get to 8, so we're not likely to prioritise work that would change the type
used in the security inde (or move to type-less APIs) until we have a
better feel about where we're going with "system indices" in 7.x/8.0
For now can you just not run the upgrade assistant on the security index?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#38740 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AtTlEwea3ZAIrR_Nr0uCgUmQM75vzfvWks5vM4rbgaJpZM4a0ig9>
.
|
@tvernum That works for me. Just wanted to flag this early so it wasn't forgotten about. For our testing purposes, we'll exclude .security for the time being. Thanks! |
Describe the feature:
Elasticsearch version (
bin/elasticsearch --version
): 8.0.0-SNAPSHOTPlugins installed: []
JVM version (
java -version
): openjdk version "11.0.2" 2019-01-15OS version (
uname -a
if on a Unix-like system): Darwin Kernel Version 18.2.0Description of the problem including expected versus actual behavior:
I should be able to update passwords for users created in 7.0 on a 8.0 cluster.
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.
PUT /_security/user/<username>/_password
APIWhen looking at the mappings for the
.security
index it appears to only have a single type (_doc
). My guess is that the logic for putting the mappings internally in ES is usingdoc
rather than just no type at all.Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: