Bug #5459
closedTools directory is not always correctly updated on nodes
Added by Dennis Cabooter about 10 years ago. Updated about 10 years ago.
Description
After installing a new 2.11.2 agent, it keeps complaining about a missing /var/rudder/tools/check_rsyslog_version. Running "cf-agent -KIf failsafe.cf" goes fine though.
Updated by Nicolas CHARLES about 10 years ago
From discussion on the #rudder channel:
- the file is there on the policy server
- the /var/rudder/tools is empty on the node
- the node is on the authorized network
Dennis, could you paste the verbose output of the cf-serverd to help us debug the issue ?
Updated by Dennis Cabooter about 10 years ago
I've captured the output of cf-serverd in verbose mode. However, I see nothing about tools and no errors at all. If you like to see it, please tell me and I can e-mail it to you. Thanks.
Updated by Dennis Cabooter about 10 years ago
Actually the whole tools dir is missing.
[root@node ~]# ls /var/rudder/tools/ [root@node ~]#
Updated by Vincent MEMBRÉ about 10 years ago
- Category set to System integration
- Assignee set to Jonathan CLARKE
- Priority changed from N/A to 3
Updated by Vincent MEMBRÉ about 10 years ago
- Assignee changed from Jonathan CLARKE to Dennis Cabooter
Dennis you can send me the log to vme@normation.com
Updated by Dennis Cabooter about 10 years ago
This is really strange. Yesterday I installed the node. This morning I looked and there were still no tools. I now just looked again and all statuses are green now. It took a long time, but it seems Rudder was somehow able to repair itself.
Updated by Vincent MEMBRÉ about 10 years ago
- Subject changed from The file /var/rudder/tools/check_rsyslog_version is missing to tools directory is not correctly updated on nodes
- Status changed from New to Pending technical review
- Assignee changed from Dennis Cabooter to Jonathan CLARKE
- Target version changed from 2.11.3 to 2.6.18
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/481
Updated by Nicolas CHARLES about 10 years ago
- Subject changed from tools directory is not correctly updated on nodes to Tools directory is not correctly updated on nodes
- Status changed from Pending technical review to In progress
- Assignee changed from Jonathan CLARKE to Nicolas CHARLES
- Target version changed from 2.6.18 to 2.10.6
We will change the copy mecanism.
The copy from server to client will occur only if the file rudder_tools_updated is different on the server than from the client, or if requiered tools are missing
this file will be created on the server, during a copy of the tools from /opt/rudder/share/tools to /var/rudder/tools, containing the timestamp of the copy.
Updated by Nicolas CHARLES about 10 years ago
Actually, the mandatory file list part will be in another ticket, as it is quite complex to track all the files that are necessary given the OS
Updated by Nicolas CHARLES about 10 years ago
- Subject changed from Tools directory is not correctly updated on nodes to Tools directory is not always correctly updated on nodes
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
- Pull Request changed from https://github.com/Normation/rudder-techniques/pull/481 to https://github.com/Normation/rudder-techniques/pull/495
PR is there : https://github.com/Normation/rudder-techniques/pull/495
Updated by Nicolas CHARLES about 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:21db3b5e4ed36b34eab146001ba15704c91939ee.
Updated by Jonathan CLARKE about 10 years ago
Applied in changeset policy-templates:commit:0b0c1f25511eb36a177943e380cc3c0c21bf868c.
Updated by Matthieu CERDA about 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.6, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-July/000038.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog27
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Matthieu CERDA about 10 years ago
This bug has been fixed in Rudder 2.10.6, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-October/000109.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Nicolas CHARLES over 9 years ago
- Related to Bug #7020: Copy ncf only if it is updated added