[ 
https://issues.apache.org/jira/browse/METRON-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15715622#comment-15715622
 ] 

ASF GitHub Bot commented on METRON-604:
---------------------------------------

GitHub user justinleet opened a pull request:

    https://github.com/apache/incubator-metron/pull/385

    METRON-604 Mpack installs do not work on clean machines due to missing 
Elastic repo

    Added curator repo for CentOS 6/7.  The appropriate version will be chosen 
based on Ambari's provided major version.  The only difference in the repos is 
just the version number, so that's just plugged into the string for the 
repofile and everything lines up.
    
    Tested by spinning a cluster up per: 
https://www.evernote.com/shard/s530/sh/c5551fbd-0ac1-4861-89ce-9c5e37065c52/b13e05f39eaac1a6
    
    Was able to install, load templates from Ambari interface, and see data 
passed through Metron.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/justinleet/incubator-metron kibanafix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/385.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #385
    
----
commit b27be5a6c5fc52091c5a3546097fb49dac9c7fb8
Author: justinjleet <[email protected]>
Date:   2016-12-02T15:22:52Z

    Check CentOS/RHEL version and use appropriate ES Curator repo

----


> Mpack installs do not work on clean machines due to missing Elastic repo
> ------------------------------------------------------------------------
>
>                 Key: METRON-604
>                 URL: https://issues.apache.org/jira/browse/METRON-604
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: David M. Lyle
>            Assignee: Justin Leet
>
> I cut fresh rpms/mpack for myself following [~justinleet]'s  [readme| 
> https://github.com/justinleet/metron-rpm]
> Add the mpack to Ambari and then build a fresh 10 node cluster, HDP 2.5.3 and 
> Ambar 2.4.2 (note my last attempt was with HDP 2.5.0 and Ambari 2.4.1 iirc)
> Add the services, hit deploy, everything goes fine until it attempts to 
> deploy kibana, the install fails because it cannot find the 
> python-elasticsearch package within the repos we deploy using the mpack.
> If I manually add the following repo to the server where Ambari is attempting 
> to install Kibana then I can retry and everything works fine.
> {noformat}
> [curator-4]
> name=CentOS/RHEL 7 repository for Elasticsearch Curator 4.x packages
> baseurl=http://packages.elastic.co/curator/4/centos/7
> gpgcheck=1
> gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
> enabled=1
> {noformat}
> I don’t know for sure this is the correct repository for us to use based on 
> the version of ES/Kibana that we’re using, I just know it contains a package 
> which satisfies the dependency requirements and allows the install to 
> complete successfully.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to