Showing posts with label chef automate. Show all posts
Showing posts with label chef automate. Show all posts

Thursday, July 13, 2023

Working with Chef Automate API on Windows

This blog explains how to use the Chef Automate API on a Windows machine. 

Pre-requisites:

  • Chef Automate Dashboard with node added to compliance.

Chef Automate API request with an API token passed in the header. This token can be created in chef automate dashboard as follows.

Login to Chef Automate dashboard. Go to token section in the settings page. 

Wednesday, September 14, 2022

Resolve "maximum shards open; [type=validation_exception]" in Chef Automate Dashboard

This blog explains how to fix Chef dashboard compliance failure due to exceeding shards limit, which may give you an error similar to below.

Issue: Chef automate compliance node connection failing with following error message.

invalid output Report processing error: rpc error: code = Internal desc = InsertInspecReport: elastic: Error 400 (Bad Request): Validation Failed: 1: this action would add [10] total shards, but this cluster currently has [998]/[1000] maximum shards open; [type=validation_exception]