Project

General

Profile

Actions

Bug #5459

closed

Tools directory is not always correctly updated on nodes

Bug #5459: Tools directory is not always correctly updated on nodes

Added by Dennis Cabooter almost 12 years ago. Updated almost 12 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 CLARKEActions
Related to Rudder - Bug #7020: Copy ncf only if it is updatedReleasedBenoît PECCATTEActions

Updated by Nicolas CHARLES almost 12 years ago Actions #1

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 almost 12 years ago Actions #2

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 almost 12 years ago Actions #3

Actually the whole tools dir is missing.

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

Updated by Vincent MEMBRÉ almost 12 years ago Actions #4

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

Updated by Vincent MEMBRÉ almost 12 years ago Actions #5

  • Assignee changed from Jonathan CLARKE to Dennis Cabooter

Dennis you can send me the log to

Updated by Dennis Cabooter almost 12 years ago Actions #6

Done!

Updated by Dennis Cabooter almost 12 years ago Actions #7

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É almost 12 years ago Actions #8

  • 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 almost 12 years ago Actions #9

  • 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 almost 12 years ago Actions #10

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 almost 12 years ago Actions #11

  • 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

Updated by Nicolas CHARLES almost 12 years ago Actions #12

  • 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 almost 12 years ago Actions #13

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

Updated by Matthieu CERDA almost 12 years ago Actions #14

  • Status changed from Pending release to Released

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

Updated by Matthieu CERDA almost 12 years ago Actions #15

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

Updated by Nicolas CHARLES almost 11 years ago Actions #16

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

Also available in: PDF Atom