Project

General

Profile

Bug #4559

A rare race condition can lead to an error when looking at compliance while a deployment is in progress

Added by Nicolas CHARLES almost 6 years ago. Updated almost 6 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Compliance & node report
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

On very unlucky cases, it is possible to have a divide by 0 error on the display of rules.
It happens when we try to display the Rules pages while the expected reports are created (last step of deployment)

In the logs, it appears at
saving expected reports for xxxxxx
divide by 0 error in rulegrid
saving expected reports for yyyyy

#1

Updated by Nicolas CHARLES almost 6 years ago

  • Status changed from New to Pending technical review
  • Assignee set to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/459
#2

Updated by Nicolas CHARLES almost 6 years ago

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

Updated by Anonymous almost 6 years ago

#4

Updated by Vincent MEMBRÉ almost 6 years ago

  • Subject changed from Race condition in the display of compliance to An error occurs when looking at compliance when a deployment is in progress
#5

Updated by Jonathan CLARKE almost 6 years ago

  • Subject changed from An error occurs when looking at compliance when a deployment is in progress to An error could occur when looking at compliance when a deployment is in progress
#6

Updated by Vincent MEMBRÉ almost 6 years ago

  • Subject changed from An error could occur when looking at compliance when a deployment is in progress to During last steps of deployment, compliance is not displayed correctly.
#7

Updated by Vincent MEMBRÉ almost 6 years ago

  • Subject changed from During last steps of deployment, compliance is not displayed correctly. to During last step of deployment, some compliances may be in error
#8

Updated by Vincent MEMBRÉ almost 6 years ago

  • Subject changed from During last step of deployment, some compliances may be in error to A rare race condition can lead to an error when looking at compliance while a deployment is in progress
#9

Updated by Vincent MEMBRÉ almost 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.6.12, which was released today.
Check out:

Also available in: Atom PDF