Project

General

Profile

Bug #5459

Tools directory is not always correctly updated on nodes

Added by Dennis Cabooter over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
3
Category:
System integration
Target version:
Severity:
User visibility:
Effort required:
Priority:

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.


Related issues

Related to Rudder - Bug #5564: Tools folder are empty!Released2014-09-21Jonathan CLARKEActions
Related to Rudder - Bug #7020: Copy ncf only if it is updatedReleased2015-07-21Benoît PECCATTEActions
#1

Updated by Nicolas CHARLES over 5 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 ?

#2

Updated by Dennis Cabooter over 5 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.

#3

Updated by Dennis Cabooter over 5 years ago

Actually the whole tools dir is missing.

[root@node ~]# ls /var/rudder/tools/
[root@node ~]#
#4

Updated by Vincent MEMBRÉ over 5 years ago

  • Category set to System integration
  • Assignee set to Jonathan CLARKE
  • Priority changed from N/A to 3
#5

Updated by Vincent MEMBRÉ over 5 years ago

  • Assignee changed from Jonathan CLARKE to Dennis Cabooter

Dennis you can send me the log to

#6

Updated by Dennis Cabooter over 5 years ago

Done!

#7

Updated by Dennis Cabooter over 5 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.

#8

Updated by Vincent MEMBRÉ over 5 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
#9

Updated by Nicolas CHARLES over 5 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.

#10

Updated by Nicolas CHARLES over 5 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

#11

Updated by Nicolas CHARLES over 5 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
#12

Updated by Nicolas CHARLES over 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:21db3b5e4ed36b34eab146001ba15704c91939ee.

#13

Updated by Jonathan CLARKE over 5 years ago

Applied in changeset policy-templates:commit:0b0c1f25511eb36a177943e380cc3c0c21bf868c.

#14

Updated by Matthieu CERDA over 5 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:

#15

Updated by Matthieu CERDA over 5 years ago

This bug has been fixed in Rudder 2.10.6, which was released today.
Check out:

#16

Updated by Nicolas CHARLES almost 5 years ago

  • Related to Bug #7020: Copy ncf only if it is updated added

Also available in: Atom PDF