Project

General

Profile

Bug #22285

Updated by Nicolas CHARLES almost 2 years ago

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

 Verbose log says 
 <pre> 
 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) 
 </pre> 

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

Back