Project

General

Profile

Actions

Bug #5745

closed

User story #5293: Add a 'changes only' compliance mode, only reporting changes on systems

User story #5296: Create the logic to get execution reports for "error only" mode

Bug #5710: Rudder 3.0 is missing migration elements (SQL script and property)

Rudder 3.0 configid migration uses the wrong condition

Added by Matthieu CERDA about 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In:

# 3.0.0: Add the nodeConfigId column in the ReportsExecution table and add the nodes_info table
STEP="Add the nodeConfigId column in the ReportsExecution table and add the nodes_info table" 

RES=$(${PSQL} -t -d rudder -c "select count(1) from pg_class where relname = 'nodes_info'")
if [ $RES -ne 0 ]; then
  ${PSQL} -d rudder -f ${RUDDER_UPGRADE_TOOLS}/dbMigration-2.11-2.12-add-nodeconfigids-columns.sql > /dev/null 2>&1
fi

"if [ $RES -ne 0 ]; then" should be "if [ $RES -eq 0 ]; then"

Actions #1

Updated by Matthieu CERDA about 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/520
Actions #2

Updated by Matthieu CERDA about 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset rudder-packages|commit:0432b608c994e8e2dd90c8c78d053e65260f820e.

Actions #3

Updated by Jonathan CLARKE about 10 years ago

Applied in changeset rudder-packages|commit:fe6670132da714512de02410b1fd6b22b1c177b1.

Actions #4

Updated by Vincent MEMBRÉ almost 10 years ago

  • Project changed from 34 to Rudder
  • Category set to System integration
  • Parent task set to #5710
Actions #5

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~beta1 which was release on 01/12/2014.

Actions

Also available in: Atom PDF