Project

General

Profile

Actions

Bug #2384

closed

Time settings technique (and PT as well) fails on Cento6 and RHEL6

Added by Nicolas CHARLES over 12 years ago. Updated over 9 years ago.

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

Description

On a CentOS6, and RHEL 6.1, the Time Management technique/PT fails on the installation of NTP :
"Bulk package schedule execution failed somewhere - unknown outcome for ntp.*"
"ntp package could not be installed"

MattU suggests this : https://cfengine.com/forum/read.php?3,23598,23609

Actions #1

Updated by Matt Ungaro over 12 years ago

Modifying /var/rudder/configuration-repository/policy-templates/systemSettings/misc/clockConfiguration/1.0/clockConfiguration.st to have the package method for redhat to use yum_rpm instead of yum appears to fix the issue.

Actions #2

Updated by Matthieu CERDA over 12 years ago

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

Adjusting the package method just this time does not look like the right way to do it to me... I think we should use our copy of it (without the bulk installation method that breaks reports) and propagate this to all the techniques that use yum !

Actions #3

Updated by Nicolas PERRON over 12 years ago

  • Target version changed from 2.3.7 to 2.3.8
Actions #4

Updated by Jonathan CLARKE over 12 years ago

  • Project changed from Rudder to 24
  • Category deleted (Techniques)
Actions #5

Updated by Nicolas PERRON over 12 years ago

  • Category set to Policy Templates

It concerns Policy Templates

Actions #6

Updated by Jonathan CLARKE over 12 years ago

  • Target version changed from 2.3.8 to 2.3.9
Actions #7

Updated by Jonathan CLARKE about 12 years ago

  • Status changed from Discussion to In progress

Picking this up after several months of silence - this appears to have slipped through our net, sorry about that.

The difference between package_methods "yum" and "yum_rpm" that causes this to work is the package_name_convention => "$(name)" (instead of "$(name).$(arch)". This is also correct in the package_method "generic", which we also use in almost all other Techniques. Let's just use this one.

I will also open another ticket to ensure that we have a standard approach to using only package_method generic, unless we have a good reason to, to avoid any other bugs of this type.

Actions #8

Updated by Jonathan CLARKE about 12 years ago

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

Applied in changeset commit:b4ca82600f129ada7af5c3e91ceb39d7aa3a1c09.

Actions #9

Updated by Jonathan CLARKE about 12 years ago

Jonathan CLARKE wrote:

I will also open another ticket to ensure that we have a standard approach to using only package_method generic, unless we have a good reason to, to avoid any other bugs of this type.

That's #2977.

Actions #10

Updated by Nicolas PERRON about 12 years ago

It is OK for me

Actions #11

Updated by Jonathan CLARKE about 12 years ago

  • Status changed from Pending technical review to Released
Actions #12

Updated by Benoît PECCATTE over 9 years ago

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

Also available in: Atom PDF