Project

General

Profile

Bug #10028

Transient update error on ncf/local

Added by Alexis MOUSSET 10 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Initial promises & sys tech
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
0

Description

   error: Failed to chdir into '/var/rudder/ncf/local'. (chdir: 'No such file or directory')

only after first run apparently.


Subtasks

Bug #10342: rpm does not build since packaging of /var/rudder/ncf dirsReleasedBenoît PECCATTE

Bug #10346: rpm does not build since packaging of /var/rudder/ncf dirsRejected

Bug #10347: rpm does not build since packaging of /var/rudder/ncf dirsReleasedBenoît PECCATTE


Related issues

Related to Rudder - Bug #9416: Transient error during upgrade from 3.1 to 4.0 Rejected
Related to Rudder - Architecture #9207: Transient policy error after upgrade, need to improve handling of policies update during server upgrade (rudder-upgrade vs. ncf vs. rudder-techniques) New
Related to Rudder - Bug #8792: Transient ncf error when updating from 3.1.10 to 3.1.12 Rejected 2016-07-29
Duplicated by Rudder - Bug #10319: Error during /opt/rudder/bin/rudder-init Rejected
Duplicated by Rudder - Bug #9639: When running rudder-init on a fresh server, we get an error that "/var/rudder/ncf/local/ does not exist" Rejected

Associated revisions

Revision 3b1274ae
Added by Benoît PECCATTE 9 months ago

Fixes #10028: Transient update error on ncf/local

History

#1 Updated by Alexis MOUSSET 10 months ago

rudder  verbose: P: BEGIN promise 'promise_update_cf_236' of type "files" (pass 1)
rudder  verbose: P:    Promiser/affected object: '/var/rudder/ncf/local/ncf_hash_file'
rudder  verbose: P:    Part of bundle: update_action
rudder  verbose: P:    Base context class: !root_server
rudder  verbose: P:    Stack path: /default/update_action/files/'/var/rudder/ncf/local/ncf_hash_file'[1]
   error: Failed to chdir into '/var/rudder/ncf/local'. (chdir: 'No such file or directory')
rudder  verbose: File '/var/rudder/ncf/local/ncf_hash_file' copy_from '/var/rudder/configuration-repository/ncf/ncf_hash_file'
rudder  verbose: FindIdle: found connection to 'relay' already open and ready.
rudder  verbose: '/var/rudder/ncf/local/ncf_hash_file' wasn't at destination (copying)
rudder     info: Copying from 'relay:/var/rudder/configuration-repository/ncf/ncf_hash_file'
rudder  verbose: Copying remote file 'relay:/var/rudder/configuration-repository/ncf/ncf_hash_file', expecting 44 bytes
rudder  verbose: Copy of regular file succeeded '/var/rudder/configuration-repository/ncf/ncf_hash_file' to '/var/rudder/ncf/local/ncf_hash_file.cfnew'
rudder  verbose: Final verification of transmission ...
rudder  verbose: New file '/var/rudder/ncf/local/ncf_hash_file.cfnew' transmitted correctly - verified

ncf/local is not present in initial promises.

#2 Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 4.1.0~beta2 to 4.1.0~beta3

#3 Updated by Vincent MEMBRÉ 10 months ago

  • Target version changed from 4.1.0~beta3 to 4.1.0~rc1

#4 Updated by Nicolas CHARLES 9 months ago

  • Target version changed from 4.1.0~rc1 to 3.1.19

This is not 4.1 specific (see the myriad of ticket linked to this one)

#5 Updated by Nicolas CHARLES 9 months ago

  • Related to Bug #9416: Transient error during upgrade from 3.1 to 4.0 added

#6 Updated by Nicolas CHARLES 9 months ago

  • Related to Architecture #9207: Transient policy error after upgrade, need to improve handling of policies update during server upgrade (rudder-upgrade vs. ncf vs. rudder-techniques) added

#7 Updated by Nicolas CHARLES 9 months ago

  • Related to Bug #8792: Transient ncf error when updating from 3.1.10 to 3.1.12 added

#8 Updated by Benoît PECCATTE 9 months ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE

#9 Updated by Benoît PECCATTE 9 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1276

#10 Updated by Benoît PECCATTE 9 months ago

  • Duplicated by Bug #10319: Error during /opt/rudder/bin/rudder-init added

#11 Updated by Benoît PECCATTE 9 months ago

  • Status changed from Pending technical review to Pending release

#12 Updated by Benoît PECCATTE 9 months ago

  • Duplicated by Bug #9639: When running rudder-init on a fresh server, we get an error that "/var/rudder/ncf/local/ does not exist" added

#13 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released
  • Priority set to 0

This bug has been fixed in Rudder 3.1.19, 4.0.4 and 4.1.1 which were released today.

Also available in: Atom PDF