Project

General

Profile

Actions

Bug #12398

closed

When upgrading from 4.1 to 4.3, reports from Rudder Techniques break reporting

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

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

I upgraded from 4.1 to 4.3, with a Directive based on "Packages" Technique
I did not upgrade the Technique (I first wanted to check that everything was fine) - however it turned out I had no more reports

Indeed, I have the following lines generated

R: @@packageManagement@@log_info@@32377fd7-02fd-43d0-aab7-28460a91347b@@bd5e5855-0ac1-4061-bd56-5f974c59f181@@0@@@@@@2018-04-10 13:45:57+00:00##root@#Presence of package vim-enhanced in any version was correct

with the postgresql error

STATEMENT:  insert into RudderSysEvents (executionDate, nodeId, ruleId, directiveId, serial, Component, KeyValue, executionTimeStamp, eventType, msg, Policy) values ('2018-04-10T13:35:31.363543+00:00','root', '32377fd7-02fd-43d0-aab7-28460a91347b' , 'bd5e5855-0ac1-4061-bd56-5f974c59f181', '0', '', '', '2018-04-10 13:35:29+00:00', 'log_info', 'Presence of package vim-enhanced in any version was correct', '' )
ERROR:  new row for relation "ruddersysevents" violates check constraint "ruddersysevents_component_check" 

this may also happen with others techniques

Actions #1

Updated by Nicolas CHARLES over 6 years ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
Actions #2

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #3

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/ncf/pull/733
Actions #4

Updated by Nicolas CHARLES over 6 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset ncf:commit:7ebfa0d1b90759cb52981bf61c80a556e87ccc92.

Actions #5

Updated by Alexis Mousset over 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.0 which was released today.

Actions

Also available in: Atom PDF