Category and groups are not provisionned in kickstart

Hi,

I synced the repo of Fedora 24 Everything. When i initiate a kickstart, the
category of packages are not populated, the comps.xml file is not
downloaded (i seen in /var/log/httpd/foreman_acces.log). The result is many
packages are not installed with @package-group in kicistart.

Up, i have still this issue, please help me, why groups are not populated
in kickstart ?

It's hard to offer advice on this type of thing without more data. Could
you share your template, and the rendered version for your specific host?

Thank you for your reply.

I'm trying to install a Fedora 24 système.

This is my template, it's a simple clone of kickstart default with package
change :

<%#kind: provisionname: Katello Kickstart defaultoses:- CentOS 5- CentOS
6- CentOS 7- RedHat 5- RedHat 6- RedHat 7- Fedora 19- Fedora 20%><%
rhel_compatible = @host.operatingsystem.family == 'Redhat' &&
@host.operatingsystem.name != 'Fedora' os_major =
@host.operatingsystem.major.to_i # safemode renderer does not support
unary negation pm_set = @host.puppetmaster.empty? ? false : true
puppet_enabled = pm_set || @host.params['force-puppet'] salt_enabled =
@host.params['salt_master'] ? true : false section_end = (rhel_compatible
&& os_major <= 5) ? '' : '%end'%>install#<%= @mediapath %>url --url
http://puppet.mairie.kru/pulp/repos/Mairie_de_Kourou/Library/custom/Fedora_24/Fedora_24_-Everything/#lang
fr_FR.UTF-8selinux --enforcing#keyboard --vckeymap=fr
–xlayouts='fr'firstboot --enabletimezone America/Cayenne --isUtcxconfig
–startxonbootrepo --name=fedora-everything
–baseurl=http://puppet.mairie.kru/pulp/repos/Mairie_de_Kourou/Library/custom/Fedora_24/Fedora_24
-Everything/#repo
–name=fedora-updates –
baseurl=http://puppet.mairie.kru/pulp/repos/Mairie_de_Kourou/Library/custom/Fedora_24/Fedora_24
-_updates/<%
subnet = @host.subnet -%><% if subnet.respond_to?(:dhcp_boot_mode?) -%><%
dhcp = subnet.dhcp_boot_mode? && !@static -%><% else -%><% dhcp = !@static
-%><% end -%>network --bootproto <%= dhcp ? 'dhcp' : "static
–ip=#{@host.ip} --netmask=#{subnet.mask} --gateway=#{subnet.gateway}
–nameserver=#{[subnet.dns_primary,
subnet.dns_secondary].select(&:present?).join(',')}" %> --hostname <%=
@host %><%= os_major >= 6 ? " --device=#{@host.mac}" : '' -%>rootpw
–iscrypted <%= root_pass %>firewall --<%= os_major >= 6 ? 'service=' : ''
%>sshauthconfig --useshadow --passalgo=sha256 --kickstarttimezone --utc <%=
@host.params['time-zone'] || 'UTC' %><% if @host.operatingsystem.name ==
'Fedora' and os_major <= 16 -%># Bootloader exception for Fedora
16:bootloader --append="nofb quiet splash=quiet <%=ks_console%>" <%=
grub_pass %>part biosboot --fstype=biosboot --size=1<% else -%>bootloader
–location=mbr --append="nofb quiet splash=quiet" <%= grub_pass %><% end
-%><% if os_major == 5 -%>key --skip<% end -%><% if @dynamic -%>%include
/tmp/diskpart.cfg<% else -%><%= @host.diskLayout %><% end
-%>reboot%packages@core@dial-up@fonts@hardware-support@input-methods@Cinnamon@multimedia@printing@standard<%=
section_end -%><% if @dynamic -%>%pre<%= @host.diskLayout %><%= section_end
-%><% end -%>%post --nochrootexec < /dev/tty3 > /dev/tty3#changing to VT 3
so that we can see whats going on…/usr/bin/chvt 3(cp -va
/etc/resolv.conf /mnt/sysimage/etc/resolv.conf/usr/bin/chvt 1) 2>&1 | tee
/mnt/sysimage/root/install.postnochroot.log<%= section_end -%>%postlogger
"Starting anaconda <%= @host %> postinstall"exec < /dev/tty3 >
/dev/tty3#changing to VT 3 so that we can see whats going
on…/usr/bin/chvt 3(<% if subnet.respond_to?(:dhcp_boot_mode?) -%><%=
snippet 'kickstart_networking_setup' %><% end -%>#update local timeecho
"updating system time"/usr/sbin/ntpdate -sub <%= @host.params['ntp-server']
>> '0.fedora.pool.ntp.org' %>/usr/sbin/hwclock --systohc<%= snippet
"subscription_manager_registration" %><% if
@host.info['parameters']['realm'] && @host.realm && @host.realm.realm_type
== 'FreeIPA' -%><%= snippet "freeipa_register" %><% end -%># update all the
base packages from the updates repositoryyum -t -y -e 0 update<%=
snippet('remote_execution_ssh_keys') %><% if salt_enabled %>yum -t -y -e 0
install salt-minioncat > /etc/salt/minion << EOF<%= snippet
'saltstack_minion' %>EOF# Setup salt-minion to run on system
reboot/sbin/chkconfig --level 345 salt-minion on# Running salt-call to
trigger key signingsalt-call --no-color --grains >/dev/null<% end -%><% if
puppet_enabled %># and add the puppet packageyum -t -y -e 0 install
puppetecho "Configuring puppet"cat > /etc/puppet/puppet.conf << EOF<%=
snippet 'puppet.conf' %>EOF# Setup puppet to run on system
reboot/sbin/chkconfig --level 345 puppet on/usr/bin/puppet agent --config
/etc/puppet/puppet.conf -o --tags no_such_tag <%= @host.puppetmaster.blank?
? '' : "–server #{@host.puppetmaster}" %> --no-daemonize<% end -%>sync<%
if @provisioning_type == nil || @provisioning_type == 'host' -%># Inform
the build system that we are done.echo "Informing Foreman that we are
built"wget -q -O /dev/null --no-check-certificate <%= foreman_url %><% end
-%>) 2>&1 | tee /root/install.post.logexit 0<%= section_end -%>