Bug #2443
closedPolicy Server UUID in /var/rudder/tmp
Description
Information about policy server UUID is located in /var/rudder/tmp/uuid.txt
That directory is shared beetween every agents running, but the information may be different for each of them.
and last running agent will overwrote that file.
That file may be better located in the agent specific directory (/var/rudder/agent-name) to solve that problem.
Updated by Jonathan CLARKE over 12 years ago
- Target version changed from 2.4.0~alpha7 to Ideas (not version specific)
Updated by Jonathan CLARKE about 12 years ago
- Assignee deleted (
Jonathan CLARKE)
Updated by Nicolas CHARLES almost 12 years ago
- Assignee set to Matthieu CERDA
- Priority changed from N/A to 5 (lowest)
Matthieu, could you do this modification ?
Updated by Jonathan CLARKE almost 11 years ago
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
I don't understand what change is needed here. What is meant by "agent-name"? What string should this be, and where do we read it from?
Updated by Nicolas CHARLES almost 11 years ago
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
This file contains the policy server uuid, for the inventory
However, if you have several agent on the system (like enterprise and community), and each one as a different policy server (which is possible with the current set of promises), the value will be erases by the last agent running, hence an invalid value fro the policy server uuid will be the inventory
agent-name could be community on community edition, and enterprise on enterprise edition
Updated by Jonathan CLARKE almost 11 years ago
- Assignee deleted (
Jonathan CLARKE)
OK, I understand. This would be nice to have, but I see no urgency here. De-assigning.
Updated by Jonathan CLARKE about 10 years ago
- Status changed from New to Pending technical review
- Assignee set to Nicolas CHARLES
- Target version changed from Ideas (not version specific) to 3.0.0~beta2
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/608
A very simple way to do this is to just store this file in CFEngine's ${sys.workdir} directory. This will obviously be agent-unique.
Updated by Jonathan CLARKE 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:7ddc31a3d2d524718a007fa9abca30dfccee74e2.
Updated by Nicolas CHARLES about 10 years ago
Applied in changeset policy-templates:commit:21c7da7f25727f32383a38c864b8c2d00aa2abde.
Updated by Nicolas CHARLES about 10 years ago
Ha, this cause a problem with fusioninventory
Fusioninventory looks for the policy server uuid in /var/rudder/tmp/uuid.txt, but now the file is in ${sys.workdir}/rudder-server-uuid.txt, so the inventory doesn't work as expected
Updated by Vincent MEMBRÉ about 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.0~beta2, which were these days.
- Announcement 3.0
- Changelog 3.0
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Nicolas CHARLES almost 9 years ago
- Related to Bug #8045: Using Rudder server 3.x + rudder agent 2.11.x, a node doesn't properly detect its change of relay server added