https://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182022-06-03T15:53:59ZIssue TrackerRudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1568292022-06-03T15:53:59ZNicolas CHARLESnicolas.charles@rudder.io
<ul><li><strong>File</strong> <a href="/attachments/2209">stack</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2209/stack">stack</a> added</li></ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1568372022-06-03T18:20:52ZAlexis Moussetalexis.mousset@rudder.io
<ul><li><strong>Severity</strong> set to <i>Major - prevents use of part of Rudder | no simple workaround</i></li><li><strong>User visibility</strong> set to <i>Getting started - demo | first install | Technique editor and level 1 Techniques</i></li><li><strong>Priority</strong> changed from <i>0</i> to <i>70</i></li></ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1569802022-06-08T08:59:34ZNicolas CHARLESnicolas.charles@rudder.io
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/156980/diff?detail_id=208416">diff</a>)</li><li><strong>Category</strong> changed from <i>Packaging</i> to <i>Techniques</i></li></ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1569812022-06-08T09:04:07ZNicolas CHARLESnicolas.charles@rudder.io
<ul><li><strong>Target version</strong> changed from <i>7.1.2</i> to <i>7.0.4</i></li></ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1571452022-06-15T15:35:51ZNicolas CHARLESnicolas.charles@rudder.io
<ul></ul>There are multiples issues that seems to collide there.
<ol>
<li>the json file is not updated in techniqueReader.updateTechniquesMetadataFile (which calls /usr/share/ncf/ncf write_all_techniques)</li>
<li>json file of the current technique is updated via TechniqueWriter.writeTechnique(), which rewrites the technique, but doesn't read back the technique, so</li>
<li>the definition used is not up to date: it looks for old method parameters rather than the new on</li>
</ol>
<p>Plus, in classic writer, parameters not found are ignored, but it's not the case in dsc. If we ignore them in dsc, it still fails after while writing.</p>
<p>Easiest solution may be to reload the .json file after updating it</p> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1571502022-06-15T20:04:35ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In progress</i></li><li><strong>Assignee</strong> set to <i>Vincent MEMBRÉ</i></li></ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1571512022-06-15T20:11:14ZNicolas CHARLESnicolas.charles@rudder.io
<ul></ul><p>We can update the TechniqueEditor object by using the same method as in the serialization, and using the paramRename<br />However, there are still issues with "Method 'package_install_version_cmp_update_arch' not found when writing " on dsc</p> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1571522022-06-15T20:18:39ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Assignee</strong> changed from <i>Vincent MEMBRÉ</i> to <i>Nicolas CHARLES</i></li><li><strong>Pull Request</strong> set to <i>https://github.com/Normation/rudder/pull/4327</i></li></ul><p>PR <a class="external" href="https://github.com/Normation/rudder/pull/4327">https://github.com/Normation/rudder/pull/4327</a></p> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1571532022-06-15T20:21:41ZNicolas CHARLESnicolas.charles@rudder.io
<ul><li><strong>Status</strong> changed from <i>In progress</i> to <i>Pending technical review</i></li><li><strong>Assignee</strong> changed from <i>Nicolas CHARLES</i> to <i>Vincent MEMBRÉ</i></li><li><strong>Pull Request</strong> changed from <i>https://github.com/Normation/rudder/pull/4327</i> to <i>https://github.com/Normation/rudder/pull/4328</i></li></ul><p>PR <a class="external" href="https://github.com/Normation/rudder/pull/4328">https://github.com/Normation/rudder/pull/4328</a></p> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1571562022-06-16T07:52:45ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Assignee</strong> changed from <i>Vincent MEMBRÉ</i> to <i>Nicolas CHARLES</i></li></ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1572282022-06-17T06:55:42ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending technical review</i> to <i>Pending release</i></li></ul><p>Applied in changeset <a class="changeset" title="Fixes #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting ..." href="https://issues.rudder.io/projects/rudder/repository/rudder/revisions/f53b0e0a87cd53be3b1bfc17a053d71e2d999826">rudder|f53b0e0a87cd53be3b1bfc17a053d71e2d999826</a>.</p> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1574982022-06-22T18:02:23ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Fix check</strong> changed from <i>To do</i> to <i>Checked</i></li></ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1575152022-06-22T21:23:06ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Status</strong> changed from <i>Pending release</i> to <i>Released</i></li></ul><p>This bug has been fixed in Rudder 7.0.4 and 7.1.2 which were released today.</p>
<ul>
<li><a href="https://docs.rudder.io/changelogs/7.0/index.html#7.0.4" class="external">7.0.4 changelog</a></li>
<li><a href="https://docs.rudder.io/changelogs/7.1/index.html#7.1.2" class="external">7.1.2 changelog</a></li>
<li><a href="https://docs.rudder.io/reference/7.0/installation/upgrade.html" class="external">Upgrade manual</a></li>
</ul> Rudder - Bug #21220: When upgrading to 7.1, techniques are not upgraded to the new format and reporting issue occurhttps://issues.rudder.io/issues/21220?journal_id=1581452022-07-04T10:17:12ZFrançois ARMANDfrancois.armand@rudder.io
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-16 priority-default closed" href="/issues/21355">Bug #21355</a>: Remove unused variable newCall in JRTechniqueElem</i> added</li></ul>