Project

General

Profile

Actions

User story #3857

closed

Add post hook commands and working update for rpm package installation

User story #3857: Add post hook commands and working update for rpm package installation

Added by Olivier Mauras almost 13 years ago. Updated over 11 years ago.

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

Description

Based on v5 which needed to be fixed

- Can execute command upon package repair
- cfengine can't handle an update without specifying version and arch. Added arch detection of installed package and version detection of the latest version in the repository
- Reporting should be OK for all cases

PR was proposed by coredumb: https://github.com/Normation/rudder-techniques/pull/172


Subtasks 2 (0 open2 closed)

Bug #6041: Implement rpmPackageInstallation post hook commands and working updateReleasedNicolas CHARLESActions
Bug #6042: Build error on metadata.xml in rpmPackageInstallationReleasedNicolas CHARLESActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5244: Technique 'Package management for RHEL / CentOS / SuSE / RPM systems' v5.1: Unable to update a package without version set but still report a successRejectedActions

Updated by Vincent MEMBRÉ almost 13 years ago Actions #2

  • Assignee set to Matthieu CERDA
  • Priority changed from 2 to 1 (highest)

Matthieu can you look at it please ?

Updated by Nicolas CHARLES almost 13 years ago Actions #3

This is a really interesting implementation.
However, I'm a bit worried about the execresult, as you said, cf-promises runs it for every packages, so it slows down the cf-promises too much

I hope there is an easier solution, but I can't find one right now

Updated by Olivier Mauras almost 13 years ago Actions #4

As discussed on IRC i've modified my PR with 3 new commits that speed up the techniques by A LOT.
cf-promises now get from ~13s to less than 1s, and whole cf-agent -K run is now ~10s instead of 50s to 1mn10s

These results are for 2 packages to update.

Updated by Olivier Mauras almost 13 years ago Actions #5

Actually "noshell" can't be used:
CRITICAL:yum.cli:Command line error: option -d: invalid integer value: ':'

Updated by Nicolas PERRON almost 13 years ago Actions #6

  • Target version changed from 2.7.1 to 2.7.2

Updated by Jonathan CLARKE almost 13 years ago Actions #7

  • Status changed from New to Discussion
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE

Updated by Nicolas PERRON almost 13 years ago Actions #8

  • Target version changed from 2.7.2 to 2.7.3

Updated by Nicolas PERRON almost 13 years ago Actions #9

  • Target version changed from 2.7.3 to 2.7.4

Updated by Nicolas PERRON almost 13 years ago Actions #10

  • Target version changed from 2.7.4 to 2.7.5

Updated by Nicolas PERRON almost 13 years ago Actions #11

  • Target version changed from 2.7.5 to 2.7.6

Updated by Nicolas PERRON over 12 years ago Actions #12

  • Target version changed from 2.7.6 to 2.7.7

Updated by Vincent MEMBRÉ over 12 years ago Actions #13

  • Target version changed from 2.7.7 to 2.7.8

Updated by Vincent MEMBRÉ over 12 years ago Actions #14

  • Target version changed from 2.7.8 to 2.8.3

Since 2.7.* is not supported anymore, targeting in 2.8

Updated by Vincent MEMBRÉ over 12 years ago Actions #15

  • Target version changed from 2.8.3 to 2.8.4

Updated by Vincent MEMBRÉ over 12 years ago Actions #16

  • Target version changed from 2.8.4 to 133

Updated by Vincent MEMBRÉ over 12 years ago Actions #17

  • Target version changed from 133 to 2.9.5

Updated by Vincent MEMBRÉ about 12 years ago Actions #18

  • Target version changed from 2.9.5 to 2.9.6

Updated by Jonathan CLARKE about 12 years ago Actions #19

  • Target version changed from 2.9.6 to 2.9.7

Updated by Jonathan CLARKE about 12 years ago Actions #20

  • Target version changed from 2.9.7 to 150

Updated by Vincent MEMBRÉ about 12 years ago Actions #21

  • Target version changed from 150 to 2.10.4

Updated by Nicolas PERRON almost 12 years ago Actions #22

  • Target version changed from 2.10.4 to 2.10.5

Updated by Vincent MEMBRÉ almost 12 years ago Actions #23

  • Target version changed from 2.10.5 to 2.10.6

Updated by Matthieu CERDA almost 12 years ago Actions #24

  • Target version changed from 2.10.6 to 2.10.7

Updated by François ARMAND almost 12 years ago Actions #25

  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE

OK, so that one is IMPORTANT.

Updated by François ARMAND almost 12 years ago Actions #26

  • Description updated (diff)

Updated by Vincent MEMBRÉ over 11 years ago Actions #27

  • Target version changed from 2.10.7 to 2.10.8

Updated by Vincent MEMBRÉ over 11 years ago Actions #28

  • Target version changed from 2.10.8 to 2.10.9

Updated by Benoît PECCATTE over 11 years ago Actions #29

  • Status changed from Discussion to 10

Updated by Benoît PECCATTE over 11 years ago Actions #30

  • Status changed from 10 to Pending release

Updated by Vincent MEMBRÉ over 11 years ago Actions #31

  • Target version changed from 2.10.9 to 2.10.10

Updated by Vincent MEMBRÉ over 11 years ago Actions #32

  • Subject changed from Technique enhancement: rpmPackageInstallation post hook commands and working update to Add post hook commands and working update for rpm package installation

Updated by Vincent MEMBRÉ over 11 years ago Actions #33

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.10 and 2.11.7, which were these days.

Updated by Benoît PECCATTE over 11 years ago Actions #34

  • Project changed from 24 to Rudder
  • Category changed from Techniques to Techniques
Actions

Also available in: PDF Atom