Project

General

Profile

Actions

Architecture #2687

closed

Add class to check uuid of the machine and to know if it's a root server or a node

Added by Nicolas PERRON almost 12 years ago. Updated over 11 years ago.

Status:
Released
Priority:
1
Assignee:
Nicolas PERRON
Category:
System techniques
Target version:
Effort required:
Name check:
Fix check:
Regression:

Description

In the failsafe.cf, a class to know if the machine is a node or a root server will be necessary for the merge of initial promises of node and root (#2669).


Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #2775: Common promises have redondant classes definition about root server and policy serverResolvedActions
Actions #1

Updated by Nicolas PERRON almost 12 years ago

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

It seems to work now.

Actions #2

Updated by Nicolas CHARLES over 11 years ago

  • Status changed from Pending technical review to Released

This is valid, thank you Nicolas.
Please not that the &NODEROLE& does also that, so it becomes redundant ...

Actions #3

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Released to Discussion
  • Assignee changed from Nicolas PERRON to Nicolas CHARLES

Nicolas CHARLES wrote:

This is valid, thank you Nicolas.
Please not that the &NODEROLE& does also that, so it becomes redundant ...

Nicolas, can you elaborate on this please? What are the possible outputs of "&NODEROLE&"?

If this is completely redundant, should we should create a new ticket to remove that variable and associated code, or shuold we keep it in preparation for relay servers?

Actions #4

Updated by Nicolas CHARLES over 11 years ago

Jonathan CLARKE wrote:

Nicolas CHARLES wrote:

This is valid, thank you Nicolas.
Please not that the &NODEROLE& does also that, so it becomes redundant ...

Nicolas, can you elaborate on this please? What are the possible outputs of "&NODEROLE&"?

If this is completely redundant, should we should create a new ticket to remove that variable and associated code, or shuold we keep it in preparation for relay servers?

&NODEROLE& can contain (so far)

On the root server :

classes:
  "policy_server" expression => "any";
  "root_server" expression => "any";

On a relay server

classes:
  "policy_server" expression => "any";

or on a simple Node

# This node doesn't have any specific role
<pre>

Actions #5

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Discussion to Pending technical review

This discussion/decision can't be made before the release of 2.4.0~beta3 and code on initial promises and techniques has been already made and validated.
For this reason, a new ticket has been open here: #2785

Actions #6

Updated by Matthieu CERDA over 11 years ago

  • Assignee changed from Nicolas CHARLES to Nicolas PERRON

This looks OK

Actions #8

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending technical review to Released

This was review has been done several times, and a while ago, closing.

Actions

Also available in: Atom PDF