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

Update to Chef Server 13.2.0 and allow in-place upgrading of ElasticSearch #77

Closed
wants to merge 7 commits into from

Conversation

gsreynolds
Copy link
Contributor

@gsreynolds gsreynolds commented May 14, 2020

From Chef Server 13.2.0, we are capable of using version 6 of ElasticSearch along with 2 and 5.

Tested the stack with ES6, working OK and also passes chef-server-ctl test

Also enabled in-place upgrade of the ElasticSearch domain by adding

  ElasticsearchDomain:
    Type: AWS::Elasticsearch::Domain
    UpdatePolicy:
      EnableVersionUpgrade: true

Added "Upgrading ElasticSearch" section to the README to describe process of upgrading Chef Server to 13.2.0, followed by an upgrade to ElasticSearch 6. Tested by:

  1. Deploying the 5.1.1 version of the stack with ES5.6, uploading policies and bootstrapping some nodes.
  2. Deployed a change set with template version 5.2.0 to upgrade to Chef Server 13.2.0
  3. Deployed a further change set to upgrade to ES6.8.
  4. Verified nodes and searching all working OK and passes chef-server-ctl test too. There was some downtime whilst the ES5 to 6 upgrade was being processed by AWS.

This PR will also resolve #76 as AMIs also include latest Automate 20200513205422 which includes this change from 20200506172513:

Quick Change: Adding a legacy data collector token automatically adds the created API token to the IAM Ingest Policy.

Signed-off-by: Gavin Reynolds <[email protected]>
@gsreynolds gsreynolds force-pushed the gsreynolds/chef_server_13_2_elasticsearch_6 branch 2 times, most recently from edf020c to 2f2113e Compare May 15, 2020 09:11
@gsreynolds gsreynolds force-pushed the gsreynolds/chef_server_13_2_elasticsearch_6 branch from 2f2113e to fcb62eb Compare May 15, 2020 09:31
@gsreynolds gsreynolds changed the title Update to Chef Server 13.2.0 and default to ElasticSearch 6.8 Update to Chef Server 13.2.0 and allow in-place upgrading of ElasticSearch May 15, 2020
@gsreynolds gsreynolds closed this Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error while reporting to Data Collector - Automate ingest token setup for IAMv2
2 participants