Description of problem: Currently the version of cobbler20 that we ship with Spacewalk is slightly incompatible with newer koan builds like the ones in Fedora. It makes it impossible to kickstart guests. See https://www.redhat.com/archives/spacewalk-list/2012-December/msg00153.html How reproducible: Always Steps to Reproduce: 1. Attempt to kickstart a KVM guest on a Fedora 20 host Actual results: <type 'exceptions.KeyError'> 'interface_type' Expected results: Guest successfully kickstarts.
Looks like these upstream cobbler commits are what we're missing: 3e264f186ad7a1964b7a2330ff6f2f73ffa26770 cf1ca6a021c20deb25019d597d504bbda43e008b
Part of this problem is resolved by Spacewalk master commit: 0775a2f53835455c7ccb5e6ba3525c1f2a0064a2 However there are still additional problems, like getting cobbler to return the correct arch which newer koan pays attention to.
How stable is currently cobbler in EPEL and/or in Fedoras? There were problems with SELinux there in the past but maybe they have been resolved by the respective maintainers in the mean time and cobbler20 could be retired?
I don't know, it's worth investigating. I'll leave the NEEDINFO flag on until I've checked.
Either way we'll need to correctly set the Cobbler arch for distributions so that we can correctly interoperate with newer koan packages. Committing to Spacewalk master: 5bb82df36c82ace0df08667244a011ac16b60307
Checkstyle fix: 74a0b1896889347ac302fd5f22ca681fa31e43ad
CobblerSyncTask is supposed to be able to sync Distros / Kickstart Trees that have changed, but this has apparently been broken for a long time. These commits fix it and forces one sync to happen the next something changes in Cobbler or Taskomatic is restarted. c6b9ad6028b764068490c7eee8d8451fe103666b 6e9b576f13989f7c353fc6da6983c17bcf22de77
With these changes Spacewalk now works correctly with the koan packages available in EPEL and Fedora, and can do virtual guest provisionings.
And Checkstyle fix: 9a01c0db9f5cf3bd00f6b8b218889a1c8c5cdb9d
*** Bug 928678 has been marked as a duplicate of this bug. ***
*** Bug 953939 has been marked as a duplicate of this bug. ***
*** Bug 927060 has been marked as a duplicate of this bug. ***
It turns out my first attempt to patch cobbler was not entirely successfull, we also need commits cc07f358 and de0aacd4 from upstream. Committing: 4f926acb4da33d235ab81d682c04546d7dccc4af
Spacewalk 2.2 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes22