Project

General

Profile

Bug #12232

Missing or invalid migration for techniques generated by technique editor from 4.2 to 4.3

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

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:
0
Tags:

Description

Upgrading from 4.2 to 4.3 breaks report on techniques created by technique editor
We are missing the component key and value

Associated revisions

Revision e0646db6 (diff)
Added by Nicolas CHARLES 8 months ago

Fixes #12232: Missing or invalid migration for techniques generated by technique editor from 4.2 to 4.3

History

#1 Updated by Benoît PECCATTE 9 months ago

  • Assignee set to Vincent MEMBRÉ

Should work now.
We need to check again

#2 Updated by François ARMAND 9 months ago

We need to do a full rewrite of technique from technique editor on migration, a little like what is done when installing the DSC agent.

#3 Updated by Nicolas CHARLES 8 months ago

This does not work now

#4 Updated by Nicolas CHARLES 8 months ago

touching file /opt/rudder/etc/force_ncf_technique_update does not solve the issue (even if triggering a full policy regeneration afterwards)
this file disapear after a restart of web interface, but there is no log about what it does

#5 Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 4.3.0~rc2 to 4.3.0~rc3

#6 Updated by Nicolas CHARLES 8 months ago

I do have commits in configuration-repository, but it empty:

commit cfff44f5b553127df8bf2e627954f39edc3f4b39
Author: Rudder system account <email not set>
Date:   Fri Mar 30 14:16:24 2018 +0200

    Commiting Technique 'test' metadata

commit 1ee13b8c9d20d48f870d0d5129ae204408fd2e46
Author: Rudder system account <email not set>
Date:   Fri Mar 30 14:16:24 2018 +0200

    Commiting Technique 'test' file for agent

# git diff a590317668568ae1b6d1ffba9c889538b3ab5fc6
root@server:/var/rudder/configuration-repository/techniques# 

#7 Updated by Nicolas CHARLES 8 months ago

  • Status changed from New to In progress
  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES

#8 Updated by Nicolas CHARLES 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1562

#9 Updated by Nicolas CHARLES 8 months ago

  • Status changed from Pending technical review to Pending release

#10 Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 4.3.0~rc3 to 4.3.0~rc2

#11 Updated by Vincent MEMBRÉ 8 months ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF