| Summary: | elasticsearch fails to install on RHEL because of missing required version of lucene-contrib package. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Leonid Natapov <lnatapov> |
| Component: | elasticsearch | Assignee: | Martin Magr <mmagr> |
| Status: | CLOSED WONTFIX | QA Contact: | Leonid Natapov <lnatapov> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 10.0 (Newton) | CC: | jschluet, mrunge, rmeggins |
| Target Milestone: | rc | ||
| Target Release: | 10.0 (Newton) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | elasticsearch-2.3.5-3.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-12 12:27:55 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: | |
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 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. Successfully installed elasticsearch-2.3.5-3.el7.noarch on RHEL 7.2 without asking for lucene dependency. OSP 10 optools does not distribute elasticsearch, closing not a bug |
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