Project

General

Profile

Actions

Bug #6587

closed

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

Added by Alexis MOUSSET almost 6 years ago. Updated over 5 years ago.

Status:
Released
Priority:
1
Assignee:
-
Category:
Agent
Target version:
Severity:
User visibility:
Effort required:
Priority:

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.0Released2015-05-18Actions
Bug #6605: remove duplicated patch on cfengineReleasedVincent MEMBRÉ2015-05-18Actions

Related issues

Related to Rudder - Bug #4335: Impossible to upgrade rpm packages via RPM TechniqueRejectedDennis Cabooter2014-01-07Actions
Actions #1

Updated by Alexis MOUSSET almost 6 years ago

  • Target version changed from 2.10.14 to 2.11.11
Actions #2

Updated by Alexis MOUSSET almost 6 years ago

  • Status changed from New to In progress
Actions #3

Updated by Alexis MOUSSET almost 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee deleted (Alexis MOUSSET)
Actions #4

Updated by Alexis MOUSSET almost 6 years ago

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

Updated by Alexis MOUSSET almost 6 years ago

Attach a tested workaround for this issue.

Actions #7

Updated by Vincent MEMBRÉ almost 6 years ago

  • 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.

Actions #8

Updated by Alexis MOUSSET almost 6 years ago

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

Actions #9

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Alexis MOUSSET over 5 years ago

From CFEngine ticket:

Cherry-picked and will be in 3.6.7 and 3.7.2.

Actions

Also available in: Atom PDF