Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1109276 - Cobbler incompatible with newer koan; can't kickstart guests
Summary: Cobbler incompatible with newer koan; can't kickstart guests
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.2
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
: 927060 928678 953939 (view as bug list)
Depends On:
Blocks: space22
TreeView+ depends on / blocked
Reported: 2014-06-13 14:38 UTC by Stephen Herr
Modified: 2014-07-17 08:41 UTC (History)
4 users (show)

Fixed In Version: spacewalk-java-2.2.115 spacewalk-schema-2.2.30 cobbler20-2.0.11-27
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-07-17 08:41:23 UTC

Attachments (Terms of Use)

Description Stephen Herr 2014-06-13 14:38:03 UTC
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

How reproducible:

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.

Comment 1 Stephen Herr 2014-06-13 14:59:23 UTC
Looks like these upstream cobbler commits are what we're missing:

Comment 2 Stephen Herr 2014-06-13 17:29:05 UTC
Part of this problem is resolved by Spacewalk master commit:

However there are still additional problems, like getting cobbler to return the correct arch which newer koan pays attention to.

Comment 3 Jan Pazdziora 2014-06-19 08:36:12 UTC
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?

Comment 4 Stephen Herr 2014-06-19 12:21:41 UTC
I don't know, it's worth investigating. I'll leave the NEEDINFO flag on until I've checked.

Comment 5 Stephen Herr 2014-06-24 21:10:27 UTC
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:

Comment 6 Stephen Herr 2014-06-24 22:14:08 UTC
Checkstyle fix:

Comment 7 Stephen Herr 2014-07-01 19:23:44 UTC
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.

Comment 8 Stephen Herr 2014-07-01 19:55:12 UTC
With these changes Spacewalk now works correctly with the koan packages available in EPEL and Fedora, and can do virtual guest provisionings.

Comment 9 Stephen Herr 2014-07-01 19:55:55 UTC
And Checkstyle fix:

Comment 10 Stephen Herr 2014-07-01 20:06:00 UTC
*** Bug 928678 has been marked as a duplicate of this bug. ***

Comment 11 Stephen Herr 2014-07-01 20:11:18 UTC
*** Bug 953939 has been marked as a duplicate of this bug. ***

Comment 12 Stephen Herr 2014-07-01 20:23:58 UTC
*** Bug 927060 has been marked as a duplicate of this bug. ***

Comment 13 Stephen Herr 2014-07-01 23:22:06 UTC
It turns out my first attempt to patch cobbler was not entirely successfull, we also need commits cc07f358 and de0aacd4 from upstream.


Comment 14 Milan Zázrivec 2014-07-17 08:41:23 UTC
Spacewalk 2.2 has been released:

Note You need to log in before you can comment on or make changes to this bug.