Project

General

Profile

Actions

Bug #7086

closed

Promise copy is not convergent: if the copy is interupted, it will never recover

Added by Nicolas CHARLES over 9 years ago. Updated about 9 years ago.

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

Description

The copy of promise is a two steps system:
  1. copy the file containing the timestamp of the last generated promises
  2. copy the promises if 1 has been repaired

If 2 is somehow interrupted, at the next run 1 will not be done again, and 2 will not start again, resulting in the false belief that promises are correct
1 should be only a check, no real copy, then 2 should be done (2 include also 1)


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #7472: Promise copy is not convergent: if the copy is interupted, it will never recover (3.2 branch)ReleasedBenoît PECCATTE2015-11-25Actions
Related to Rudder - Bug #7796: Rudder agent does not detect when promise copy failedReleasedNicolas CHARLES2016-01-18Actions
Actions #1

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.10.16 to 2.10.17
Actions #2

Updated by Nicolas CHARLES over 9 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/737/files
Actions #3

Updated by Francois BAYART over 9 years ago

Nicolas CHARLES wrote:

https://github.com/Normation/rudder-techniques/pull/737/files

is it possible to use it on agent 3.0.6 and 3.1.1 ?
If yes, could you explain the step pleace ?

I'm very interested to test it ;)

Actions #4

Updated by Nicolas CHARLES over 9 years ago

Francois BAYART wrote:

Nicolas CHARLES wrote:

https://github.com/Normation/rudder-techniques/pull/737/files

is it possible to use it on agent 3.0.6 and 3.1.1 ?
If yes, could you explain the step pleace ?

I'm very interested to test it ;)

To use this commit, you simply have to:
- copy the file techniques/system/common/1.0/update.st of the PR to your rudder server /var/rudder/configuration-repository/techniques/techniques/system/common/1.0/update.st
- in this folder, run git add . && git commit m "Make copy of promise convergent"
On the webapp, go to the Administration/Setting page, and click on "Update techniques now"

Actions #5

Updated by Nicolas CHARLES over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #6

Updated by Matthieu CERDA over 9 years ago

Actions #7

Updated by Vincent MEMBRÉ about 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.17, 2.11.14, 3.0.9 and 3.1.2 which were released today.

Actions #8

Updated by Jonathan CLARKE about 9 years ago

  • Related to Bug #7472: Promise copy is not convergent: if the copy is interupted, it will never recover (3.2 branch) added
Actions #9

Updated by Alexis Mousset almost 9 years ago

  • Related to Bug #7796: Rudder agent does not detect when promise copy failed added
Actions

Also available in: Atom PDF