Project

General

Profile

Actions

Bug #15529

closed

katello:preupgrade_content_host_check undefined method org

Added by Michael Bassler almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

  1. grep org.name /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.4/lib/katello/tasks/preupgrade_content_host_check.rake
    unregister_system(system, "Organization mismatch between Host (#{hosts0.org.name}) and Content Host #{system.environment.organization.name}.")

ehelms suggested another workaround in IRC but I worked around this by changing this line to:

  1. sed -n '115p' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.4/lib/katello/tasks/preupgrade_content_host_check.rake
    unregister_system(system, "Organization mismatch between Host (#{hosts0.organization}) and Content Host #{system.environment.organization.name}.")
Actions #1

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release set to 170
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Eric Helms
  • Pull request https://github.com/Katello/katello/pull/6154 added
Actions #3

Updated by Justin Sherrill almost 7 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF