Description of problem: When provisioning a RHEL6 using static network interface, kickstart is not included in initrd.img Version-Release number of selected component (if applicable): Red Hat Network Satellite 5.4 How reproducible: 100% Steps to Reproduce: 1.) kickstart rhel6 x86_64 system with @Base, add provisioning entitlement and rhn tools child channel. 2.) from the satellite web ui, schedule a kickstart with same kickstart, selecting the "Use static interface" option from the "Advanced Configuration" button. 3.) rhn_check -vvv on the client system. See that the kickstart file is "ks.cfg" in /boot/grub/grub.conf: title kick1296004684 kernel /vmlinuz ks=file:ks.cfg ksdevice=link kssendmac lang= text initrd /initrd.img 4.) Reboot the system, and see error message, "Error opening kickstart file ks.cfg: No such file or directory." Actual results: As kickstart were not present in initrd.img, anaconda shows error message Expected results: Anaconda finish the installation normally Additional info: ==> running rhn_check -v [root@localhost boot]# rhn_check -v Preserve files! : ['/etc/hosts', '/etc/motd', '/root/.ssh/authorized_keys'] - looking for Cobbler at http://satellite-server.example.com/cobbler_api - reading URL: http://satellite-server.example.com/cblr/svc/op/ks/system/satellite-server.example.com:2:guest6-ks install_tree: http://satellite-server.example.com/ty/5wV8dTlf downloading initrd initrd.img to /boot/initrd.img url=http://satellite-server.example.com/cobbler/images/ks-rhel-x86_64-server-6-60/initrd.img - reading URL: http://satellite-server.example.com/cobbler/images/ks-rhel-x86_64-server-6-60/initrd.img downloading kernel vmlinuz to /boot/vmlinuz url=http://satellite-server.example.com/cobbler/images/ks-rhel-x86_64-server-6-60/vmlinuz - reading URL: http://satellite-server.example.com/cobbler/images/ks-rhel-x86_64-server-6-60/vmlinuz - ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz', '--initrd', '/boot/initrd.img', '--args', '"ksdevice=link lang= console=ttyS0,115200 text ks=file:ks.cfg kssendmac "', '--make-default', '--title=kick1296190211'] - reboot to apply changes CMD: ['/usr/sbin/merge-rd.sh', '/boot/initrd.img', '/boot/initrd.img', '/tmp/ks-tree-shadow'] /usr/share/rhn/spacewalkkoan/spacewalkkoan.py:282: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 ==> /etc/grub.conf title kick1296190211 kernel /vmlinuz ksdevice=link lang= console=ttyS0,115200 text ks=file:ks.cfg kssendmac initrd /initrd.img ==> looking initrd file [root@localhost boot]# zcat initrd.img | file - /dev/stdin: ASCII cpio archive (SVR4 with no CRC) [root@localhost boot]# No kickstart found!! [root@localhost lala]# zcat /boot/initrd.img | cpio -itv | grep ks.cfg 110590 blocks
Hello, Just to share that commit c6aa4ccd2a0212e1d41949064ea577087d1c1cac in upstream spacewalk git fixed the typo when importing subprocess python module. /usr/share/rhn/spacewalkkoan/spacewalkkoan.py:282: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import popen2 PS: the commit c6aa4ccd2a0212e1d41949064ea577087d1c1cac not fix the BZ
This problem is reproducible if you're re-provisioning a RHEL-6 system only (i.e. not RHEL-5 and earlier) and using a static network interface. See http://git.fedorahosted.org/git/?p=cobbler;a=commitdiff;h=370b79c9
VERIFIED on Stage. cobbler-2.0.7-11.el6sat.noarch spacewalk-koan-0.2.7-7.el6sat
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. https://rhn.redhat.com/errata/RHEA-2011-0875.html