Project

General

Profile

Actions

Bug #8421

closed

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

Bug #8421: 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

Added by Jonathan CLARKE about 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In version 5.0 of the technique, the result classes for the packages promise(s) were changed from:

classes => class_trigger_rpm_retcodes("rpm_package_installed_${index_rpmpkg}", "rpm_package_install_failed_${index_rpmpkg}", "rpm_package_install_kept_${index_rpmpkg}", "${rpm_package_check_interval}"),

to

classes => rudder_common_classes_persist("rpm_package_installation_${index_rpmpkg}", "${rpm_package_check_interval}"),

However, the code that resets classes at the beginning (in case of a promise update) still uses the old names:

      "rpm_kept_classes_purged_${index_rpmpkg}" 
        string  => "undefine",
        classes => cancel_all_classes("rpm_package_install_kept_${index_rpmpkg}");

Subtasks 1 (0 open1 closed)

Bug #8425: 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 - fix so only the first pass resets classesReleasedNicolas CHARLESActions

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #8277: Reporting broken on RPM package install techniqueRejectedAlexis MoussetActions

Updated by Jonathan CLARKE about 10 years ago Actions #1

  • Related to Bug #8277: Reporting broken on RPM package install technique added

Updated by Jonathan CLARKE about 10 years ago Actions #2

  • Status changed from New to In progress

Updated by Jonathan CLARKE about 10 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/960

Updated by Jonathan CLARKE about 10 years ago Actions #4

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Jonathan CLARKE about 10 years ago Actions #5

  • Related to deleted (Bug #8277: Reporting broken on RPM package install technique)

Updated by Jonathan CLARKE about 10 years ago Actions #6

  • Has duplicate Bug #8277: Reporting broken on RPM package install technique added

Updated by Vincent MEMBRÉ about 10 years ago Actions #7

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.22, 3.0.17, 3.1.11 and 3.2.4 which were released today.

Actions

Also available in: PDF Atom