Project

General

Profile

Actions

Bug #2303

closed

The modification of the Distribute Policy PT have not been integrated in the rootServerInitialPromises

Added by Nicolas CHARLES about 12 years ago. Updated almost 12 years ago.

Status:
Released
Priority:
3
Assignee:
Matthieu CERDA
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

As per http://www.rudder-project.org/redmine/issues/856, it would be great to report every modification within the rootServerInitialPromises

Actions #1

Updated by Jonathan CLARKE about 12 years ago

  • Target version changed from 2.4.0~alpha6 to 2.4.0~alpha7
Actions #2

Updated by Jonathan CLARKE about 12 years ago

  • Priority changed from 5 to 3
Actions #3

Updated by Jonathan CLARKE almost 12 years ago

  • Target version changed from 2.4.0~alpha7 to 2.4.0~beta1

This needs clearing up.

Actions #4

Updated by Matthieu CERDA almost 12 years ago

  • Status changed from New to Discussion
  • Assignee changed from Matthieu CERDA to Nicolas CHARLES

I am a bit confused, in the title, it says "within the nodeInitialPromises" and in the description "within the rootServerInitialPromises"...

What should a I do ?????

  • Report the main PT modifications in the nodeInitial ?
  • Report the nodeInitial modifications in the rootServerInitial ?
Actions #5

Updated by Jonathan CLARKE almost 12 years ago

  • Subject changed from The modification of the Distribute Policy PT have not been reported within the nodeInitialPromises to The modification of the Distribute Policy PT have not been integrated in the rootServerInitialPromises
  • Status changed from Discussion to 2
  • Assignee changed from Nicolas CHARLES to Matthieu CERDA

Matthieu CERDA wrote:

I am a bit confused, in the title, it says "within the nodeInitialPromises" and in the description "within the rootServerInitialPromises"...

What should a I do ?????

  • Report the main PT modifications in the nodeInitial ?
  • Report the nodeInitial modifications in the rootServerInitial ?

Well, the "Distribute Policy" PT is not in the node initial promises, so clearly, that was an error. Please integrate these changes in the rootServerInitialPromises.

The generated files from a running Rudder server (in /var/rudder/cfengine-community/inputs) should be as close as possible to the ones in the rootServerInitialPromises.

Actions #6

Updated by Matthieu CERDA almost 12 years ago

  • Status changed from 2 to In progress

OK, this is in progress.

However, I strongly disagree with this approach: We are tremendously complicating our lives doing this sync. of the promises for two agent types (community and nova) when they will be replaced barely 5 minutes after the server installation by the regular promises set generated by Rudder after the initial reload...

We should keep these promises simple, even minimal, waiting for things to be settled by the Rudder server webapp. That would save us hours of pointless synchronization job.

Obviously, this is only valid for the server initial promises.

Actions #7

Updated by Matthieu CERDA almost 12 years ago

After a discussion between MCE, FAR and NCH, it a consensus has been found:

  • Sync'ing promises is a time consuming task
  • We do not want to do it every two weeks

Thus, we should find a way to automatize this. => See #2585

Actions #8

Updated by Matthieu CERDA almost 12 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 0 to 100
Actions #10

Updated by Jonathan CLARKE almost 12 years ago

All commits up to here look good to me.

But I've just made another commit to clean things up and make these promises easier to compare with generated ones. Nicolas, could you review this please?

Actions #11

Updated by Nicolas CHARLES almost 12 years ago

  • Status changed from Pending technical review to Released

This looks valid, thank you all !

Actions

Also available in: Atom PDF