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}.")
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 170
Updated by The Foreman Bot over 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
Updated by Justin Sherrill over 7 years ago
- Status changed from Ready For Testing to Closed
Actions