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

If cf-execd is running when bootstrapped the client then reports to be using hard-coded failsafe

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need more Info
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 3.6.5
    • Fix Version/s: None
    • Component/s: Bootstrap, cf-execd
    • Labels:
      None
    • Environment:
      Ubuntu 12.04

      Description

      We recently replaced our policy server and a few instances did not successfully bootstrap to the new server. So we had to manually bootsrap a few. We noticed that these instances were reporting the following: "You are running a hard-coded failsafe. Please use the following command instead. "/var/cfengine/bin/cf-agent" -f /var/cfengine/inputs/update.cf"

      I believe it is because when we bootstrap it is not setting the `executor_started` class promise to true.

      We were then able to resolve this issue by restarting the cfengine service. But this does not seem to be desired behavior.

      But this can be reproduced by having `cf-execd` running first then bootstrapping- `cf-agent --bootstrap cfengine.domain.com`

        Attachments

          Activity

            People

            • Assignee:
              a10003 Eystein Maloy Stenberg
              Reporter:
              malford Matt Alford
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel