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
Actions