[rudder-users] rudder agent

Nicolas Charles nicolas.charles at normation.com
Wed Jun 25 09:34:53 CEST 2014


Hi Maxime,

This error is typical of a node with its IP not in the authorized networks.
We share ncf to all nodes in the allowed networks, and each nodes fetch 
its private promises. The error bellow means the node could get its 
private promises, but not ncf.

Could you check the node IP and the authorized networks in the Web 
Interface ?

Nicolas

On 24/06/2014 20:00, Maxime Longuet wrote:
> I've error on start of a new agent that i'm just installed. I'm see the host on my rudder server, i've accepted this new node. After several minute and seeing No report on this, i'm going on it and try to restart. And i've this error :
>
>
> # /etc/init.d/rudder-agent start
> rudder-agent[2181]: [INFO] Using /etc/default/rudder-agent for configuration
> rudder-agent[2185]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
> rudder-agent[2186]: [INFO] Halting CFEngine Community cf-serverd...
> rudder-agent[2190]: [OK] CFEngine Community cf-serverd stopped after 2 seconds
> rudder-agent[2191]: [INFO] Halting CFEngine Community cf-execd...
> rudder-agent[2196]: [OK] CFEngine Community cf-execd stopped after 2 seconds
> rudder-agent[2197]: [INFO] Launching CFEngine Community cf-serverd...
> /var/rudder/cfengine-community/inputs/promises.cf:165:0: error: Undefined body if_ok with type classes
> /var/rudder/cfengine-community/inputs/promises.cf:185:0: error: Undefined body tidy with type delete
> /var/rudder/cfengine-community/inputs/promises.cf:190:0: error: Undefined body tidy with type delete
> /var/rudder/cfengine-community/inputs/promises.cf:291:0: error: Undefined body check_range with type process_count
> /var/rudder/cfengine-community/inputs/promises.cf:293:0: error: Undefined body if_repaired with type classes
> /var/rudder/cfengine-community/inputs/promises.cf:307:0: error: Undefined body check_range with type process_count
> /var/rudder/cfengine-community/inputs/promises.cf:309:0: error: Undefined body if_repaired with type classes
> /var/rudder/cfengine-community/inputs/promises.cf:349:0: error: Undefined body m with type perms
> /var/rudder/cfengine-community/inputs/promises.cf:515:0: error: Undefined body in_shell with type contain
> /var/rudder/cfengine-community/inputs/promises.cf:522:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/promises.cf:612:0: error: Undefined body tidy with type delete
> /var/rudder/cfengine-community/inputs/promises.cf:613:0: error: Undefined body days_old with type file_select
> /var/rudder/cfengine-community/inputs/promises.cf:614:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/promises.cf:618:0: error: Undefined body tidy with type delete
> /var/rudder/cfengine-community/inputs/promises.cf:619:0: error: Undefined body days_old with type file_select
> /var/rudder/cfengine-community/inputs/promises.cf:620:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/promises.cf:648:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/promises.cf:760:0: error: Undefined body col with type edit_field
> /var/rudder/cfengine-community/inputs/inventory/1.0/fetchFusionTools.cf:31:0: error: Undefined body apt with type package_method
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:60:0: error: Undefined body if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:142:0: error: Undefined body if_ok with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:151:0: error: Undefined body generic with type package_method
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:152:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:159:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:165:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:201:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:208:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:241:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:421:0: error: Undefined body if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:428:0: error: Undefined body if_else with type classes
> /var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:602:0: error: Undefined body tidy with type delete
> /var/rudder/cfengine-community/inputs/common/1.0/rudder_lib.cf:502:0: error: Undefined body start with type location
> /var/rudder/cfengine-community/inputs/common/1.0/rudder_lib.cf:575:0: error: Undefined body start with type location
> /var/rudder/cfengine-community/inputs/common/1.0/rudder_lib.cf:590:0: error: Undefined body col with type edit_field
> /var/rudder/cfengine-community/inputs/common/1.0/rudder_stdlib.cf:85:0: error: Undefined body start with type location
> /var/rudder/cfengine-community/inputs/common/1.0/process_matching.cf:83:0: error: Undefined body tidy with type delete
> /var/rudder/cfengine-community/inputs/common/1.0/process_matching.cf:89:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/process_matching.cf:96:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/internal_security.cf:40:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/internal_security.cf:41:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/internal_security.cf:45:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/internal_security.cf:49:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/internal_security.cf:50:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/internal_security.cf:54:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/e2s_activation.cf:65:0: error: Undefined body m with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/e2s_activation.cf:71:0: error: Undefined body m with type perms
> /var/rudder/cfengine-community/inputs/common/1.0/e2s_activation.cf:103:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:132:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:156:0: error: Undefined body recurse_ignore with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:158:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:164:0: error: Undefined body recurse_ignore with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:166:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:173:0: error: Undefined body recurse_ignore with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:175:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:181:0: error: Undefined body recurse_ignore with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:183:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:189:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:197:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:198:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:212:0: error: Undefined body recurse_ignore with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:213:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:221:0: error: Undefined body recurse_ignore with type depth_search
> /var/rudder/cfengine-community/inputs/common/1.0/update.cf:222:0: error: Undefined body immediate with type action
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:103:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:108:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:116:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:117:0: error: Undefined body exclude with type file_select
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:122:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:130:0: error: Undefined body recurse with type depth_search
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:131:0: error: Undefined body by_name with type file_select
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:136:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:151:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:158:0: error: Undefined body in_shell with type contain
> /var/rudder/cfengine-community/inputs/copyGitFile/1.6/copyFileFromSharedFolder.cf:159:0: error: Undefined body if_else with type classes
> /var/rudder/cfengine-community/inputs/checkGenericFileContent/5.0/checkGenericFileContent.cf:257:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/checkGenericFileContent/5.0/checkGenericFileContent.cf:265:0: error: Undefined body if_else with type classes
> /var/rudder/cfengine-community/inputs/checkGenericFileContent/5.0/checkGenericFileContent.cf:266:0: error: Undefined body in_shell with type contain
> /var/rudder/cfengine-community/inputs/checkGenericFileContent/5.0/checkGenericFileContent.cf:444:0: error: Undefined body value with type replace_with
> /var/rudder/cfengine-community/inputs/checkGenericFileContent/5.0/checkGenericFileContent.cf:451:0: error: Undefined body value with type replace_with
> /var/rudder/cfengine-community/inputs/sshKeyDistribution/2.0/sshKeyDistribution.cf:85:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/sshKeyDistribution/2.0/sshKeyDistribution.cf:90:0: error: Undefined body mog with type perms
> /var/rudder/cfengine-community/inputs/sshKeyDistribution/2.0/sshKeyDistribution.cf:153:0: error: Undefined body value with type replace_with
> /var/rudder/cfengine-community/inputs/sshKeyDistribution/2.0/sshKeyDistribution.cf:155:0: error: Undefined body always with type classes
> /var/rudder/cfengine-community/inputs/sshConfiguration/3.0/main.cf:74:0: error: Undefined body if_else with type classes
> /var/rudder/cfengine-community/inputs/sshConfiguration/3.0/main.cf:98:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/sshConfiguration/3.0/main.cf:104:0: error: Undefined body in_shell with type contain
> /var/rudder/cfengine-community/inputs/sshConfiguration/3.0/main.cf:105:0: error: Undefined body cf2_if_else with type classes
> /var/rudder/cfengine-community/inputs/sshConfiguration/3.0/installation.cf:38:0: error: Undefined body generic with type package_method
> /var/rudder/cfengine-community/inputs/promises.cf:394:0: error: Undefined bundle append_if_no_lines with type edit_line
> /var/rudder/cfengine-community/inputs/promises.cf:401:0: error: Undefined bundle append_if_no_lines with type edit_line
> /var/rudder/cfengine-community/inputs/promises.cf:506:0: error: Undefined bundle append_if_no_lines with type edit_line
> /var/rudder/cfengine-community/inputs/common/1.0/process_matching.cf:91:0: error: Undefined bundle expand_template with type edit_line
> /var/rudder/cfengine-community/inputs/common/1.0/process_matching.cf:97:0: error: Undefined bundle insert_lines with type edit_line
> /var/rudder/cfengine-community/inputs/sshConfiguration/3.0/main.cf:84:0: error: Undefined bundle set_config_values with type edit_line
> 2014-06-24T19:41:45+0200    error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"'
> rudder-agent[3029]: [ALERT] no PID file for cf-execd after 70 seconds
>
>
> :(
>
> Sugestion ?
>
>
>
> _______________________________________________
> rudder-users mailing list
> rudder-users at lists.rudder-project.org
> http://www.rudder-project.org/mailman/listinfo/rudder-users


-- 
Nicolas CHARLES



More information about the rudder-users mailing list