Project

General

Profile

Actions

Bug #8453

closed

Change in group may be overwritten by dynamic group update

Bug #8453: Change in group may be overwritten by dynamic group update

Added by Nicolas CHARLES about 10 years ago. Updated about 4 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

If we are unlucky enough to edit a group right when the dynamic group update is running, and saving this specific group, we may have all of our change that is overwritten
In DynGroupUpdater, we:
  1. load the group
  2. check it's dynamic
  3. get its query
  4. compute new members
  5. save it if they change

Last step should ensure that:
- we don't overwrite query
- if query changed between step 3 and save, rerun the update

Result can be pretty surprising, as group config looks ok, but isn't

Updated by François ARMAND about 10 years ago Actions #1

  • Status changed from New to In progress
  • Assignee set to François ARMAND

Updated by François ARMAND about 10 years ago Actions #2

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/1114

Updated by François ARMAND about 10 years ago Actions #3

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

Updated by Vincent MEMBRÉ about 10 years ago Actions #4

  • Target version changed from 2.11.23 to 2.11.22

Updated by Vincent MEMBRÉ about 10 years ago Actions #5

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.22, 3.0.17, 3.1.11 and 3.2.4 which were released today.

Updated by Alexis Mousset about 4 years ago Actions #6

  • Priority set to 0
Actions

Also available in: PDF Atom