Elasticsearch module functions should pass hosts and profile to index_exists() #41162
Labels
Bug
broken, incorrect, or confusing behavior
Execution-Module
P2
Priority 2
RIoT
Relates to integration with cloud providers, hypervisors, API-based services, etc.
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
The Elasticsearch index_delete execution module is broken when passing a profile in through the arguments. It fails with
Exception: Could not connect to Elasticsearch host/ cluster ['127.0.0.1:9200'], is it unhealthy?
.The
index_delete()
method calls theindex_exists()
method without passinghosts
andprofile
causing_get_instance()
to fail when attempting to ping the ES node.Setup
The text was updated successfully, but these errors were encountered: