Project

General

Profile

Actions

Bug #5459

closed

Tools directory is not always correctly updated on nodes

Added by Dennis Cabooter over 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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 2 (0 open2 closed)

Related to Rudder - Bug #5564: Tools folder are empty!ReleasedJonathan CLARKE2014-09-21Actions
Related to Rudder - Bug #7020: Copy ncf only if it is updatedReleasedBenoît PECCATTE2015-07-21Actions
Actions #1

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

Actions #2

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

Actions #3

Updated by Dennis Cabooter over 10 years ago

Actually the whole tools dir is missing.

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

Updated by Vincent MEMBRÉ over 10 years ago

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

Updated by Vincent MEMBRÉ over 10 years ago

  • Assignee changed from Jonathan CLARKE to Dennis Cabooter

Dennis you can send me the log to

Actions #6

Updated by Dennis Cabooter over 10 years ago

Done!

Actions #7

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

Actions #8

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

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

Actions #10

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

Actions #11

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

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

Actions #13

Updated by Jonathan CLARKE over 10 years ago

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

Actions #14

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:

Actions #15

Updated by Matthieu CERDA about 10 years ago

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

Actions #16

Updated by Nicolas CHARLES over 9 years ago

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

Also available in: Atom PDF