Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3150

MPF policy faiils to launch replacement agent after culling daemons because of too many running

    XMLWordPrintable

    Details

      Description

      In bundle agent cfe_internal_limit_robot_agents classes are defined if more than one process containing bin/cf-execd or bin/cf-monitord are running.

      https://github.com/cfengine/masterfiles/blob/9983e30d7d234cc3b813d02ff8550e1b11a7230b/cfe_internal/core/limit_robot_agents.cf#L14-L23

      "bin/cf-execd"
      process_count => check_execd("1"),
      comment => "Check cf-execd process if exceed the number",
      handle => "cfe_internal_limit_robot_agents_processes_check_cf_execd";
      
      "bin/cf-monitord"
      process_count => check_monitord("1"),
      comment => "Check cf-monitord process if exceed the number",
      handle => "cfe_internal_limit_robot_agents_processes_check_cf_monitord";
      

      Subsequent promises to ensure that daemons are running do not trigger because the process table used is that of the start of the bundle.

        Attachments

          Activity

            People

            Assignee:
            a10042 Nick Anderson
            Reporter:
            a10042 Nick Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: