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

Endless insert_lines repairs when using def.json

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.16.0, 3.17.0, 3.18.0
    • Fix Version/s: 3.18.1, 3.19.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5

      Description

      root@ip-172-31-18-173:~# cf-agent -KI
          info: Inserted the promised line '{"default:def.control_hub_exclude_hosts":[""],"default:def.control_hub_hub_schedule":["any"],"default:def.control_hub_port":"5308","default:def.control_hub_query_timeout":"0"}' into '/var/cfengine/state/mpf_hub_controls' after locator
          info: insert_lines promise '{"default:def.control_hub_exclude_hosts":[""],"default:def.control_hub_hub_schedule":["any"],"default:def.control_hub_port":"5308","default:def.control_hub_query_timeout":"0"}' repaired
          info: Inserted the promised line '{"default:def.control_server_allowlegacyconnects":[],"default:def.control_server_allowusers_non_policy_server":["root"],"default:def.control_server_maxconnections":"200"}' into '/var/cfengine/state/mpf_server_controls' after locator
          info: insert_lines promise '{"default:def.control_server_allowlegacyconnects":[],"default:def.control_server_allowusers_non_policy_server":["root"],"default:def.control_server_maxconnections":"200"}' repaired
          info: Inserted the promised line '{}' into '/var/cfengine/state/mpf_monitor_controls' after locator
          info: insert_lines promise '{}' repaired
          info: Inserted the promised line '{"default:def.control_executor_agent_expireafter":"120","default:def.control_executor_schedule":["any"],"default:def.control_executor_schedule_value":["any"],"default:def.control_executor_splaytime":"1"}' into '/var/cfengine/state/mpf_executor_controls' after locator
          info: insert_lines promise '{"default:def.control_executor_agent_expireafter":"120","default:def.control_executor_schedule":["any"],"default:def.control_executor_schedule_value":["any"],"default:def.control_executor_splaytime":"1"}' repaired
          info: Inserted the promised line '{}' into '/var/cfengine/state/mpf_runagent_controls' after locator
          info: insert_lines promise '{}' repaired
          info: Inserted the promised line '{}' into '/var/cfengine/state/mpf_common_controls' after locator
          info: insert_lines promise '{}' repaired
          info: Inserted the promised line '{"default:def.control_agent_abortbundleclasses":["abortbundle"],"default:def.control_agent_abortclasses":[],"default:def.control_agent_maxconnections":"30"}' into '/var/cfengine/state/mpf_agent_controls' after locator
          info: insert_lines promise '{"default:def.control_agent_abortbundleclasses":["abortbundle"],"default:def.control_agent_abortclasses":[],"default:def.control_agent_maxconnections":"30"}' repaired
          info: Executing 'no timeout' ... '/var/cfengine/httpd/php/bin/php /var/cfengine/httpd/htdocs/public/index.php cli_tasks process_api_events'
          info: Completed execution of '/var/cfengine/httpd/php/bin/php /var/cfengine/httpd/htdocs/public/index.php cli_tasks process_api_events'
          info: Executing 'no timeout' ... '/var/cfengine/httpd/php/bin/php /var/cfengine/httpd/htdocs/public/index.php cli_tasks materialized_hosts_view_refresh'
          info: Completed execution of '/var/cfengine/httpd/php/bin/php /var/cfengine/httpd/htdocs/public/index.php cli_tasks materialized_hosts_view_refresh'
          info: Executing 'no timeout' ... '/var/cfengine/httpd/php/bin/php /var/cfengine/httpd/htdocs/public/index.php cli_tasks inventory_refresh'
          info: Completed execution of '/var/cfengine/httpd/php/bin/php /var/cfengine/httpd/htdocs/public/index.php cli_tasks inventory_refresh'
      root@ip-172-31-18-173:~# cat /var/cfengine/masterfiles/def.json
      {
        "classes": {
          "mpf_augments_control_enabled": [
            "any"
          ],
          "services_autorun": [
            "any"
          ],
          "cfengine_internal_purge_policies": [
            "any"
          ],
          "cfengine_mp_fr_dependencies_auto_install": [
            "any"
          ]
        },
        "vars": {
          "acl": [
            "0.0.0.0/0",
            "::/0"
          ],
          "default_data_select_host_monitoring_include": [
            ".*"
          ],
          "default_data_select_policy_hub_monitoring_include": [
            ".*"
          ],
          "control_executor_splaytime": "1",
          "control_executor_schedule": [
            "any"
          ],
          "control_hub_hub_schedule": [
            "any"
          ]
        }
      }root@ip-172-31-18-173:~#
      

        Attachments

          Activity

            People

            Assignee:
            vpodzime Vratislav Podzimek
            Reporter:
            olehermanse Ole Herman Schumacher Elgesem
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: