Project

General

Profile

Bug #7130 ยป rudder.log

Upgrade Rudder Log - Florian Dhomps, 2015-08-25 11:43

 
Reading changelogs... Done
(Reading database ... 45205 files and directories currently installed.)
Preparing to unpack .../ncf_0.201508172248-jessie1_all.deb ...
Unpacking ncf (0.201508172248-jessie1) over (0.201507080158-jessie1) ...
Preparing to unpack .../ncf-api-virtualenv_3.0.8-jessie1_all.deb ...
Unpacking ncf-api-virtualenv (3.0.8-jessie1) over (3.0.7-jessie1) ...
Preparing to unpack .../rudder-inventory-ldap_3.0.8-jessie0_amd64.deb ...
Unpacking rudder-inventory-ldap (3.0.8-jessie0) over (3.0.7-jessie0) ...
Preparing to unpack .../rudder-webapp_3.0.8-jessie0_all.deb ...
********************************************************************************
INFO: dpkg may ask you if you want to replace rudder-web.properties or
INFO: inventory-web.properties with the maintainer version if you modified it.
INFO:
INFO: If you accept, please keep in mind that you will lose any manual
INFO: modification in this file, like the syslog port or the workflows and will
INFO: certainly have to add them again.
INFO:
INFO: We recommend that you respond NO to this question
INFO: ('keep your currently-installed version'). Rudder's upgrade script will
INFO: take care of this automatically.
INFO:
********************************************************************************
Unpacking rudder-webapp (3.0.8-jessie0) over (3.0.7-jessie0) ...
Preparing to unpack .../rudder-agent_3.0.8-jessie0_amd64.deb ...
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/ppkeys has been created in /var/backups/rudder
Unpacking rudder-agent (3.0.8-jessie0) over (3.0.7-jessie0) ...
Preparing to unpack .../rudder-server-root_3.0.8-jessie0_all.deb ...
Unpacking rudder-server-root (3.0.8-jessie0) over (3.0.7-jessie0) ...
Preparing to unpack .../rudder-inventory-endpoint_3.0.8-jessie0_all.deb ...
Unpacking rudder-inventory-endpoint (3.0.8-jessie0) over (3.0.7-jessie0) ...
Preparing to unpack .../rudder-jetty_3.0.8-jessie0_all.deb ...
Unpacking rudder-jetty (3.0.8-jessie0) over (3.0.7-jessie0) ...
Preparing to unpack .../rudder-techniques_3.0.8-jessie0_all.deb ...
Unpacking rudder-techniques (3.0.8-jessie0) over (3.0.7-jessie0) ...
Preparing to unpack .../rudder-reports_3.0.8-jessie0_all.deb ...
Unpacking rudder-reports (3.0.8-jessie0) over (3.0.7-jessie0) ...
Processing triggers for systemd (215-17+deb8u1) ...
Setting up ncf (0.201508172248-jessie1) ...
Setting up ncf-api-virtualenv (3.0.8-jessie1) ...
Conf ncf-api-virtualenv already enabled
INFO: Restarting Apache HTTPd... Done
Setting up rudder-inventory-ldap (3.0.8-jessie0) ...
INFO: Restarting syslogd... Done
INFO: Stopping rudder-slapd... Done
_#################### 100.00% eta none elapsed none fast!
Closing DB...
INFO: Starting rudder-slapd... Done
INFO: OpenLDAP database was successfully upgraded to new format
INFO: Running the Rudder upgrade script to replay LDAP migrations on the old database content...
INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK, SQL OK
INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK, SQL skipped
INFO: A Technique library reload is needed and has been scheduled.
INFO: Checking PostgreSQL service status... OK
INFO: Checking LDAP service status............ FAILED
LDAP service verification failed after 10 tries.
ERROR: The migration has failed in some steps. Check previous error messages.
Please restart the failed service(s), and start the migration script again.
(on a single Rudder server, try service rudder-server-root restart)
Once it is working, run:
# /opt/rudder/bin/rudder-upgrade
INFO: You can safely remove the backups in /var/rudder/ldap/openldap-data-backup-upgrade-on-20150820153732/
INFO: and /var/rudder/ldap/backup/openldap-data-pre-upgrade-20150820153732.ldif
INFO: Restarting rudder-slapd... Done
Setting up rudder-jetty (3.0.8-jessie0) ...
Setting up rudder-techniques (3.0.8-jessie0) ...
Setting up rudder-webapp (3.0.8-jessie0) ...
INFO: Restarting syslog...Done
INFO: Restarting Apache HTTPd... Done
INFO: Launching script to check if a migration is needed
INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK, SQL OK
INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK, SQL skipped
INFO: Checking PostgreSQL service status... OK
INFO: Checking LDAP service status... OK

INFO: The migration has completed successfully.
INFO: End of migration script
INFO: Restarting Rudder webapp and inventory-endpoint... Done
Setting up rudder-agent (3.0.8-jessie0) ...
Making sure that the permissions on the CFEngine key directory are correct...
rudder-agent[6028]: [INFO] Using /etc/default/rudder-agent for configuration
rudder-agent[6031]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[6032]: [INFO] Halting CFEngine Community cf-serverd...
rudder-agent[6239]: [OK] CFEngine Community cf-serverd stopped after 2 seconds
rudder-agent[6240]: [INFO] Halting CFEngine Community cf-execd...
rudder-agent[6245]: [OK] CFEngine Community cf-execd stopped after 2 seconds
CFEngine binaries copied to workdir
rudder-agent[7285]: [INFO] Using /etc/default/rudder-agent for configuration
rudder-agent[7288]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[7289]: [INFO] Launching CFEngine Community cf-serverd...
rudder-agent[7948]: [OK] CFEngine Community cf-serverd started after 1 seconds
rudder-agent[7949]: [INFO] Launching CFEngine Community cf-execd...
rudder-agent[8609]: [OK] CFEngine Community cf-execd started after 1 seconds
Setting up rudder-inventory-endpoint (3.0.8-jessie0) ...
INFO: Launching script to check if a migration is needed
INFO: End of migration script
Setting up rudder-reports (3.0.8-jessie0) ...
INFO: Waiting for PostgreSQL to be up... Done
Setting up rudder-server-root (3.0.8-jessie0) ...
Processing triggers for libc-bin (2.19-18) ...
    (1-1/1)