Description of problem: When upgrading from 6.1.9 to snap 14.1: # satellite-installer --scenario satellite --upgrade Upgrading... Upgrade Step: stop_services... Upgrade Step: start_databases... Upgrade Step: update_http_conf... Upgrade Step: migrate_pulp... Upgrade Step: fix_pulp_httpd_conf... Upgrade Step: start_httpd... Upgrade Step: start_qpidd... Upgrade Step: start_pulp... Upgrade Step: migrate_candlepin... Upgrade Step: start_tomcat... Upgrade Step: fix_katello_settings_file... Upgrade Step: migrate_foreman... Upgrade Step: remove_nodes_distributors... Upgrade Step: Running installer... Installing Done [100%] [..........................................................................................................................................................................] The full log is at /var/log/foreman-installer/satellite.log Upgrade Step: restart_services... 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-ja va sigar snappy-java lucene4-contrib lucene4 Upgrade Step: remove_docker_v1_content (this may take a while) ... Upgrade Step: remove_gutterball... Katello upgrade completed! [root@sat61-rhel6 ~]# rm -rf /var/lib/elasticsearch [root@sat61-rhel6 ~]# rpm -e ruby193-rubygem-tire tfm-rubygem-tire elasticsearch sigar-java sigar snappy-java lucene4-contrib lucene4 error: package ruby193-rubygem-tire is not installed error: package tfm-rubygem-tire is not installed Version-Release number of selected component (if applicable): 14.1 Actual results: package removal fails with recommended command Expected results: recommended command should be "yum erase" instead of "rpm -e"
Moving 6.2 bugs out to sat-backlog.
created redmine issue: http://projects.theforeman.org/issues/17137
See very relevant https://bugzilla.redhat.com/show_bug.cgi?id=1405388 that fix would make this BZ obsolete.
Is this applicable to 6.3? I don't see any elastic search messages other than: satellite-installer --scenario satellite --upgrade ... foreman-rake katello:upgrades:2.4:import_subscriptions finished successfully! Upgrade Step: elasticsearch_message... Upgrade Step: add_export_distributor (this may take a while) ... .... using satellite-6.3.0-16.0.beta.el7sat.noarch
Verified ! @ Satellite 6.3 snap 25 No such error message that suggests using 'yum erase' observed. The upgrade is clean in both the below cases: 1. Satellite 6.2 to 6.3 snap 25 2. Satellite 6.3 snap 24 to 6.3 snap 25
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/RHSA-2018:0336