Description of problem: In the scopes of implementing Duplicate System Profiles (I think so) there was produced a part of script in kickstart file: --- if os.path.exists(old_system_id): client = xmlrpclib.Server("http://<$http_server>/rpc/api") key = client.system.obtain_reactivation_key(open(old_system_id).read()) f = open("/mnt/sysimage/tmp/key","w") f.write(key) f.close() shutil.copy(old_system_id, new_system_id) --- Due to another bug (BZ#555212) seems that for clients it is common to use external KS tree through http, thus defining $http_server kickstart variable. And in this case the process check wrongly will refer to (probably) not existing satellite call and will fail the logic. Version-Release number of selected component (if applicable): current sat540 iso: Satellite-5.4.0-RHEL5-re20101001.1 How reproducible: always when specified $http_server in the kickstart variables Steps to Reproduce: 1. prepare a kickstart profile 2. define http_server=<some-server> in the Variables of the kickstart (https://<sfqn>/rhn/kickstart/EditVariables.do?ksid=181) 3. Actual results: in kickstart file there is written $http_server on that part of the script (see above) Expected results: $redhat_managemeny_server should be used IMO Additional info:
Fixed. spacewalk.git: 368a4ed7f35a1bb538f04e93dc0d66ef87b7abb7
# VERIFIED The following package(s) fixing the issue: spacewalk-java-config-1.2.39-33.el5sat.noarch.rpm spacewalk-java-oracle-1.2.39-33.el5sat.noarch.rpm spacewalk-java-lib-1.2.39-33.el5sat.noarch.rpm spacewalk-taskomatic-1.2.39-33.el5sat.noarch.rpm spacewalk-java-1.2.39-33.el5sat.noarch.rpm The scenario in comment#0 now works correctly - and fills with $redhat_managemeny_server value.
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. http://rhn.redhat.com/errata/RHBA-2010-0991.html
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Kickstart variables have been updated, and correctly use the "$redhat_management_server" variable instead of "$http_server".