Bug 1383771

Summary: [RFE] Support for Marvel or Marvel-like plugin in ElasticSearch
Product: OpenShift Container Platform Reporter: Steven Walter <stwalter>
Component: RFEAssignee: Jeff Cantrill <jcantril>
Status: CLOSED DEFERRED QA Contact: Johnny Liu <jialiu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, erich, ewolinet, jokerman, lvlcek, mbarrett, misalunk, mmccomas, rmeggins, stwalter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-12 13:54:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Steven Walter 2016-10-11 17:34:13 UTC
1. Proposed title of this feature request

Support for Marvel or Marvel-like plugin in ElasticSearch

3. What is the nature and description of the request?

We are currently unable to support plugins to ElasticSearch. Customer wants to utilize the features available in the ElasticSearch plugin Marvel. https://www.elastic.co/products/marvel

7. Is there already an existing RFE upstream or in Red Hat bugzilla?
This is already opened in github at https://github.com/openshift/origin-aggregated-logging/issues/237

10. List any affected packages or components.
elasticsearch image

Comment 9 Rich Megginson 2016-10-17 14:43:57 UTC
You have to explicitly specify the classpath in the plugin command.  This is how we run the plugin command when we build the image:

plugin="-Xmx64m -Xms16m -Delasticsearch $ES_JAVA_OPTS -classpath $es_home/lib/*:/usr/share/java/lucene-core-4.10.4.redhat-1.jar org.elasticsearch.plugins.PluginManager"

...

java $plugin -i search-guard -u file:///tmp/search-guard.zip

Comment 10 Rich Megginson 2016-10-17 14:44:17 UTC
es_home=/usr/share/elasticsearch

Comment 11 Rich Megginson 2016-10-17 14:44:49 UTC
ES_JAVA_OPTS="-Des.path.home=/usr/share/java/elasticsearch -Des.config=/usr/share/java/elasticsearch/config/elasticsearch.yml" \

Comment 12 Steven Walter 2016-10-17 14:52:50 UTC
To clarify, ES_JAVA_OPTS is an environment variable for the elasticsearch dc correct? So you set that and then it fills into the plugin command?

Where does es_home go?

Comment 13 Rich Megginson 2016-10-17 15:02:38 UTC
The full command line is

java -Xmx64m -Xms16m -Delasticsearch -Des.path.home=/usr/share/java/elasticsearch -Des.config=/usr/share/java/elasticsearch/config/elasticsearch.yml -classpath usr/share/elasticsearch/lib/*:/usr/share/java/lucene-core-4.10.4.redhat-1.jar org.elasticsearch.plugins.PluginManager -i nameofplugin .....

Comment 15 Jeff Cantrill 2016-10-31 17:51:17 UTC
@steve can we get confirmation of your request here.  Is the request to provide a monitoring plugin or to allow any plugin to be installed

Comment 16 Steven Walter 2016-10-31 17:57:42 UTC
The customer attached to the case specifically wants the Marvel plugin; I will ask if the customer is looking for any monitoring solution or if it needs to be Marvel. I do not think they have a requirement for support for all plugins.

Comment 21 Paul Weil 2017-04-19 12:30:35 UTC
*** Bug 1440307 has been marked as a duplicate of this bug. ***

Comment 22 Paul Weil 2017-04-19 13:28:55 UTC
*** Bug 1441032 has been marked as a duplicate of this bug. ***

Comment 25 Eric Rich 2018-03-12 13:54:36 UTC
This bug has been identified as a dated (created more than 3 months ago) bug. 
This bug has been triaged (has a trello card linked to it), or reviewed by Engineering/PM and has been put into the product backlog, 
however this bug has not been slated for a currently planned release (3.9, 3.10 or 3.11), which cover our releases for the rest of the calendar year. 

As a result of this bugs age, state on the current roadmap and PM Score (being below 70), this bug is being Closed - Differed, 
as it is currently not part of the products immediate priorities.

Please see: https://docs.google.com/document/d/1zdqF4rB3ea8GmVIZ7qWCVYUaQ7-EexUrQEF0MTwdDkw/edit for more details.