Bug #12543
closedCommunication / inventory issue on 4.3 with centos 7 node on hidora (Virtuozzo )
Description
Hy everyone,
we have communication issue between rudder server 4.3 and nodes :
After node validation, node stay to "last Seen" = Never and no rules could be apply .
We use VPS CentOS 7.x and no firewall between server and nodes.
-------------------------------------------------------------------------------------------------
RUDDER SERVER
rpm -qi rudder-server-root
Name : rudder-server-root
Epoch : 1398866025
Version : 4.3.0.release
Release : 1.EL.7
Architecture: noarch
Install Date: Thu 26 Apr 2018 01:14:44 PM UTC
CentOS version :
[root@node25647-rudder-icrc ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@node25647-rudder-icrc ~]# uname -r
3.10.0-693.17.1.vz7.43.10
[root@node25647-rudder-icrc ~]# rudder agent inventory i an error occurred, returned 2
Rudder agent 4.3.0.release
Node uuid: root
rudder info: Using command line specified bundlesequence
rudder info: Executing 'no timeout' ... '/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://127.0.0.1/uuid'
rudder info: Completed execution of '/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://127.0.0.1/uuid'
rudder info: Executing 'no timeout' ... '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25647-rudder-icrc-root.ocs'
error: Finished command related to promiser '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25647-rudder-icrc-root.ocs' -
notice: Q: "...-inventory --lo": [info] FusionInventory instance: builtin - Perl instance: system
Q: "...-inventory --lo": Can't locate Exporter.pm in @INC (@INC contains: /opt/rudder/share/fusioninventory/lib /opt/rudder/lib/perl5/x86_64-linux-thread-multi /opt/rudder/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/Carp.pm line 35.
Q: "...-inventory --lo": Compilation failed in require at /usr/share/perl5/base.pm line 86.
Q: "...-inventory --lo": BEGIN failed--compilation aborted at /opt/rudder/share/fusioninventory/lib/setup.pm line 5.
Q: "...-inventory --lo": Compilation failed in require at /opt/rudder/bin/fusioninventory-agent line 10.
Q: "...-inventory --lo": BEGIN failed--compilation aborted at /opt/rudder/bin/fusioninventory-agent line 10.
rudder info: Last 6 quoted lines were generated by promiser '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25647-rudder-icrc-root.ocs'
rudder info: Completed execution of '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25647-rudder-icrc-root.ocs'
Start execution with config [20180427-103643-55f0fe0c]
rudder info: Automatically promoting context scope for 'heartbeat_sent' to namespace visibility, due to persistence
M| State Technique Component Key Message
E| error Inventory inventory Could not execute the inventory
error: Method 'fusionAgent' failed in some repairs
error: Method 'doInventory_always' failed in some repairs
- Summary #####################################################################
=> 1 components in Enforce mode
-> 1 error
Execution time: 1.62s ################################################################################
[root@node25647-rudder-icrc ~]#
-------------------------------------------------------------------------------------------------
RUDDER NODE
[root@node25675-webapp-cache-test-monitor ~]# rpm -qi rudder-agent
Name : rudder-agent
Epoch : 1398866025
Version : 4.3.0.release
Release : 1.EL.7
Architecture: x86_64
Install Date: Fri Apr 27 10:13:13 2018
centOS version:
[root@node25675-webapp-cache-test-monitor ~]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[root@node25675-webapp-cache-test-monitor ~]# uname -r
3.10.0-693.17.1.vz7.43.10
[root@node25675-webapp-cache-test-monitor ~]# rudder agent inventory i an error occurred, returned 2
Rudder agent 4.3.0.release
Node uuid: a7639e1b-3ea7-4cdf-9375-0e58a6636481
rudder info: Using command line specified bundlesequence
rudder info: Executing 'no timeout' ... '/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://10.102.0.184/uuid'
rudder info: Completed execution of '/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://10.102.0.184/uuid'
rudder info: Executing 'no timeout' ... '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25675-webapp-cache-test-monitor-a7639e1b-3ea7-4cdf-9375-0e58a6636481.ocs'
error: Finished command related to promiser '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25675-webapp-cache-test-monitor-a7639e1b-3ea7-4cdf-9375-0e58a6636481.ocs' -
notice: Q: "...-inventory --lo": [info] FusionInventory instance: builtin - Perl instance: system
Q: "...-inventory --lo": Can't locate Exporter.pm in @INC (@INC contains: /opt/rudder/share/fusioninventory/lib /opt/rudder/lib/perl5/x86_64-linux-thread-multi /opt/rudder/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/vendor_perl/Carp.pm line 35.
Q: "...-inventory --lo": Compilation failed in require at /usr/share/perl5/base.pm line 86.
Q: "...-inventory --lo": BEGIN failed--compilation aborted at /opt/rudder/share/fusioninventory/lib/setup.pm line 5.
Q: "...-inventory --lo": Compilation failed in require at /opt/rudder/bin/fusioninventory-agent line 10.
Q: "...-inventory --lo": BEGIN failed--compilation aborted at /opt/rudder/bin/fusioninventory-agent line 10.
rudder info: Last 6 quoted lines were generated by promiser '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25675-webapp-cache-test-monitor-a7639e1b-3ea7-4cdf-9375-0e58a6636481.ocs'
rudder info: Completed execution of '/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/node25675-webapp-cache-test-monitor-a7639e1b-3ea7-4cdf-9375-0e58a6636481.ocs'
Start execution with config [0]
rudder info: Automatically promoting context scope for 'heartbeat_sent' to namespace visibility, due to persistence
M| State Technique Component Key Message
E| error Inventory inventory Could not execute the inventory
error: Method 'fusionAgent' failed in some repairs
error: Method 'doInventory_always' failed in some repairs
- Summary #####################################################################
=> 1 components in Enforce mode
-> 1 error
Execution time: 1.33s ################################################################################
[root@node25675-webapp-cache-test-monitor ~]#
Pierrick
Files
Updated by Benoît PECCATTE over 6 years ago
- Category set to System techniques
- Target version set to 410
Did you check that all ports are open ?
You need ports 5309TCP and 514UDP open from the agent to its server/relay.
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 410 to 4.3.2
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.3.2 to 4.3.3
Updated by Benoît PECCATTE over 6 years ago
- Status changed from New to Rejected
Cannot reproduce, feel free to reopen if needed