Project

General

Profile

Actions

Bug #4894

closed

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 over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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 1 (0 open1 closed)

Related to Rudder - Bug #4992: Initial promises don't fetch new promises anymore on the policy serverReleasedJonathan CLARKE2014-06-10Actions
Actions #1

Updated by Nicolas PERRON over 10 years ago

  • Target version set to 2.9.5
Actions #2

Updated by Nicolas PERRON over 10 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
Actions #3

Updated by Nicolas PERRON over 10 years ago

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

Applied in changeset commit:dfe97cdfc3cf1f998dbfd71a828d553051ff3ef3.

Actions #4

Updated by Jonathan CLARKE over 10 years ago

Applied in changeset commit:a942c5380e80fa9b368444d872998634d8cb7555.

Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

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

Updated by Vincent MEMBRÉ over 10 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.

Actions

Also available in: Atom PDF