Project

General

Profile

Actions

Bug #9233

closed

Error during upgrade from 3.2 to 4.0

Added by Nicolas CHARLES over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

During the upgrade on Centos6, I get the following error message:

ok: Rudder agent has been enabled but not started, wait for next cron run.
rudder-agent[6326]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[6327]: [INFO] Launching CFEngine Community cf-serverd...
   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[6460]: [ALERT] no PID file for cf-serverd after 30 seconds. Trying again...
   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[6589]: [ALERT] no PID file for cf-serverd after 60 seconds. Trying again...
   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[6633]: [ALERT] no PID file for cf-serverd after 70 seconds
rudder-agent[6634]: [INFO] Launching CFEngine Community cf-execd...
   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[6755]: [ALERT] no PID file for cf-execd after 30 seconds. Trying again...
   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[6878]: [ALERT] no PID file for cf-execd after 60 seconds. Trying again...
   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[6940]: [ALERT] no PID file for cf-execd after 70 seconds
error: service rudder-agent could not be started
INFO: Scheduling an inventory during next run...


Subtasks 1 (0 open1 closed)

Bug #9499: Error during upgrade from 3.2 to 4.0ReleasedAlexis Mousset2016-10-21Actions

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #8838: Broken "rudder agent reinit" on 4.0ReleasedAlexis Mousset2016-08-11Actions
Related to Rudder - Bug #10034: Error when upgrading rudder-agentReleasedBenoît PECCATTEActions
Actions #1

Updated by Alexis Mousset over 7 years ago

  • Related to Bug #8838: Broken "rudder agent reinit" on 4.0 added
Actions #2

Updated by Alexis Mousset over 7 years ago

Should have been fixed in #8838, apparently not...

Actions #3

Updated by François ARMAND over 7 years ago

  • Translation missing: en.field_tag_list set to Blocking 4.0
Actions #4

Updated by Nicolas CHARLES over 7 years ago

could not reproduce (on centos7)

Actions #5

Updated by Nicolas CHARLES over 7 years ago

  • Status changed from New to Rejected

cannot reproduce on centos 6 either

Actions #6

Updated by Nicolas CHARLES over 7 years ago

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

actually, i can reproduce it:

rudder-agent[4889]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[4890]: [INFO] Launching CFEngine Community cf-serverd...
   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[5632]: [ALERT] no PID file for cf-serverd after 30 seconds. Trying again...
rudder-agent[7635]: [OK] CFEngine Community cf-serverd started after 31 seconds

Actions #7

Updated by François ARMAND over 7 years ago

  • Translation missing: en.field_tag_list deleted (Blocking 4.0)

I'm removing the blocking tag because it is almost sure that the problem appears in 3.2 and so should not be blocking 4.0.

Actions #8

Updated by Nicolas CHARLES over 7 years ago

  • Translation missing: en.field_tag_list set to Blocking 4.0

it is really from 3.2 to 4.0

Actions #9

Updated by Benoît PECCATTE over 7 years ago

  • Status changed from New to In progress
Actions #10

Updated by Benoît PECCATTE over 7 years 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/1123
Actions #11

Updated by Benoît PECCATTE over 7 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #12

Updated by Alexis Mousset over 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.

Actions #13

Updated by Alexis Mousset about 7 years ago

  • Related to Bug #10034: Error when upgrading rudder-agent added
Actions

Also available in: Atom PDF