Why does Red Hat Satellite Server ( cobbler ) fail to run triggers post installation ?

Solution Verified - Updated -

Environment

  • Red Hat Network Satellite or Proxy 5.5
  • Cobbler

Issue

  • Cobbler fails to run the script in /var/lib/cobbler/trigger/install/post/.
  • The cobbler log file /var/log/cobbler/cobbler.log indicates the following failed event :
Mon Apr 01 10:35:11 2013 - WARNING | failed to execute trigger: /var/lib/cobbler/triggers/install/post/test.sh

Resolution

Root Cause

  • Cobbler fails to run the triggers bevause the last argument passed to the exec is 'None' instead of a string in /usr/lib/python2.6/site-packages/cobbler/utils.py .

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments