Hi,
sorry for not giving you all the details. I have to admit that I don't have the latest Katello installed, so maybe this problem is already solved? I'm on Katello 3.3.2 right now and currently I can't upgrade to a later release since we still have Windows 2008 R2 DHCP servers and they are no longer supported in a higher Katello release.
[root@katello ~]# rpm -qa katello
katello-3.3.2-1.el7.noarch
To your questions:
1) OS Family of the OS you were trying to provision
- Red Hat
2) The template you tweaked the media path.
- https://github.com/theforeman/community-templates/blob/develop/provisioning_templates/provision/kickstart_default.erb.
3) provide the version and arch.
- CentOS 7.3
4) make sure you have synced/published the KS trees in the right cv/env.
- Yep
5) make sure the repositories have bootable distributions created out of them by going to repo details UI page and getting the distribution info. (please paste that info too)
- see screenshot repodetails
I just checked and my problem might be that when creating a new host (CentOS 7.4) under the operating system tab, synced content is greyed out and so all media is selected instead. I figured that "synced content" is dynamic and "all media" is static. Recently I decided to just sync the CentOS 7 repo which is a symlink that always points to the latest release instead of creating a hostgroup,cv and so on for every new Centos 7.x release. On the newly synced CentOS 7 product synced content is no longer greyed out and deploying a host now works without tweaking the prov template. So the problem was truly that I could not select synced content. But since I use hostgroups e.g. like:
Server/Library/Linux/CentOS 7 <- There I can select synced content
Server/Library/Linux/CentOS 7/ad <- Synced content is greyed out (This hostgroup has a few more puppet modules to handle winbind configuration)
So any hostgroup that inherits operating system from a parent hostgroup has installation media greyed out. See screenshot hostgroup_1 and hostgroup_2. Sometimes by changing the settings in the sub hostgroup back and forth synced media becomes available but it's really unpredictable. Is this a known bug?
Best Regards,
Oliver