Hi, I upgrade the cluster from 7.16.1 to 8.19.1 as per the upgrade guide. The kibana ugprade assistant did’t report anything. Now I’m upgrading to version 9.2.3 where getting the below issue for security index.
The index .security-7 created in version \[7.16.1\] with current compatibility version \[7.16.1\] must be marked as read-only using the setting \[index.blocks.write\] set to \[true\] before upgrading to 9.2.3
Any correct procedure to migrate this .security-7 index to new one? Setting it to true didn't help.
This has come upon in different guises a few times.
You should really have gone to 8.19.latest, which is 8.19.10 as of right now. 8.19.1 was a strange choice.
And using kibana 8.19.10s Upgrade Assistant, and earlier 8.19.x versions, would surely have shown you this index (and maybe others) was not 9.x compatible going forward. Please re-check this and share the screenshot.
The remediation you need to take is done via kibana while on 8.19.x, and since you are not the first to miss it (I did too!) it's not maybe as obvious as it might be.
Thanks for the reply. This is my test cluster.. So I tried taking taking backup security-backup.json and then DELETE and created index which worked fine and were able to migrate.
But for my other cluster I already see the .security-7-reindexed-for-9 which is updated part of my migration to 8.19.1. So I think will not face this issue in these clusters. I yet to upgrade to 9.2.3 here.
When migrating between major version, you should be on the last patch version available of the previous version and upgrade to the last patch version available of the current version.
So you should migrate from 8.19.10 to 9.2.4.
If I'm not wrong, this is the expected migration flow.
Doesn't really matter for what purpose, if you follow the correct processes and use the Upgrade Assistant, let it reindex, you would not have had issues.
Yes, but it looks like you are following different upgrade processes on the different clusters? Follow different processes, get different results.
Follow documented processes, get best results.
I've shared this one liner before, it will show you the index.version.created value for all indices in your cluster, as well as index creation time and name. Replace EUSER/EPASS/EHOST/EPORT appropriately
Thanks for the reply. I could see few depreciated index only, remaining all index are with version 8. Anyway I will upgrade first to 8.19.10 and then to 9.2.4
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.