Actions
Bug #10034
closedError when upgrading rudder-agent
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When upgrading Rudder agent on centos6, from 3.1 to 4.1 nightly, I get the following error:
Mise à jour : 1398866025:rudder-agent-4.1.0.beta2.git201701191109-1.EL.6.x86_64 1/2 INFO: A back up copy of /etc/init.d/rudder-agent has been created in /var/backups/rudder INFO: A back up copy of /etc/default/rudder-agent has been created in /var/backups/rudder INFO: A back up copy of /etc/cron.d/rudder-agent has been created in /var/backups/rudder ok: Rudder agent is now disabled. rudder-agent[20581]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir rudder-agent[20582]: [INFO] Halting CFEngine Community cf-serverd... rudder-agent[20587]: [OK] CFEngine Community cf-serverd stopped after 2 seconds rudder-agent[20588]: [INFO] Halting CFEngine Community cf-execd... rudder-agent[20594]: [OK] CFEngine Community cf-execd stopped after 2 seconds ok: stop service rudder-agent succeeded ok: Rudder agent has been enabled but not started, wait for next cron run. rudder-agent[20678]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir rudder-agent[20679]: [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[20799]: [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[20921]: [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[20964]: [ALERT] no PID file for cf-serverd after 70 seconds rudder-agent[20965]: [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[21085]: [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[21226]: [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[21275]: [ALERT] no PID file for cf-execd after 70 seconds error: start service rudder-agent failed INFO: Scheduling an inventory during next run... Nettoyage : 1398866025:rudder-agent-3.1.18.rc1.git201701190751-1.EL.6.x86_64 2/2 INFO: A back up copy of the /opt/rudder/etc/uuid.hive has been created in /var/backups/rudder INFO: A back up copy of the /var/rudder/cfengine-community/policy_server.dat has been created in /var/backups/rudder INFO: A back up copy of the /var/rudder/cfengine-community/ppkeys has been created in /var/backups/rudder Verifying : 1398866025:rudder-agent-4.1.0.beta2.git201701191109-1.EL.6.x86_64 1/2 Verifying : 1398866025:rudder-agent-3.1.18.rc1.git201701190751-1.EL.6.x86_64 2/2 Mis à jour : rudder-agent.x86_64 1398866025:4.1.0.beta2.git201701191109-1.EL.6
Please note that it is fairly slow to upgrade
Once it's done:
root@agent1:/home/vagrant# ls -al /var/rudder/cfengine-community/ppkeys/ total 20 drwx------. 2 root root 4096 19 janv. 10:21 . drwxr-xr-x. 11 root root 4096 19 janv. 11:47 .. -rw-------. 1 root root 1743 19 janv. 09:26 localhost.priv -rw-------. 1 root root 426 19 janv. 09:26 localhost.pub -rw-------. 1 root root 426 19 janv. 09:51 root-MD5=eXXXXXXXXXXXXXXXXXXXX.pub
Updated by Alexis Mousset almost 8 years ago
- Has duplicate Bug #10051: When upgrading agent on Centos6 from 3.1 to 4.1, all promises are replaced by initial promises added
Updated by Alexis Mousset almost 8 years ago
- Related to Bug #3515: Upgrading rudder-agent from 2.4.4 to 2.6.0 nightly lead to having an error from CFEngine because of permissions of directories added
Updated by Alexis Mousset almost 8 years ago
- Related to Bug #9233: Error during upgrade from 3.2 to 4.0 added
Updated by Alexis Mousset almost 8 years ago
- Status changed from New to In progress
Updated by Alexis Mousset almost 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1220
Updated by Alexis Mousset almost 8 years ago
- Target version changed from 4.1.0~beta2 to 4.0.3
Updated by Alexis Mousset almost 8 years ago
- Pull Request changed from https://github.com/Normation/rudder-packages/pull/1220 to https://github.com/Normation/rudder-packages/pull/1222
Updated by Alexis Mousset almost 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|41f556160d2901bede87bc4165b6ae28a76dcf8d.
Updated by Vincent MEMBRÉ almost 8 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.0.3 and 4.1.0~beta3 which were released today.
- 4.0.3: Announce Changelog
- 4.1.0~beta3: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions