Actions
Bug #14579
closedError in logs during install of rudder-server-root
Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
-
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
49
Name check:
Fix check:
Regression:
Description
When installing Rudder-server-root v4.1nightly on centos7, logs are riddled by errors
avril 03 09:32:03 server yum[3711]: Installed: 1398866025:rudder-agent-4.1.18.release-1.EL.7.x86_64 avril 03 09:32:03 server yum[3711]: Installed: libxslt-1.1.28-5.el7.x86_64 avril 03 09:32:03 server rudder[3939]: CFEngine(common) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' avril 03 09:32:03 server rudder[3939]: CFEngine(common) rudder Function 'readfile' failed to read file: /var/rudder/cfengine-community/policy_server.dat avril 03 09:32:03 server rudder[3939]: CFEngine(common) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' avril 03 09:32:03 server rudder[3939]: CFEngine(common) rudder Function 'readfile' failed to read file: /var/rudder/cfengine-community/policy_server.dat ... avril 03 09:32:05 server rudder[3967]: CFEngine(agent) rudder Unable to open template file '/var/rudder/cfengine-community/inputs/rudder_expected_reports.csv' to make '/var/rudder/cfengine-community/state/rudder_expected_reports.3967.csv. ... avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check PostgreSQL configuration@@None@@2019-04-03 09:33:27+00:00##root@#There is no need of specific avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder Method '_log' failed in some repairs avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder Method 'service_check_running_ps' failed in some repairs avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder Method '_log' failed in some repairs avril 03 09:33:56 server rudder[7467]: CFEngine(agent) rudder Method 'service_ensure_running_path' failed in some repairs
plus, install stated
centos7_server: INFO: rudder-server-relay setup complete. centos7_server: centos7_server: ***************************************************************************************** centos7_server: INFO: Now run on your root server: centos7_server: INFO: '/opt/rudder/bin/rudder-node-to-relay 7821b9e0-ae7a-44f6-bc05-fe5bc5f5df1c centos7_server: INFO: Please look at the documentation for details (Section 'Relay servers') centos7_server: *****************************************************************************************
Updated by Nicolas CHARLES over 5 years ago
- Description updated (diff)
- Target version changed from 5.0.9 to 4.1.21
Updated by Nicolas CHARLES over 5 years ago
Error in 5.0 is
avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder Method '_log_v3' failed in some repairs avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder Method 'service_action' failed in some repairs avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder Method '_log_v3' failed in some repairs avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder Method 'service_restart_if' failed in some repairs avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder Method '_log_v3' failed in some repairs avril 03 10:25:38 server cf-agent[7704]: CFEngine(agent) rudder Method 'service_restart' failed in some repairs
Updated by Nicolas CHARLES over 5 years ago
I also have in 5.0
avril 03 10:34:53 server cf-promises[4324]: CFEngine(common) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' avril 03 10:34:53 server cf-promises[4324]: CFEngine(common) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' avril 03 10:34:53 server cf-promises[4324]: CFEngine(common) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' avril 03 10:34:53 server cf-promises[4324]: CFEngine(common) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' avril 03 10:34:53 server cf-agent[4322]: CFEngine(agent) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) avril 03 10:34:53 server cf-agent[4322]: CFEngine(agent) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) avril 03 10:34:53 server cf-agent[4322]: CFEngine(agent) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) avril 03 10:34:53 server cf-agent[4322]: CFEngine(agent) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) avril 03 10:34:53 server cf-agent[4322]: CFEngine(agent) rudder CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) avril 03 10:34:53 server cf-promises[4334]: CFEngine(common) rudder Can't stat file '/var/rudder/ncf//bin/sh: /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs: No such file or directory' for parsin avril 03 10:34:53 server cf-agent[4332]: CFEngine(agent) Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"' avril 03 10:34:53 server cf-agent[4332]: CFEngine(agent) Error reading CFEngine policy. Exiting... avril 03 10:34:53 server cf-promises[4340]: CFEngine(common) rudder Can't stat file '/var/rudder/ncf//bin/sh: /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs: No such file or directory' for parsin avril 03 10:34:53 server yum[3750]: Installed: 1398866025:rudder-agent-5.0.9.rc1.git201904020703-1.EL.7.x86_64
even though ncf was installed
Updated by Nicolas CHARLES over 5 years ago
- Subject changed from Error in logs during install of rudder-server-root on Centos7 to Error in logs during install of rudder-server-root
- Target version deleted (
4.1.21)
file /var/log/rudder/install/rudder-agent.log also contain
Thu Apr 4 15:13:32 CEST 2019 - Starting rudder-agent post installation script slibclean: not found CFEngine binaries copied to workdir setfacl: not found grep: /var/rudder/cfengine-community/inputs/promises.cf: No such file or directory WARNING: No disable file detected and no agent executor process either. Restarting agent service...ok: stop service rudder-agent succeeded ok: start service rudder-agent succeeded Done ERROR: There was an error during promises update. Reseting to initial promises and updating... error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) error: CfReadFile: Could not examine file '/var/rudder/cfengine-community/policy_server.dat' (stat: No such file or directory) error: Can't stat file '/var/rudder/ncf//bin/sh: 0: Can't open /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs' for parsing. (stat: No such file or directory) error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"' error: Error reading CFEngine policy. Exiting... Done error: Can't stat file '/var/rudder/ncf//bin/sh: 0: Can't open /var/rudder/ncf/common/10_ncf_internals/list-compatible-inputs' for parsing. (stat: No such file or directory) ok: Rudder agent check ran without errors.
Updated by Nicolas CHARLES over 5 years ago
the error about "A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined" appears after the first generation of Rudder, which breaks something
Updated by François ARMAND over 5 years ago
All of the subticket are closed, can we also close that one?
Updated by Nicolas CHARLES over 5 years ago
- Related to Bug #14825: configuration.enabled_loggers not defined in logs during server install added
Updated by Nicolas CHARLES over 5 years ago
subtasks have been solved, and the specific one about configuration.enabled_loggers opened in #14825
Updated by Nicolas CHARLES over 5 years ago
- Status changed from New to Rejected
- Priority changed from 50 to 49
This ticket is not specific enough
Actions