Description of problem: koan doesn't support CentOS 7's version numbering, so in os_release function of /usr/lib/python2.7/site-packages/koan/utils.py, replace for t in tokens: try: return (make,float(t)) except ValueError, ve: pass raise CX("failed to detect local OS version from /etc/redhat-release") with for t in tokens: try: match = re.match('^\d+(?:\.\d+)?', t) if match: return (make, float(match.group(0))) except ValueError, ve: pass raise CX("failed to detect local OS version from /etc/redhat-release") Version-Release number of selected component (if applicable): 2.6.7-1.el7 How reproducible: Everytime koan is used on EL7. Steps to Reproduce: 1. Build an EL7 machine from Cobbler 2. Try and run koan --replace-self 3. Observe the problem with reading /etc/redhat-release Actual results: Error message (sorry, I didn't keep a copy). Expected results: After the changes to utils.py mentioned above the koan command is successful, I can then reboot the box and have it re-build. Additional info:
Upstream fix: https://github.com/cobbler/cobbler/pull/1334
cobbler-2.6.8-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/cobbler-2.6.8-1.el7
Package cobbler-2.6.8-1.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing cobbler-2.6.8-1.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6209/cobbler-2.6.8-1.el7 then log in and leave karma (feedback).
Package cobbler-2.6.9-1.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing cobbler-2.6.9-1.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6209/cobbler-2.6.9-1.el7 then log in and leave karma (feedback).
cobbler-2.6.9-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.