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

cf_promises_validated is not created in /var/cfengine/masterfiles for version 3.5.x

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: Parsing
    • Labels:
      None
    • Found in version (details):
      3.5.0b2.5368bb5

      Description

      CFengine community 3.5.X
      os. debian

      The cf_promiises_validated file is used for 2 things. To reduce the load on the policy_server by checking:
      1. policy_server:/var/cfengine/masterfiles/cf_promises_validated against client:/var/cfengine/inputs/cf_promises_validated. If they differ copy the masterfiles/* to
      /var/cfengine/inputs.
      2. Reduce the load locally. The client also creates the file /var/cfengine/masterfiles/cf_promises_validated. The last is broken in 3.5.X. The file is never created due to changes in this section. The absent of these file will trigger cf-serverd policy_check every 10 seconds and cause an high load on the client.

      I can touch it, but if the input files are updated. This fileis outdated and cf-serverd will again run 10 seconds.

      I have created a pull request for it, but i closed it because i did not know if it is th eright approach:

      I just reopened the pull request.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bas Bas van der Vlies
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel