Hostgroup provisioning does not work with Katello synced media
There is no medium associated when Katello plugin is installed and Synced Content is selected. This breaks hostgroup provisioning.
Workaround described in:
It is essentially about "do not use Synced Media".
When testing this patch, make sure Katello is installed.