Description of problem: When kickstart installing a server with spacewalk it does not automatically register the machine with spacewalk. In the ks-post.log on the kickstarted machine you can see that it does a wget of rhnlib into /tmp/rhn_rpms/ but afterwards tries to install /tmp/rhn_rpms/optional/rhnlib* looking in git i saw this file: http://git.fedorahosted.org/git/spacewalk.git?p=spacewalk.git;a=blob;f=java/code/src/com/redhat/rhn/manager/kickstart/KickstartFormatter.java;h=b0f09fa3c7ea57ff48eb04a54a349b1e91f9c9c4;hb=HEAD you can see this is hardcoded in this file. The output in %post of the kickstart file should look like this: wget -P /tmp/rhn_rpms/optional http://spacewalk.example.com:80/download/package/26171069417ca55058d3a66a240880ced67d6c46/0/2/981/libxml2-python-2.6.26-2.1.2.7.i386.rpm http://spacewalk.example.com:80/download/package/2e9baaa44ea1132336e8ba9d4e53d3065ea0ccd2/0/2/2369/pyOpenSSL-0.6-1.p24.7.2.2.i386.rpm http://spacewalk.example.com:80/download/package/bcb625ead9fb059bd49e9268be3b4297fc5400f8/0/2/6052/rhnlib-2.5.10-1.el5.noarch.rpm # cd /tmp/rhn_rpms # wget -P /tmp/rhn_rpms http://spacewalk.example.com:80/download/package/a90ce621f946b068ce6ffaaa723b7f0d13162307/0/2/2783/rhnsd-4.6.1-1.el5.i386.rpm http://spacewalk.example.com:80/download/package/bf31c7591b38577a667448bdff1497a778bb0b87/0/2/6148/yum-rhn-plugin-0.5.4-1.el5.noarch.rpm http://spacewalk.example.com:80/download/package/9f577e790b643d3a94ee3aa4555a30bad0cab3d8/0/2/5975/rhn-setup-0.4.24-1.el5.noarch.rpm http://spacewalk.example.com:80/download/package/c975120e6c6a0eabed221eed7867bf9431f389c7/0/2/6161/rhn-check-0.4.24-1.el5.noarch.rpm http://spacewalk.example.com:80/download/package/2e9b0a4a1deb149c4675f22f0188343bf9a76b4d/0/2/6034/rhn-client-tools-0.4.24-1.el5.noarch.rpm # rpm -Uvh --replacepkgs --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL* /tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python* How reproducible: -make a kickstart install -this machine will not register itself inside spacewalk -have a look inside ks-post.log -you'll see this error: error: File not found by glob: /tmp/rhn_rpms/optional/rhnlib* Expected results: when i changed the lines by hand -as pasted above- it installs rhnlib correctly and immediately registers my machine inside spacewalk.
this is probably fixed by 502853
Spacewalk 0.6 released