Project

General

Profile

Actions

Bug #22285

open

Rudder 7.2.3 on ubuntu 22.04 reports repairs when it fails to install chrony package

Added by Nicolas CHARLES about 1 year ago. Updated about 1 month ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I was bothered the first time
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
44
Name check:
To do
Fix check:
To do
Regression:
No

Description

I'm using package-present("chrony"), and it keeps reporting repairs and installing chrony

Verbose log says

ESC[0mESC[34mrudder  verbose: B: *****************************************************************
ESC[0mESC[34mrudder  verbose: B: BEGIN bundle ncf_package( {"chrony","","","","present",""})
ESC[0mESC[34mrudder  verbose: B: *****************************************************************
ESC[0mESC[34mrudder  verbose: V:     +  Private parameter: 'name' in scope 'ncf_package' (type: s) in pass 3
ESC[0mESC[34mrudder  verbose: V:     +  Private parameter: 'version' in scope 'ncf_package' (type: s) in pass 3
ESC[0mESC[34mrudder  verbose: V:     +  Private parameter: 'architecture' in scope 'ncf_package' (type: s) in pass 3
ESC[0mESC[34mrudder  verbose: V:     +  Private parameter: 'provider' in scope 'ncf_package' (type: s) in pass 3
ESC[0mESC[34mrudder  verbose: V:     +  Private parameter: 'state' in scope 'ncf_package' (type: s) in pass 3
ESC[0mESC[34mrudder  verbose: V:     +  Private parameter: 'options' in scope 'ncf_package' (type: s) in pass 3
ESC[0mESC[34mrudder  verbose: V: .........................................................
ESC[0mESC[34mrudder  verbose: V: BEGIN variables (pass 1)
ESC[0mESC[34mrudder  verbose: V:     Computing value of 'class_prefix'
ESC[0mESC[34mrudder  verbose: V:     Computing value of 'state_description'
ESC[0mESC[34mrudder  verbose: V:     Computing value of 'architecture_description'
ESC[0mESC[34mrudder  verbose: V:     Computing value of 'version_description'
ESC[0mESC[34mrudder  verbose: A: Promise was KEPT
ESC[0mESC[34mrudder  verbose: P: END defaults promise (version)
ESC[0mESC[34mrudder  verbose: A: Promise was KEPT
ESC[0mESC[34mrudder  verbose: P: END defaults promise (architecture)
ESC[0mESC[34mrudder  verbose: A: Promise was KEPT
ESC[0mESC[34mrudder  verbose: P: END defaults promise (provider)
ESC[0mESC[34mrudder  verbose: A: Promise was KEPT
ESC[0mESC[34mrudder  verbose: P: END defaults promise (provider)
ESC[0mESC[34mrudder  verbose: A: Promise was KEPT
ESC[0mESC[34mrudder  verbose: P: END defaults promise (state)
ESC[0mESC[34mrudder  verbose: C: .........................................................
ESC[0mESC[34mrudder  verbose: C: BEGIN classes / conditions (pass 1)
ESC[0mESC[34mrudder  verbose: C:     +  Private class: state_present
ESC[0mESC[34mrudder  verbose: C:     +  Private class: use_apt_provider
ESC[0mESC[34mrudder  verbose: C:     +  Private class: supported_provider
ESC[0mESC[34mrudder  verbose: C:     +  Private class: pass1
ESC[0mESC[34mrudder  verbose: Using the default body:                                              packages_action
ESC[0mESC[34mrudder  verbose: Using new package promise.
ESC[0mESC[34mrudder  verbose: P: .........................................................
ESC[0mESC[34mrudder  verbose: P: BEGIN promise 'promise_packages_cf_160' of type "packages" (pass 1)
ESC[0mESC[34mrudder  verbose: P:    Promiser/affected object: 'chrony'
ESC[0mESC[34mrudder  verbose: P:    From parameterized bundle: ncf_package( {"chrony","","","","present",""})
ESC[0mESC[34mrudder  verbose: P:    Base context class: use_apt_provider.!architecture_specified.!version_specified
ESC[0mESC[34mrudder  verbose: P:    Stack path: /default/rudder_directives/methods/'NTP configuration on all linux/Chrony installation'/default/run_9211926d_2a24_4886_aea7_16b1179c61e8/methods/'NTP configuration on all linux/Chrony installation'/default/chrony_installation/methods/'092e9ee4-6b66-45a5-8e21-05b89a59ae69_9211926d-2a24-4886-aea7-16b1179c61e8'/default/chrony_installation_gm_0/methods/'092e9ee4-6b66-45a5-8e21-05b89a59ae69_9211926d-2a24-4886-aea7-16b1179c61e8'/default/package_present/methods/'092e9ee4_6b66_45a5_8e21_05b89a59ae69_9211926d_2a24_4886_aea7_16b1179c61e8_ncf_package'/default/ncf_package/packages/'chrony'[1]
ESC[0mESC[34mrudder  verbose: Nothing promised here [last.package_cache.package_cache.-ncharl] (33/60 minutes elapsed)
ESC[0mESC[34mrudder  verbose: Skipping installed packages package cache update.
ESC[0mESC[34mrudder  verbose: Nothing promised here [last.package_cache.package_cache.-ncharl] (94/240 minutes elapsed)
ESC[0mESC[34mrudder  verbose: Skipping available updates package cache update.
ESC[0mESC[32mrudder     info: Successfully installed package 'chrony'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'promise_repaired_092e9ee4_6b66_45a5_8e21_05b89a59ae69_9211926d_2a24_4886_aea7_16b1179c61e8_ncf_package'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class '092e9ee4_6b66_45a5_8e21_05b89a59ae69_9211926d_2a24_4886_aea7_16b1179c61e8_ncf_package_repaired'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class '092e9ee4_6b66_45a5_8e21_05b89a59ae69_9211926d_2a24_4886_aea7_16b1179c61e8_ncf_package_ok'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class '092e9ee4_6b66_45a5_8e21_05b89a59ae69_9211926d_2a24_4886_aea7_16b1179c61e8_ncf_package_reached'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class '092e9ee4_6b66_45a5_8e21_05b89a59ae69_9211926d_2a24_4886_aea7_16b1179c61e8_ncf_package_not_kept'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'promise_repaired_ncf_package_present_chrony'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'ncf_package_present_chrony_repaired'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'ncf_package_present_chrony_ok'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'ncf_package_present_chrony_reached'
ESC[0mESC[34mrudder  verbose: C:    + promise outcome class 'ncf_package_present_chrony_not_kept'
ESC[0mESC[34mrudder  verbose: A: Promise REPAIRED
ESC[0mESC[34mrudder  verbose: P: END packages promise (chrony)

root@ncharlesAgent1:/home/ubuntu# dpkg -l | grep chrony
rc  chrony                          4.2-2ubuntu2                            amd64        Versatile implementation of the Network Time Protocol
Actions #1

Updated by Nicolas CHARLES about 1 year ago

  • Description updated (diff)
Actions #2

Updated by Nicolas CHARLES about 1 year ago

Ok, it conflicts with ntp, so cannot be installed
we should report an error in that case

Actions #3

Updated by Nicolas CHARLES about 1 year ago

  • Subject changed from Rudder 7.2.3 on ubuntu 22.04 constantly installs chrony package to Rudder 7.2.3 on ubuntu 22.04 reports repairs when it fails to install chrony package
Actions #4

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.4 to 7.2.5
Actions #5

Updated by Benoît PECCATTE about 1 year ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
Actions #6

Updated by Benoît PECCATTE about 1 year ago

  • UX impact set to I was bothered the first time
  • Priority changed from 0 to 53
Actions #7

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
  • Priority changed from 53 to 52
Actions #8

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.2.6 to 7.2.7
  • Priority changed from 52 to 51
Actions #9

Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 7.2.7 to 7.2.8
  • Priority changed from 51 to 50
Actions #10

Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 7.2.8 to 7.2.9
  • Priority changed from 50 to 49
Actions #11

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #12

Updated by Alexis Mousset 8 months ago

  • Target version changed from 7.2.10 to 7.2.11
  • Priority changed from 49 to 48
Actions #13

Updated by Vincent MEMBRÉ 7 months ago

  • Target version changed from 7.2.11 to 1046
  • Priority changed from 48 to 47
Actions #14

Updated by Alexis Mousset 6 months ago

  • Target version changed from 1046 to 7.3.8
Actions #15

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 7.3.8 to 7.3.9
  • Priority changed from 47 to 46
Actions #16

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 7.3.9 to 7.3.10
Actions #17

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 7.3.10 to 7.3.11
  • Priority changed from 46 to 45
Actions #18

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.3.11 to 7.3.12
  • Priority changed from 45 to 44
Actions #19

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #20

Updated by Vincent MEMBRÉ about 1 month ago

  • Target version changed from 7.3.13 to 7.3.14
Actions

Also available in: Atom PDF