Project

General

Profile

Actions

User story #3857

closed

Add post hook commands and working update for rpm package installation

Added by Olivier Mauras over 11 years ago. Updated over 9 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 CHARLES2014-12-23Actions
Bug #6042: Build error on metadata.xml in rpmPackageInstallationReleasedNicolas CHARLES2014-12-23Actions

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 successRejected2014-07-08Actions
Actions #2

Updated by Vincent MEMBRÉ over 11 years ago

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

Matthieu can you look at it please ?

Actions #3

Updated by Nicolas CHARLES about 11 years ago

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

Actions #4

Updated by Olivier Mauras about 11 years ago

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.

Actions #5

Updated by Olivier Mauras about 11 years ago

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

Actions #6

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.7.1 to 2.7.2
Actions #7

Updated by Jonathan CLARKE about 11 years ago

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

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.7.2 to 2.7.3
Actions #9

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.7.3 to 2.7.4
Actions #10

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.7.4 to 2.7.5
Actions #11

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.7.5 to 2.7.6
Actions #12

Updated by Nicolas PERRON about 11 years ago

  • Target version changed from 2.7.6 to 2.7.7
Actions #13

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from 2.7.7 to 2.7.8
Actions #14

Updated by Vincent MEMBRÉ almost 11 years ago

  • Target version changed from 2.7.8 to 2.8.3

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

Actions #15

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.8.3 to 2.8.4
Actions #16

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.8.4 to 133
Actions #17

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 133 to 2.9.5
Actions #18

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.9.5 to 2.9.6
Actions #19

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.9.6 to 2.9.7
Actions #20

Updated by Jonathan CLARKE over 10 years ago

  • Target version changed from 2.9.7 to 150
Actions #21

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 150 to 2.10.4
Actions #22

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.10.4 to 2.10.5
Actions #23

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.10.5 to 2.10.6
Actions #24

Updated by Matthieu CERDA about 10 years ago

  • Target version changed from 2.10.6 to 2.10.7
Actions #25

Updated by François ARMAND about 10 years ago

  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE

OK, so that one is IMPORTANT.

Actions #26

Updated by François ARMAND about 10 years ago

  • Description updated (diff)
Actions #27

Updated by Vincent MEMBRÉ about 10 years ago

  • Target version changed from 2.10.7 to 2.10.8
Actions #28

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.8 to 2.10.9
Actions #29

Updated by Benoît PECCATTE almost 10 years ago

  • Status changed from Discussion to 10
Actions #30

Updated by Benoît PECCATTE almost 10 years ago

  • Status changed from 10 to Pending release
Actions #31

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.9 to 2.10.10
Actions #32

Updated by Vincent MEMBRÉ almost 10 years ago

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

Updated by Vincent MEMBRÉ almost 10 years ago

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

Actions #34

Updated by Benoît PECCATTE over 9 years ago

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

Also available in: Atom PDF