Bug 1368958 - elasticsearch fails to install on RHEL because of missing required version of lucene-contrib package.
Summary: elasticsearch fails to install on RHEL because of missing required version of...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: elasticsearch
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 10.0 (Newton)
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-22 08:53 UTC by Leonid Natapov
Modified: 2017-01-12 12:27 UTC (History)
3 users (show)

Fixed In Version: elasticsearch-2.3.5-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-12 12:27:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Leonid Natapov 2016-08-22 08:53:15 UTC
elasticsearch fails to install on RHEL because of missing required version of  lucene-contrib  package in 10-opstools repo.
----------------------------------------------

[root@puma42 yum.repos.d]#  yum install -y elasticsearch
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package elasticsearch.noarch 0:2.3.4.redhat_1-2.el7 will be installed
--> Processing Dependency: lucene-contrib >= 5.5.0 for package: elasticsearch-2.3.4.redhat_1-2.el7.noarch
--> Processing Dependency: lucene >= 5.5.0 for package: elasticsearch-2.3.4.redhat_1-2.el7.noarch
--> Finished Dependency Resolution
Error: Package: elasticsearch-2.3.4.redhat_1-2.el7.noarch (rhelosp-10.0-optools-poodle)
           Requires: lucene-contrib >= 5.5.0
           Available: lucene-contrib-4.10.4.redhat_1-5.el7.noarch (rhelosp-10.0-optools-poodle)
               lucene-contrib = 4.10.4.redhat_1-5.el7
Error: Package: elasticsearch-2.3.4.redhat_1-2.el7.noarch (rhelosp-10.0-optools-poodle)
           Requires: lucene >= 5.5.0
           Available: lucene-4.10.4.redhat_1-5.el7.noarch (rhelosp-10.0-optools-poodle)
               lucene = 4.10.4.redhat_1-5.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 1 Rich Megginson 2016-08-22 13:22:37 UTC
You need to tag lucene 5.5.0 into rhos-10.0-opstools-rhel-7-candidate.

But hold off - elasticsearch doesn't work yet - I've just built es 2.3.5 with the correct dependencies - but I haven't been able to test it yet

Comment 2 Rich Megginson 2016-08-23 20:41:20 UTC
ok - I finally got elasticsearch to run - you'll need this version: elasticsearch-2.3.5-3.el7 - it's tagged into rhlog-1.0-rhel-7-candidate - you'll need to tag it into rhos-10.0-opstools-rhel-7-candidate

NOTE: This elasticsearch is built WITHOUT AN EXTERNAL LUCENE DEPENDENCY.  Instead, it contains lucene 5.5.0 embedded within the rpm.

Comment 4 Leonid Natapov 2016-09-20 11:20:46 UTC
Successfully installed elasticsearch-2.3.5-3.el7.noarch on RHEL 7.2 without asking for lucene dependency.

Comment 7 Jon Schlueter 2017-01-12 12:27:55 UTC
OSP 10 optools does not distribute elasticsearch, closing not a bug


Note You need to log in before you can comment on or make changes to this bug.