HC-447: Added capability to rollover old job_status indices in Mozart ES#94
Merged
mcayanan merged 43 commits intodevelop-v5from Feb 2, 2023
Merged
HC-447: Added capability to rollover old job_status indices in Mozart ES#94mcayanan merged 43 commits intodevelop-v5from
mcayanan merged 43 commits intodevelop-v5from
Conversation
added 30 commits
January 6, 2023 17:03
added 11 commits
January 30, 2023 16:55
pymonger
approved these changes
Feb 2, 2023
added 2 commits
February 2, 2023 15:34
This was referenced Mar 20, 2023
Merged
DustinKLo
added a commit
that referenced
this pull request
Mar 20, 2023
…s on Mozart ES (#100) * HC-447: Added capability to rollover old job_status indices in Mozart ES (#94) * HC-447: Add mechansim to roll of ES indices on Mozart * install templates and bootstrap * add new files * cannot resolve role * fix base path * update * modify to modern template payload * update * add comma * dump json * fix typo * updates * typo * update * make index pattern more specific * remove alias * update * revert * update * update * use the phases properly * updated * update * update * update * add actions * update * update * update policy * update names to be consistent throughout * revert * revert back aliases * update * typo * remove ILM from event, task, and worker templates * remove alias * revert back to default 8 shards * No need to push index templates out as they are initialized elsewhere * add aliases * update * update description * bump version * make a minor update --------- Co-authored-by: Mike Cayanan <michael.d.cayanan@jpl.nasa.gov> * move to fab-classic as it has active support and development (#96) (#98) Co-authored-by: Gerald Manipon <pymonger@gmail.com> * NSDS-2584 - Implement rollover of old task, worker, event ES docs on Mozart ES (#99) * added lifecycle and aliases to templates * using clean_indices_from_alias.py to remove mozart indices * deleting templates is _index_template, not _template * added note to location of template files * commenting out this line b/c we shouldnt be deleting the templates --------- Co-authored-by: dustinlo <dustin.k.lo@jpl.nasa.gov> --------- Co-authored-by: Michael Cayanan <42812746+mcayanan@users.noreply.github.com> Co-authored-by: Mike Cayanan <michael.d.cayanan@jpl.nasa.gov> Co-authored-by: Gerald Manipon <pymonger@gmail.com> Co-authored-by: dustinlo <dustin.k.lo@jpl.nasa.gov>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Dependent on this related PR: hysds/hysds#149
sds update mozartfunction such that it will install the ES ILM policy as well as the templates for:~/.sds/filesNote that when these templates get created, the following message is seen in the logs:
This is because according to the ES Index Template Docs,
Legacy templates, which is what appears that Core has been using historically, is deprecated: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/indices-templates-v1.html
Testing
See comments in https://hysds-core.atlassian.net/browse/HC-447