Project

General

Profile

Bug #7086

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

Added by Nicolas CHARLES almost 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

Related to Rudder - Bug #7472: Promise copy is not convergent: if the copy is interupted, it will never recover (3.2 branch)Released2015-11-25Benoît PECCATTEActions
Related to Rudder - Bug #7796: Rudder agent does not detect when promise copy failedReleased2016-01-18Nicolas CHARLESActions
#1

Updated by Vincent MEMBRÉ almost 5 years ago

  • Target version changed from 2.10.16 to 2.10.17
#2

Updated by Nicolas CHARLES almost 5 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
#3

Updated by Francois BAYART almost 5 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 ;)

#4

Updated by Nicolas CHARLES almost 5 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"

#5

Updated by Nicolas CHARLES almost 5 years ago

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

Updated by Matthieu CERDA almost 5 years ago

#7

Updated by Vincent MEMBRÉ over 4 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.

#8

Updated by Jonathan CLARKE over 4 years ago

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

Updated by Alexis MOUSSET over 4 years ago

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

Also available in: Atom PDF