Actions
Bug #15529
closedkatello:preupgrade_content_host_check undefined method org
Description
- 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:
- 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