Project

General

Profile

Bug #12273

Can Upgrade Katello from 2.3 to 2.4 RC

Added by Mario Gamboa over 3 years ago. Updated 7 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Lots of issues try to upgrade katello

Can't find rhsclv8314 directory because was renamed as tfm

Can't find mongodb.conf file because original is mongod.conf

[ERROR 2015-10-23 14:20:58 main] Upgrade step db_seed failed. Check logs for more information.
[DEBUG 2015-10-23 14:20:58 main] Exit with status code: 1 (signal was 1)
[ERROR 2015-10-23 14:20:58 main] Repeating errors encountered during run:
[ERROR 2015-10-23 14:20:58 main] Execution of '/usr/bin/yum d 0 -e 0 -y list ruby193-rubygem-katello' returned 1: Error: No matching Packages to list
[ERROR 2015-10-23 14:20:58 main] /Stage[main]/Katello::Install/Package[ruby193-rubygem-katello]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list ruby193-rubygem-katello' returned 1: Error: No matching Packages to list
[ERROR 2015-10-23 14:20:58 main] Execution of '/usr/bin/yum -d 0 -e 0 -y list ruby193-rubygem-passenger-native' returned 1: Error: No matching Packages to list
[ERROR 2015-10-23 14:20:58 main] /Stage[main]/Foreman::Install/Package[ruby193-rubygem-passenger-native]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list ruby193-rubygem-passenger-native' returned 1: Error: No matching Packages to list
[ERROR 2015-10-23 14:20:58 main] /bin/scl_source: line 63: /opt/theforeman/v8314/enable: No such file or directory <-
because was rename it as tfm
Can't source enable, skipping.
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please see http://concurrent-ruby.com
API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
rake aborted!
401 Unauthorized

History

#1 Updated by Mario Gamboa over 3 years ago

The installation issues was solve in the latest release RC2

#2 Updated by Eric Helms over 3 years ago

  • Category set to Upgrades
  • Status changed from New to Resolved
  • Triaged changed from No to Yes

#3 Updated by Christian Ehart over 3 years ago

Dear all,

I´m getting Dependency errors on an UPG from Katello 2.3.1/Foreman1.9.2. (it was running previously on 2.0 and then upgraded to 2.1/2.2/2.3)

Details:
https://groups.google.com/forum/#!topic/foreman-users/mypUF5FHJCc

related Packages:
ruby193-rubygem-fog-softlayer
ruby193-rubygem-fog-sakuracloud
ruby193-rubygem-fog-radosgw
ruby193-rubygem-fog-brightbox

RCA:
Those Packages have been automatically installed by older Katello Versions (like 2.0 or 2.1) as part of Foreman 1.6 & 1.7, but they are no longer existing in higher versions of Foreman Repo. This is now the reason why you get the "not found" Dependency issues.

Workaround:
yum erase ruby193-rubygem-fog-softlayer ruby193-rubygem-fog-sakuracloud ruby193-rubygem-fog-radosgw ruby193-rubygem-fog-brightbox

PS: But to be honest, I dont know if its safe to remove the packages, hope you will have some suggestions or an approved workaround...

thanks,
Christian

#4 Updated by Christian Ehart over 3 years ago

Dep Issues for deprecated Fog Packages is now covered under http://projects.theforeman.org/issues/12509

Also available in: Atom PDF