Description of problem: koan incorrectly parses s390x kernel command-line parameters whose value contains "equals" sign and creates invalid entry in /etc/zipl.conf. Version-Release number of selected component (if applicable): koan-2.0.7-54.el7sat.noarch How reproducible: always Steps to Reproduce: 1. Create KS profile with "Kernel Options" containing something like: rd.znet=qeth,0.0.8000,0.0.8001,0.0.8002,layer2=1,portname=...,portno=0 2. Attempt to reprovision a system and before system goes down, check content of /etc/zipl.conf Actual results: On "parameters" line, item "rd.znet" is truncated to "qeth,0.0.8000,0.0.8001,0.0.8002,layer2" (notice that it is truncated on first "=" sign appearance) Expected results: Should not be truncated because that option seems to be required for RHEL7 provisioning. Additional info: This was found by jdobes when working on bug 1199214
patch: https://github.com/cobbler/koan/commit/dd2a919cc1f3547fd639ae11c6868bababe6327b
Verified with koan-2.0.7-65 on s390x client with RHEL7. Only works for sat5.7; in sat5.6, it is impossible to even fill the fields with some s390x parameters which is a separate bug. 1) Install koan-2.0.7-65 on the client 2) Register the system to a satellite 3) Assign a system a provisioning entitlement 4) Create a s390x kickstart (in my case RHEL7.1) 5) Set kernel options field to the correct parameters, including some with a "=" symbol in value. 6) Schedule a kickstart to the client 7) On client, run "rhn_check -vv && shutdown -c && vim /etc/zipl.conf" and confirm the parameters (particularly the one with "=") were parsed correctly (no part of the value is missing) 8) Reboot the client and verify it kickstarted properly
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. https://rhn.redhat.com/errata/RHBA-2015-2614.html