Provisioning system through RHN Proxy, koan fails with "Kickstart failed. Koan error: Could not find Cobbler." (code 1)

Solution Unverified - Updated -

Issue

  • From the satellite server if we try to provision a system through a RHN Proxy then it fails with error :
D: do_call kickstart.initiate('rhn-proxy.example.com', 'spacewalk-koan', ' ', '', 'dhcp210-157.gsslab.pnq.redhat.com:1', []){'cache_only': None}
initiating spacewalkkoan kickstart
Preserve files! : []
- looking for Cobbler at http://rhn-proxy.example.com/cobbler_api
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/koan/utils.py", line 535, in __try_connect
    xmlrpc_server.ping()
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request
    headers
ProtocolError: <ProtocolError for rhn-proxy.example.com/cobbler_api: 403 Forbidden>
- looking for Cobbler at https://rhn-proxy.example.com/cobbler_api
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/koan/utils.py", line 535, in __try_connect
    xmlrpc_server.ping()
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1243, in request
    headers
ProtocolError: <ProtocolError for rhn-proxy.example.com/cobbler_api: 403 Forbidden>
Could not find Cobbler.
D: Sending back response(1, 'Kickstart failed. Koan error.', {'koan': 'Could not find Cobbler.'})

Environment

  • Red Hat Satellite 5.4
  • RHN Proxy 5.4 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.