https://issues.rudder.io/https://issues.rudder.io/themes/rudder7/favicon/favicon.ico?17096450182016-05-12T08:26:43ZIssue TrackerRudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=547532016-05-12T08:26:43ZBenoît PECCATTEbenoit.peccatte@rudder.io
<ul><li><strong>Subject</strong> changed from <i>Reporting broen on RPM package install technique</i> to <i>Reporting broken on RPM package install technique</i></li></ul> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=554482016-05-24T21:48:51ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Target version</strong> changed from <i>2.11.21</i> to <i>2.11.22</i></li></ul> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=558922016-05-30T12:19:08ZJonathan CLARKEjonathan.clarke@normation.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In progress</i></li><li><strong>Assignee</strong> set to <i>Jonathan CLARKE</i></li></ul><p>Alexis MOUSSET wrote:</p>
<blockquote>
<p>I see regularly, on some machines, these two message fro the same component:</p>
<ul>
<li>No action required for ...</li>
<li>RPM package ... was correct</li>
</ul>
</blockquote>
<p>The first report comes from a hardcoded success report in the technique:</p>
<pre>
"any" usebundle => rudder_common_report_index("packageInstallation", "result_success", "${rpm_data[${index_rpmpkg}][3]}", "RHEL/CentOS/SuSE packages", "${rpm_package[${index_rpmpkg}]}", "No action required for RPM package ${rpm_package[${index_rpmpkg}]} with policy: ${rpm_data[${index_rpmpkg}][0]}", "${index_rpmpkg}"),
ifvarclass => "is_update_action_${index_rpmpkg}.!${index_rpmpkg}_package_version_defined.(rpm_package_installation_updated_available_packages_kept|rpm_package_installation_updated_available_packages_repaired).!${index_rpmpkg}_update_version_valid";
</pre>
<p>This second report comes from a call to:</p>
<pre>
rudder_common_reports_generic_index(..., "rpm_package_installation_${index_rpmpkg}", ..., "RPM package ${rpm_package[${index_rpmpkg}]} with policy: ${rpm_data[${index_rpmpkg}][0]}")
</pre> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=558982016-05-30T12:57:01ZJonathan CLARKEjonathan.clarke@normation.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-16 priority-default closed parent" href="/issues/8421">Bug #8421</a>: Invalidation of previous package state and of package status cache does not work on rpmPackageInstallation 5.0 5.1 6.0 6.1 7.0</i> added</li></ul> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=559032016-05-30T13:32:20ZJonathan CLARKEjonathan.clarke@normation.com
<ul><li><strong>Status</strong> changed from <i>In progress</i> to <i>Discussion</i></li><li><strong>Assignee</strong> changed from <i>Jonathan CLARKE</i> to <i>Alexis Mousset</i></li></ul><p>There is a high chance this bug was caused by <a class="issue tracker-1 status-5 priority-16 priority-default closed parent" title="Bug: Invalidation of previous package state and of package status cache does not work on rpmPackageIns... (Released)" href="https://issues.rudder.io/issues/8421">#8421</a>. That would be the case if you only saw this double reporting just after a policy update on the node, which may or may not coincide (but probably does) with a change in the directive's settings.</p>
<p>Could you check to see if you still get this with the fix for <a class="issue tracker-1 status-5 priority-16 priority-default closed parent" title="Bug: Invalidation of previous package state and of package status cache does not work on rpmPackageIns... (Released)" href="https://issues.rudder.io/issues/8421">#8421</a> please Alexis?</p> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=560222016-06-02T13:57:37ZJonathan CLARKEjonathan.clarke@normation.com
<ul><li><strong>Status</strong> changed from <i>Discussion</i> to <i>Rejected</i></li></ul><p>Jonathan CLARKE wrote:</p>
<blockquote>
<p>There is a high chance this bug was caused by <a class="issue tracker-1 status-5 priority-16 priority-default closed parent" title="Bug: Invalidation of previous package state and of package status cache does not work on rpmPackageIns... (Released)" href="https://issues.rudder.io/issues/8421">#8421</a>. That would be the case if you only saw this double reporting just after a policy update on the node, which may or may not coincide (but probably does) with a change in the directive's settings.</p>
<p>Could you check to see if you still get this with the fix for <a class="issue tracker-1 status-5 priority-16 priority-default closed parent" title="Bug: Invalidation of previous package state and of package status cache does not work on rpmPackageIns... (Released)" href="https://issues.rudder.io/issues/8421">#8421</a> please Alexis?</p>
</blockquote>
<p>Tests seem to have confirmed this was fixed by <a class="issue tracker-1 status-5 priority-16 priority-default closed parent" title="Bug: Invalidation of previous package state and of package status cache does not work on rpmPackageIns... (Released)" href="https://issues.rudder.io/issues/8421">#8421</a>. Closing as a duplicate.</p> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=560242016-06-02T13:57:43ZJonathan CLARKEjonathan.clarke@normation.com
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-1 status-5 priority-16 priority-default closed parent" href="/issues/8421">Bug #8421</a>: Invalidation of previous package state and of package status cache does not work on rpmPackageInstallation 5.0 5.1 6.0 6.1 7.0</i>)</li></ul> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=560252016-06-02T13:57:49ZJonathan CLARKEjonathan.clarke@normation.com
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-1 status-5 priority-16 priority-default closed parent" href="/issues/8421">Bug #8421</a>: Invalidation of previous package state and of package status cache does not work on rpmPackageInstallation 5.0 5.1 6.0 6.1 7.0</i> added</li></ul> Rudder - Bug #8277: Reporting broken on RPM package install techniquehttps://issues.rudder.io/issues/8277?journal_id=561332016-06-02T16:20:48ZVincent MEMBRÉvme@rudder.io
<ul><li><strong>Target version</strong> changed from <i>2.11.22</i> to <i>2.11.23</i></li></ul>