Actions
Bug #23480
closedsilent error when upgrading Rudder 8.0-nightly to 8.0-nightly on sles15sp4
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
rudder-server-20230922135630.log log says
Fri Sep 22 13:56:30 CEST 2023 - Starting rudder-server post installation script Fri Sep 22 13:56:30 CEST 2023 - Starting rudder-reports post installation step Fri Sep 22 13:56:30 CEST 2023 - Starting local database management Found postgres service name: postgresql Editing PG_HBA file /var/lib/pgsql/data/pg_hba.conf Fri Sep 22 13:56:31 CEST 2023 - Ending rudder-reports post installation step Fri Sep 22 13:56:31 CEST 2023 - Starting rudder-webapp post installation step Creating rudder users Stopping apache before running upgrade scripts Managing services Initializing filesystem Configuring LDAP Running upgrade script INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK, SQL OK INFO: A Technique library reload is needed and has been scheduled. 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: Upgrading PostgreSQL DB... OK INFO: Upgrading LDAP DB............ FAILED LDAP service verification failed after 10 tries. ERROR Updating package index Updating licences No newer release compatible versions than 8.0.0~beta1-2.1 found for the plugin rudder-plugin-scale-out-relay. enable /opt/rudder/share/plugins/scale-out-relay/scale-out-relay.jar Restarting rudder-jetty ERROR: The migration has failed in some steps. Check previous error messages. Please restart the failed service(s), and start the migration script again. (try service rudder-server restart) Once it is working, run: # /opt/rudder/bin/rudder-upgrade INFO: Correcting permissions on /var/rudder/configuration-repository... Done Running plugins upgrade scripts Restoring file ACLs Fri Sep 22 13:58:13 CEST 2023 - Ending rudder-webapp post installation step Fri Sep 22 13:58:13 CEST 2023 - Ending rudder-server post installation script
output says
Checking for file conflicts: ...............................................................................................................................................[done] (1/4) Installing: rudder-api-client-8.0.0.beta3.git202309220212-1.SLES.15.x86_64 ...........................................................................................[done] (2/4) Installing: rudder-agent-1398866025:8.0.0.beta3.git202309220212-1.SLES.15.x86_64 .....................................................................................[done] "rewrite" already present (3/4) Installing: rudder-relay-8.0.0.beta3.git202309220212-1.SLES.15.x86_64 ................................................................................................[done] warning: /opt/rudder/etc/rudder-web.properties created as /opt/rudder/etc/rudder-web.properties.rpmnew "rewrite" already present Already on 'master' (4/4) Installing: rudder-server-8.0.0.beta3.git202309220212-1.SLES.15.x86_64 ...............................................................................................[done] Executing %posttrans scripts ...............................................................................................................................................[done] There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
Updated by Nicolas CHARLES about 1 year ago
journald says
Sep 22 13:56:21 server [RPM][32084]: erase rudder-relay-0:8.0.0.beta2.git202309130212-1.SLES.15.x86_64: success Sep 22 13:56:21 server [RPM][32084]: install rudder-relay-0:8.0.0.beta3.git202309220212-1.SLES.15.x86_64: success Sep 22 13:56:21 server [RPM][32084]: Transaction ID 650d80e3 finished: 0 Sep 22 13:56:22 server [RPM][32266]: Transaction ID 650d80e6 started Sep 22 13:56:22 server [RPM][32266]: install rudder-server-0:8.0.0.beta3.git202309220212-1.SLES.15.x86_64: success Sep 22 13:56:22 server [RPM][32266]: erase rudder-server-0:8.0.0.beta2.git202309130212-1.SLES.15.x86_64: success Sep 22 13:56:23 server rudder-jetty.sh[32132]: Stopping Jetty: OK Sep 22 13:56:24 server systemd[1]: rudder-jetty.service: Deactivated successfully. Sep 22 13:56:24 server systemd[1]: Stopped Jetty Web Application Server. Sep 22 13:56:24 server systemd[1]: Stopping Rudder OpenLDAP Server Daemon... Sep 22 13:56:24 server rudder-slapd[23528]: daemon: shutdown requested and initiated. Sep 22 13:56:24 server rudder-slapd[23528]: slapd shutdown: waiting for 0 operations/tasks to finish Sep 22 13:56:24 server rudder-slapd[23528]: slapd stopped. Sep 22 13:56:24 server systemd[1]: rudder-slapd.service: Deactivated successfully. Sep 22 13:56:24 server systemd[1]: Stopped Rudder OpenLDAP Server Daemon. Sep 22 13:56:31 server su[32344]: (to postgres) root on none
and then
Sep 22 13:56:31 server systemd[1]: Stopping The Apache Webserver... Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.725672 2023] [so:warn] [pid 32392] AH01574: module ssl_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.726530 2023] [so:warn] [pid 32392] AH01574: module rewrite_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.726659 2023] [so:warn] [pid 32392] AH01574: module dav_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.726790 2023] [so:warn] [pid 32392] AH01574: module dav_fs_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.726897 2023] [so:warn] [pid 32392] AH01574: module proxy_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.727040 2023] [so:warn] [pid 32392] AH01574: module proxy_http_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.727113 2023] [so:warn] [pid 32392] AH01574: module ssl_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: [Fri Sep 22 13:56:31.727121 2023] [so:warn] [pid 32392] AH01574: module version_module is already loaded, skipping Sep 22 13:56:31 server start_apache2[32392]: AH00112: Warning: DocumentRoot [/var/www] does not exist Sep 22 13:56:31 server systemd[1]: apache2.service: Deactivated successfully. Sep 22 13:56:31 server systemd[1]: Stopped The Apache Webserver. Sep 22 13:56:31 server systemd[1]: Reloading. Sep 22 13:56:32 server systemd[1]: Reloading. Sep 22 13:56:32 server systemd[1]: Reloading. Sep 22 13:56:33 server systemd[1]: Reloading. Sep 22 13:56:35 server ldapsearch[371]: looking for plugins in '/usr/lib64/sasl2 Sep 22 13:56:37 server ldapsearch[599]: looking for plugins in '/usr/lib64/sasl2 Sep 22 13:56:38 server CRON[30611]: (root) CMDEND (/opt/rudder/bin/rudder agent check -q >> /var/log/rudder/agent-check/check.log 2>&1)
Sep 22 13:56:53 server ldapsearch[819]: looking for plugins in '/usr/lib64/sasl2 Sep 22 13:56:56 server systemd[1]: Starting Rudder OpenLDAP Server Daemon... Sep 22 13:56:56 server rudder-slapd[866]: @(#) $OpenLDAP: slapd 2.6.6 (Sep 19 2023 03:15:47) $ root@sles-builder-15-sp2-64:/usr/src/rudder-packages/package/SOURCES/openldap-source/servers/slapd Sep 22 13:56:56 server rudder-slapd[867]: slapd starting Sep 22 13:56:56 server systemd[1]: Started Rudder OpenLDAP Server Daemon. Sep 22 13:56:56 server systemd[1]: Starting Jetty Web Application Server... Sep 22 13:56:57 server rudder-jetty.sh[868]: Starting Jetty: Setting umask to 0007
Updated by Nicolas CHARLES about 1 year ago
- Target version changed from 8.0.0~beta3 to 7.3.8
the issue is probably on previous version as well, as the code didn't change, and would explain some silent errors
Updated by Nicolas CHARLES about 1 year ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES about 1 year ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2816
Updated by Nicolas CHARLES about 1 year ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|a0c8acd1c9a270ca327010f40943c083c377c18e.
Updated by Alexis Mousset about 1 year ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ about 1 year ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.3.8 and 8.0.1 which were released today.
Actions