Project

General

Profile

Bug #4894

The initial promises use a remote copy which does not permit the copy of ncf files to /var/rudder/ncf/ and generation of promises fails.

Added by Nicolas PERRON almost 6 years ago. Updated over 5 years ago.

Status:
Released
Priority:
1
Assignee:
Nicolas PERRON
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

The initial promises on server use remote copy instead of local copy. It leads to not copy ncf and have no possibility to generate promises.

Verbose execution of failsafe.cf:

[...]
rudder> Copy file '/var/rudder/ncf/common' from '/usr/share/ncf/tree' check
rudder> GetIdleConnectionToServer: no existing connection to '127.0.0.1' is established...
rudder> Set cfengine port number to '5309' = 5309
rudder> Set connection timeout to 30
rudder> Connect to 'server.rudder.local' = '127.0.0.1' on port '5309'
rudder> skipidentify was promised, so we are trusting and simply announcing the identity as 'server' for this host
rudder> .....................[.h.a.i.l.].................................
rudder> Strong authentication of server 'server.rudder.local' connection confirmed
rudder> Public key identity of host '127.0.0.1' is 'MD5=6a4bf99269399999fd617fc7180a7d79'
rudder> Server returned error ' Unspecified server refusal (see verbose server output)'
Can't stat '/usr/share/ncf/tree' in files.copyfrom promise
rudder> Defining promise result class 'rudder_ncf_common_update_error'
rudder> Existing connection just became free...
[...]


Related issues

Related to Rudder - Bug #4992: Initial promises don't fetch new promises anymore on the policy serverReleased2014-06-10Jonathan CLARKEActions
#1

Updated by Nicolas PERRON almost 6 years ago

  • Target version set to 2.9.5
#2

Updated by Nicolas PERRON almost 6 years ago

  • Status changed from New to In progress
  • % Done changed from 0 to 90
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/381
#3

Updated by Nicolas PERRON over 5 years ago

  • Status changed from In progress to Pending release
  • % Done changed from 90 to 100

Applied in changeset commit:dfe97cdfc3cf1f998dbfd71a828d553051ff3ef3.

#4

Updated by Jonathan CLARKE over 5 years ago

Applied in changeset commit:a942c5380e80fa9b368444d872998634d8cb7555.

#5

Updated by Vincent MEMBRÉ over 5 years ago

  • Project changed from Techniques to Rudder
  • Category set to System techniques
#6

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.9.5 (announcement , changelog) and 2.10.1 (announcement , changelog), which were released today.

Also available in: Atom PDF