Association between katello's content-host and Foreman's host doesn't work
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1111078
Description of problem:
I provisioned a host via foreman and auto register it with activation-key. The host was populated under content-host after auto registration with activation key. But Looks like "provisioning details" tab doesn't show any details.
it shows this msg:
"No provisioning details are available for this content host."
Version-Release number of selected component (if applicable):
sat6 beta snap10 (Satellite-6.0.3-RHEL-6-20140618.0)
Steps to Reproduce:
1. Provision a host via foreman
2. Register it via rhsm to see under content-host
"Provisioning Details" tab doesn't show any info.
"Provisioning Details" tab should show info like: name, os, hostgroup and status.
Looks like its a regression as details were available during snap8
fixes #6290 / BZ 1111078 - fix host <-> content host association during registration
This commit fixes the association of the host to content host that is
performed during registration. The code previously utilized the organization
instance variable that was obtained by the before_filters; however,
those filters are no longer used.