Description of problem: When you reprovision RHEL7 system, you get system without rhn-clients installed and errors in /root/ks-rhn-post.log Version-Release number of selected component (if applicable): cobbler-2.0.7-39.el6sat.noarch spacewalk-java-2.0.2-46.el6sat.noarch How reproducible: always Steps to Reproduce: 1. Create KS profile with wizard, without any other touches 2. Register RHEL7 system and reprovision it Actual results: System without rhn-clients installed and errors in /root/ks-rhn-post.log Expected results: E.g. rhn_check should work on the system. No errors should be in /root/ks-rhn-post.log Additional info: Errors in the /root/ks-rhn-post.log file are: /tmp/ks-script-tsy_Ns: line 102: /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT: No such file or directory /tmp/ks-script-tsy_Ns: line 103: perl: command not found /tmp/ks-script-tsy_Ns: line 107: wget: command not found error: File not found by glob: /tmp/rhn_rpms/optional/pyOpenSSL* error: File not found by glob: /tmp/rhn_rpms/optional/rhnlib* error: File not found by glob: /tmp/rhn_rpms/optional/libxml2-python* error: File not found by glob: /tmp/rhn_rpms/optional/libxml2* /tmp/ks-script-tsy_Ns: line 109: perl: command not found cp: cannot stat '/tmp/ks-tree-copy/*': No such file or directory /tmp/ks-script-tsy_Ns: line 122: wget: command not found /tmp/ks-script-tsy_Ns: line 123: perl: command not found /tmp/ks-script-tsy_Ns: line 135: rhnreg_ks: command not found /tmp/ks-script-tsy_Ns: line 141: rhn_check: command not found
One symptom of this bug might be this (if not, I have to create extra bug-report): When reprovisioning RHEL7 system and following provisioning status on Systems -> <system> -> Provisioning -> Kickstart -> Session Status, "Kickstart complete" is never marked as done even when system was already reinstalled.
Ah, this is because the rpms installed by default have changed in RHEL 7. I'll have to add perl, wget, and the rhn client tools to the list of packages we tell it to install for RHEL 7 kickstarts. And yes, this problem would also cause the "Kickstart complete" symptom.
Committed to Spacewalk master: 02b94a12c35b7b63de4cc62326a6263d6251a950
And: 8834581f30ade1e96838907e7b51e1ea14c6a2d0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0042.html