Project

General

Profile

Actions

Bug #5888

closed

Status of Rule is displayed as "N/A"

Added by Jonathan CLARKE almost 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
2
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I just added a Directive, and applied it to the default rule "Global configuration for all nodes". I don't recall if this was displayed correctly previously or not, but now it is definitely broken:


Files

2.png (22.1 KB) 2.png Jonathan CLARKE, 2014-11-30 14:53
3.png (20 KB) 3.png Jonathan CLARKE, 2014-11-30 14:55
Actions #1

Updated by Jonathan CLARKE almost 10 years ago

  • File 3.png 3.png added
  • Subject changed from Status of Rules is displayed as "N/A" in Directives screen to Status of Rule is displayed as "N/A"

Actually, this is the same in the Rules screen now:

Note: I created a "SSH configuration" directive, and ticked the box of this Rule from the Directives screen to add it. This may be a way to reproduce.

Actions #2

Updated by Jonathan CLARKE almost 10 years ago

  • Priority changed from N/A to 2
Actions #3

Updated by Nicolas CHARLES almost 10 years ago

Ok, the issue here is we display immediately the rule list after updating the directive, but we rely on data post promises generation to display the data of the rule (they are computed by generation and stored in database). Once the generation is completed, the status is ok

It happens only with empty rules where you put directives in them

In 2.11, it displayed "Applying" in this case

Actions #4

Updated by François ARMAND almost 10 years ago

  • Target version changed from 3.0.0~beta2 to 3.0.0~rc1
Actions #5

Updated by Nicolas CHARLES almost 10 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/742
Actions #6

Updated by Nicolas CHARLES almost 10 years ago

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

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0~rc1, which was released today.

Actions

Also available in: Atom PDF