Project

General

Profile

Actions

User story #18987

closed

No logs from rudder-upgrade when upgrading from 6.1 to 6.2

Added by Nicolas CHARLES over 3 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Packaging
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

and so i didn't know why it seemed stuck on something: it was reindexing my large ldap
Happened on centos8

Full log is

Transaction Summary
=============================================================================================================================================================================================================
Install  2 Packages
Upgrade  6 Packages

Total download size: 140 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): augeas-1.12.0-5.el8.x86_64.rpm                                                                                                                                         53 kB/s |  56 kB     00:01    
(2/8): augeas-libs-1.12.0-5.el8.x86_64.rpm                                                                                                                                   384 kB/s | 436 kB     00:01    
(3/8): rudder-server-root-6.2.3.rc1.git202103080158-1.EL.8.noarch.rpm                                                                                                         44 kB/s |  10 kB     00:00    
(4/8): rudder-reports-6.2.3.rc1.git202103080158-1.EL.8.noarch.rpm                                                                                                             11 kB/s |  15 kB     00:01    
(5/8): rudder-api-client-6.2.3.rc1.git202103080158-1.EL.8.x86_64.rpm                                                                                                          96 kB/s |  15 kB     00:00    
(6/8): rudder-server-relay-6.2.3.rc1.git202103080158-1.EL.8.x86_64.rpm                                                                                                       8.1 MB/s | 2.4 MB     00:00    
(7/8): rudder-agent-6.2.3.rc1.git202103080158-1.EL.8.x86_64.rpm                                                                                                              2.2 MB/s | 4.1 MB     00:01    
(8/8): rudder-webapp-6.2.3.rc1.git202103080158-1.EL.8.x86_64.rpm                                                                                                             8.6 MB/s | 133 MB     00:15    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                        7.7 MB/s | 140 MB     00:18     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: rudder-webapp-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                    1/1 
  Running scriptlet: rudder-server-root-1398866025:6.2.3.rc1.git202103080158-1.EL.8.noarch                                                                                                               1/1 
  Preparing        :                                                                                                                                                                                     1/1 
  Running scriptlet: rudder-reports-1398866025:6.2.3.rc1.git202103080158-1.EL.8.noarch                                                                                                                   1/1 
  Upgrading        : rudder-reports-1398866025:6.2.3.rc1.git202103080158-1.EL.8.noarch                                                                                                                  1/14 
  Running scriptlet: rudder-reports-1398866025:6.2.3.rc1.git202103080158-1.EL.8.noarch                                                                                                                  1/14 
INFO: Setting PostgreSQL as a boot service... Done
INFO: Waiting for PostgreSQL to be up... Done

  Installing       : augeas-libs-1.12.0-5.el8.x86_64                                                                                                                                                    2/14 
  Running scriptlet: augeas-libs-1.12.0-5.el8.x86_64                                                                                                                                                    2/14 
  Installing       : augeas-1.12.0-5.el8.x86_64                                                                                                                                                         3/14 
  Running scriptlet: rudder-agent-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                    4/14 
  Upgrading        : rudder-agent-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                    4/14 
  Running scriptlet: rudder-agent-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                    4/14 
INFO: Scheduling an inventory during next run...
INFO: No disable file detected and no agent executor process either. Restarting agent service... Done
FINISH: Rudder agent check ran properly, please look at messages above to see if there has been any error.

  Upgrading        : rudder-server-relay-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                             5/14 
  Running scriptlet: rudder-server-relay-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                             5/14 
INFO: Setting Apache httpd as a boot service... Done
INFO: Creating users ... Done
INFO: Configuring systemd services... Done
INFO: Starting services... Done
INFO: rudder-server-relay setup complete.

  Running scriptlet: rudder-webapp-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                   6/14 
Redirecting to /bin/systemctl stop rudder-jetty.service

  Upgrading        : rudder-webapp-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                   6/14 
  Running scriptlet: rudder-webapp-1398866025:6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                   6/14 

warning: /opt/rudder/etc/openldap/slapd.conf created as /opt/rudder/etc/openldap/slapd.conf.rpmnew
warning: /opt/rudder/etc/rudder-web.properties created as /opt/rudder/etc/rudder-web.properties.rpmnew
INFO: Creating groups ... Done
INFO: Creating users ... Done
INFO: Removing ncf-api-venv user and group ... Done
INFO: Setting up systemd ...INFO: Restarting rudder-slapd...Redirecting to /bin/systemctl status rudder-slapd.service
 Done
INFO: Launching script to check if a migration is needed ...
Done
INFO: Re-generate rudder-lang libraries ...
Done
INFO: Make sure Rudder webapp is started... Done
INFO: Make sure Apache HTTPd is started... Done
INFO: Applying selinux policy... Done

  Running scriptlet: rudder-server-root-1398866025:6.2.3.rc1.git202103080158-1.EL.8.noarch                                                                                                              7/14 
  Upgrading        : rudder-server-root-1398866025:6.2.3.rc1.git202103080158-1.EL.8.noarch                                                                                                              7/14 
  Running scriptlet: rudder-server-root-1398866025:6.2.3.rc1.git202103080158-1.EL.8.noarch                                                                                                              7/14 
  Upgrading        : rudder-api-client-6.2.3.rc1.git202103080158-1.EL.8.x86_64                                                                                                                          8/14 
  Cleanup          : rudder-server-root-1398866025:6.1.10.rc1.git202103041236-1.EL.8.noarch                                                                                                             9/14 
  Running scriptlet: rudder-server-root-1398866025:6.1.10.rc1.git202103041236-1.EL.8.noarch                                                                                                             9/14 
  Running scriptlet: rudder-webapp-1398866025:6.1.10.rc1.git202103041236-1.EL.8.x86_64                                                                                                                 10/14 
  Cleanup          : rudder-webapp-1398866025:6.1.10.rc1.git202103041236-1.EL.8.x86_64                                                                                                                 10/14 
  Running scriptlet: rudder-webapp-1398866025:6.1.10.rc1.git202103041236-1.EL.8.x86_64                                                                                                                 10/14 
  Running scriptlet: rudder-server-relay-1398866025:6.1.10.rc1.git202103041236-1.EL.8.x86_64                                                                                                           11/14 
  Cleanup          : rudder-server-relay-1398866025:6.1.10.rc1.git202103041236-1.EL.8.x86_64                                                                                                           11/14 
  Running scriptlet: rudder-server-relay-1398866025:6.1.10.rc1.git202103041236-1.EL.8.x86_64                                                                                                           11/14 
  Running scriptlet: rudder-agent-1398866025:6.1.10.rc1.git202103041236-1.EL.8.x86_64                                                                                                                  12/14 
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
INFO: A back up copy of the /opt/rudder/etc/ssl/agent.cert has been created in /var/backups/rudder

file /var/log/rudder/install/rudder-webapp-20210308055856.log contains it though

Mon Mar  8 05:58:56 UTC 2021 - Starting rudder-webapp post installation script
INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK,  SQL OK
Adding LDAP index on attribute: software
Adding LDAP index on attribute: modifyTimestamp
Reindexing LDAP directory - this may take a few minutes... Done
INFO: A Technique library reload is needed and has been scheduled.
INFO: A Technique library reload is needed and has been scheduled.
Overriding existing techniques
INFO: Correcting permissions on /var/rudder/configuration-repository... Done
Techniques have been updated, and update branch set to current state of the Techniques
INFO: Checking PostgreSQL service status... OK
INFO: Checking LDAP service status... OK
Plugins were not updated, because connection test is failing, please upgrade your plugins manually

INFO: The migration has completed successfully.
INFO: Correcting permissions on /var/rudder/configuration-repository... Done
Mon Mar  8 06:00:25 UTC 2021 - Ending rudder-webapp post installation script

Actions

Also available in: Atom PDF