Project

General

Profile

Bug #12398

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

Added by Nicolas CHARLES 8 months ago. Updated 8 months ago.

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

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

Associated revisions

Revision 7ebfa0d1 (diff)
Added by Nicolas CHARLES 8 months ago

Fixes #12398: When upgrading from 4.1 to 4.3, reports from Rudder Techniques break reporting

History

#1 Updated by Nicolas CHARLES 8 months ago

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

#2 Updated by Nicolas CHARLES 8 months ago

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

#3 Updated by Nicolas CHARLES 8 months 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

#4 Updated by Nicolas CHARLES 8 months ago

  • Status changed from Pending technical review to Pending release

#5 Updated by Alexis MOUSSET 8 months ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF