cobbler "I'm starting install" download fails

Bug #1263315 reported by Chris Ricker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Fix Released
High
Chris Ricker
Havana
Fix Released
High
Chris Ricker

Bug Description

The cobbler preseed does

d-i preseed/early_command string wget -O /dev/null http://$http_server:$http_por
t/cblr/svc/op/trig/mode/pre/system/$system_name

which is needed to let cobbler know that an install is starting

This generates the red-screen Ubuntu installer hang on the installing client:

'Download debconf prefconfiguration file

Failed to run preseeded command

Execution of preseeded command "wget -O /dev/null http://172.29.75.141/cblr/svc/op/trig/mode/pre/system/ci-big-storage1" failed with exit code 1.'

The apache error log shows that its because the CGI is crashing:

[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] mod_wsgi (pid=6010): Exception occurred processing WSGI script '/var/www/cobbler/svc/services.py'.
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] Traceback (most recent call last):
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/var/www/cobbler/svc/services.py", line 79, in application
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] content = func( **form )
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/usr/lib/python2.7/dist-packages/cobbler/services.py", line 135, in trig
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] rc = self.remote.run_install_triggers(mode,"system",system,ip)
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] return self.__send(self.__name, args)
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] verbose=self.__verbose
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] return self.single_request(host, handler, request_body, verbose)
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] return self.parse_response(response)
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] return u.close()
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] raise Fault(**self._stack[0])
[Sat Dec 21 11:18:43 2013] [error] [client 172.29.75.132] Fault: <Fault 1: "<type 'exceptions.TypeError'>:warning() takes exactly 2 arguments (3 given)">

Revision history for this message
Chris Ricker (chris-ricker) wrote :

cobbler log shows this is blowing up when executing the puppet cert integration scripts:

Thu Jan 2 18:36:05 2014 - INFO | Exception Info:
  File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 1944, in _dispatch
    return method_handle(*params)
   File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 1283, in run_install_triggers
    utils.run_triggers(self.api, None, "/var/lib/cobbler/triggers/install/%s/*" % mode, additional=[objtype,name,ip],logger=self.logger)
   File "/usr/lib/python2.7/dist-packages/cobbler/utils.py", line 916, in run_triggers
    rc = m.run(api, arglist, logger)
   File "/usr/lib/python2.7/dist-packages/cobbler/modules/install_pre_puppet.py", line 50, in run
    logger.warning("failed to execute %s", puppetca_path)

Issue is that scripts are coded for old puppet syntax and are broken by the move to puppet 3

cobbler 1:2.2.2-0cisco34 built and added to Cisco repo to resolve issue

Changed in openstack-cisco:
assignee: nobody → Chris Ricker (chris-ricker)
importance: Undecided → High
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.