Bug 1338747
Summary: | Upgrade Step: remove_elasticsearch logs ERRORs about packages | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukas Pramuk <lpramuk> |
Component: | Content Management | Assignee: | Christine Fouant <cfouant> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | bbuckingham, cfouant, ehelms, mmccune |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/15218 | ||
Whiteboard: | |||
Fixed In Version: | katello-installer-3.0.0.34-1,katello-installer-base-3.0.0.38-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:38:34 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1335807 |
Description
Lukas Pramuk
2016-05-23 11:37:08 UTC
Connecting redmine issue http://projects.theforeman.org/issues/14128 from this bug https://github.com/Katello/katello-installer/pull/312 This pull request makes the user responsible for actually deleting elasticsearch, and thus would solve the incorrect errors showing upon upgrade. This fix will require 2 redmine issues. Refer to external trackers for details. VERIFIED.
@satellite-6.2.0-13.0.el6sat.noarch
katello-installer-base-3.0.0.34-2.el6sat.noarch
# satellite-installer --upgrade
...
Upgrade Step: db_seed...
Upgrade Step: import_package_groups (this may take a while) ...
Upgrade Step: import_rpms (this may take a while) ...
Upgrade Step: import_distributions (this may take a while) ...
Upgrade Step: import_puppet_modules (this may take a while) ...
Upgrade Step: import_subscriptions (this may take a while) ...
Upgrade Step: elasticsearch_message...
Elasticsearch has been removed as a dependency. The database files can be removed manually with #rm -rf /var/lib/elasticsearch. Some packages are no longer needed and can be removed: #rpm -e ruby193-rubygem-tire tfm-rubygem-tire elasticsearch sigar snappy-java lucene4-contrib lucene4
Upgrade Step: remove_docker_v1_content (this may take a while) ...
Katello upgrade completed!
>>> elasticsearch step is now just messaging thus causing no errors in the log
# rpm -e ruby193-rubygem-tire tfm-rubygem-tire elasticsearch sigar snappy-java lucene4-contrib lucene4 Should it be "... sigar sigar-java..." I see no snappy-java?? If I actually try that command I get: # rpm -e elasticsearch sigar snappy-java lucene4-contrib lucene4error: Failed dependencies: sigar = 1.6.5-0.9.git58097d9.el6sat is needed by (installed) sigar-java-1.6.5-0.9.git58097d9.el6sat.x86_64 >>> deps error with snappy-java vs. # rpm -e elasticsearch sigar sigar-java lucene4-contrib lucene4 warning: erase unlink of /var/lib/elasticsearch failed: No such file or directory warning: /etc/sysconfig/elasticsearch saved as /etc/sysconfig/elasticsearch.rpmsave warning: /etc/elasticsearch/elasticsearch.yml saved as /etc/elasticsearch/elasticsearch.yml.rpmsave >>> succeeded with sigar-java Christine, from the info above, it looks like the command that we give the user does not work correctly. Can you take a look and have the message updated? Thanks! Upstream bug assigned to ehelms Upstream bug assigned to ehelms Upstream bug assigned to cfouant Upstream bug component is Content Management Upstream bug assigned to cfouant (In reply to Lukas Pramuk from comment #6) > # rpm -e ruby193-rubygem-tire tfm-rubygem-tire elasticsearch sigar > snappy-java lucene4-contrib lucene4 > > Should it be "... sigar sigar-java..." I see no snappy-java?? > If I actually try that command I get: > > # rpm -e elasticsearch sigar snappy-java lucene4-contrib lucene4error: > Failed dependencies: > sigar = 1.6.5-0.9.git58097d9.el6sat is needed by (installed) > sigar-java-1.6.5-0.9.git58097d9.el6sat.x86_64 > > >>> deps error with snappy-java > > vs. > > # rpm -e elasticsearch sigar sigar-java lucene4-contrib lucene4 > warning: erase unlink of /var/lib/elasticsearch failed: No such file or > directory > warning: /etc/sysconfig/elasticsearch saved as > /etc/sysconfig/elasticsearch.rpmsave > warning: /etc/elasticsearch/elasticsearch.yml saved as > /etc/elasticsearch/elasticsearch.yml.rpmsave > > >>> succeeded with sigar-java Added sigar-java to the list of packages to remove. Kept snappy-java as it is included although you may not have seen it on your system. Fixed by https://github.com/Katello/katello-installer/pull/349 VERIFIED.
@satellite-6.2.0-14.1.el6sat.noarch
katello-installer-base-3.0.0.39-1.el6sat.noarch
# satellite-installer --upgrade
...
Upgrade Step: elasticsearch_message...
Elasticsearch has been removed as a dependency. The database files can be removed manually with #rm -rf /var/lib/elasticsearch. Some packages are no longer needed and can be removed: #rpm -e ruby193-rubygem-tire tfm-rubygem-tire elasticsearch sigar-java sigar snappy-java lucene4-contrib lucene4
>>> step causes no errors and lists all packages for removal
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |