[Spacewalk-list] kickstart/cobbler not installing from updates repo

Paul Raines raines at nmr.mgh.harvard.edu
Fri Apr 8 22:11:50 UTC 2016


I have started doing kickstart installs of CentOS 7 using our spacewalk 2.3 
installation.  The install works but after the install I notice that
the box still has to install all the updates.  I have defined the updates
channel in the kickstart and I have definitely done a spacewalk-repo-sync
of it (cron job every night).  The kickstart file used
on the box in /root/anaconda-ks.cfg has in it:

url --url="http://spacewalk.nmr.mgh.harvard.edu/ks/dist/org/1/centos7-x86_64"
repo --name="centos7-nmr-x86_64" --baseurl=http://spacewalk.nmr.mgh.harvard.edu/ks/dist/child/centos7-nmr-x86_64/centos7-x86_64
repo --name="centos7-extras-x86_64" --baseurl=http://spacewalk.nmr.mgh.harvard.edu/ks/dist/child/centos7-extras-x86_64/centos7-x86_64
repo --name="centos7-updates-x86_64" --baseurl=http://spacewalk.nmr.mgh.harvard.edu/ks/dist/child/centos7-updates-x86_64/centos7-x86_64

When I look at the packages in the centos7-updates-x86_64 via the web gui
I see the latest firefox-38.7.0-1.el7.centos.x86_64.  So why is that
not getting installed during the initial kickstart?

# grep centos7-updates packaging.log
13:50:33,397 INFO packaging: adding yum repo, name: centos7-updates-x86_64, 
baseurl: 
http://spacewalk.nmr.mgh.harvard.edu/ks/dist/child/centos7-updates-x86_64/centos7-x86_64, 
mirrorlist: None
13:50:34,011 INFO packaging: gathering repo metadata for 
centos7-updates-x86_64
13:50:34,245 ERR packaging: failed to get groups for repo 
centos7-updates-x86_64
13:50:34,246 INFO packaging: gathered repo metadata for centos7-updates-x86_64
13:50:48,838 INFO packaging: gathering repo metadata for 
centos7-updates-x86_64
13:50:48,848 ERR packaging: failed to get groups for repo 
centos7-updates-x86_64
13:50:48,848 INFO packaging: gathered repo metadata for centos7-updates-x86_64

# grep 'INFO pack.*firefox' /var/log/anaconda/packaging.log
13:32:33,933 INFO packaging: firefox-38.4.0-1.el7.centos.x86_64 (2116/2396)

Does it matter that there are no groups in the centos7-updates-x86_64 repo?
I don't see why that would matter.

---------------------------------------------------------------
Paul Raines                     http://help.nmr.mgh.harvard.edu
MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging
149 (2301) 13th Street     Charlestown, MA 02129	    USA






More information about the Spacewalk-list mailing list