Project

General

Profile

Actions

Bug #6587

closed

cfengine context is not updated properly when doing multiple indivudual package actions

Bug #6587: cfengine context is not updated properly when doing multiple indivudual package actions

Added by Alexis Mousset about 11 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
-
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When trying to install more than one package using a package_method configured for individual installation, the context is not properly updated between iterations. This affects rpmPackageInstallation (after v4.0), especially when there are errors during package installation, because cfengine will only try one package installation, and skip all the others because of the ifvarclass causing missing reports.

An issue was openend on cfengine bugtracker: https://dev.cfengine.com/issues/7181


Files

4-rpmPackageInstallation.cf (11.4 KB) 4-rpmPackageInstallation.cf Fix for 4.0 technique Alexis Mousset, 2015-06-01 11:54

Subtasks 2 (0 open2 closed)

Bug #6590: cfengine context is not updated properly when doing multiple indivudual package actions for 3.0ReleasedActions
Bug #6605: remove duplicated patch on cfengineReleasedVincent MEMBRÉActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4335: Impossible to upgrade rpm packages via RPM TechniqueRejectedDennis CabooterActions

Updated by Alexis Mousset about 11 years ago Actions #1

  • Target version changed from 2.10.14 to 2.11.11

Updated by Alexis Mousset about 11 years ago Actions #2

  • Status changed from New to In progress

Updated by Alexis Mousset about 11 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Assignee deleted (Alexis Mousset)

Updated by Alexis Mousset about 11 years ago Actions #4

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

Updated by Alexis Mousset about 11 years ago Actions #6

Attach a tested workaround for this issue.

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

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.11 and 3.0.5 which were released today.

Updated by Alexis Mousset about 11 years ago Actions #8

The patch was merged into CFEngine master. It should be merged into older branches after 3.7.0 and 3.6.6 releases.

Updated by Nicolas CHARLES almost 11 years ago Actions #9

  • Related to Bug #4335: Impossible to upgrade rpm packages via RPM Technique added

Updated by Alexis Mousset over 10 years ago Actions #10

From CFEngine ticket:

Cherry-picked and will be in 3.6.7 and 3.7.2.

Actions

Also available in: PDF Atom