Project

General

Profile

Actions

Bug #22689

closed

silent rudder-upgrade failure / plugins were not upgraded when upgrading from 7.2.5 to 7.3.1~nightly

Added by Nicolas CHARLES about 1 year ago. Updated 12 months ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

On Almalinux 8

install log says

mer. avril 26 10:09:56 CEST 2023 - Starting rudder-server post installation script
mer. avril 26 10:09:56 CEST 2023 - Starting rudder-reports post installation step
Found postgres service name: postgresql
mer. avril 26 10:09:57 CEST 2023 - Ending rudder-reports post installation step
mer. avril 26 10:09:57 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 Credentials updated
M       directives/Demo/install_cchoco_module_for_windows__copy_/activeTechniqueSettings.xml
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
Unstaged changes after reset:
M       directives/Demo/install_cchoco_module_for_windows__copy_/activeTechniqueSettings.xml
Techniques have been updated, and update branch set to current state of the Techniques
INFO: Upgrading PostgreSQL DB............ FAILED
PostgreSQL service verification failed after 10 tries.
 ERROR
INFO: Upgrading LDAP DB... OK
Updating package index
Updating licences
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-reporting.
No newer release compatible versions than 7.2.5-2.10 found for the plugin rudder-plugin-cve.
No newer release compatible versions than 6.2-1.2 found for the plugin rudder-plugin-cis-redhat7.
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-change-validation.
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-scale-out-relay.
No newer release compatible versions than 7.2.5-2.2 found for the plugin rudder-plugin-notify.
No newer release compatible versions than 7.2.5-2.2 found for the plugin rudder-plugin-dsc.
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-centreon.
No newer release compatible versions than 7.2.4-2.1 found for the plugin rudder-plugin-openscap.
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-branding.
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-api-authorizations.
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-vault.
No newer release compatible versions than 7.2.5-2.6 found for the plugin rudder-plugin-auth-backends.
No newer release compatible versions than 7.2.5-2.1 found for the plugin rudder-plugin-zabbix.
No newer release compatible versions than 7.2.5-2.2 found for the plugin rudder-plugin-datasources.
No newer release compatible versions than 7.2.5-2.2 found for the plugin rudder-plugin-user-management.
No newer release compatible versions than 7.2.5-1.12 found for the plugin rudder-plugin-system-updates.
enable /opt/rudder/share/plugins/reporting/reporting.jar
enable /opt/rudder/share/plugins/cve/cve.jar
enable /opt/rudder/share/plugins/change-validation/change-validation.jar
enable /opt/rudder/share/plugins/scale-out-relay/scale-out-relay.jar
enable /opt/rudder/share/plugins/dsc/dsc.jar
enable /opt/rudder/share/plugins/openscap/openscap/openscap.jar
enable /opt/rudder/share/plugins/branding/branding.jar
enable /opt/rudder/share/plugins/api-authorizations/api-authorizations.jar
enable /opt/rudder/share/plugins/auth-backends/auth-backends.jar
enable /opt/rudder/share/plugins/datasources/datasources.jar
enable /opt/rudder/share/plugins/user-management/user-management.jar
enable /opt/rudder/share/plugins/system-updates/system-updates.jar
Plugin rudder-plugin-reporting is not compatible with rudder anymore, disabling it.
Please install a new version of rudder-plugin-reporting to enable it again.
Plugin rudder-plugin-cve is not compatible with rudder anymore, disabling it.
Please install a new version of rudder-plugin-cve to enable it again.

Plugin rudder-plugin-cis-redhat7 is not compatible with rudder anymore, disabling it.
Please install a new version of rudder-plugin-cis-redhat7 to enable it again.

Plugin rudder-plugin-change-validation is not compatible with rudder anymore, disabling it.
Please install a new version of rudder-plugin-change-validation to enable it again.

Plugin rudder-plugin-scale-out-relay is not compatible with rudder anymore, disabling it.
Please install a new version of rudder-plugin-scale-out-relay to enable it again.

Plugin rudder-plugin-notify is not compatible with rudder anymore, disabling it.
Please install a new version of rudder-plugin-notify to enable it again.

(snip)

Plugin rudder-plugin-system-updates is not compatible with rudder anymore, disabling it.
Please install a new version of rudder-plugin-system-updates to enable it again.

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
mer. avril 26 10:16:28 CEST 2023 - Ending rudder-webapp post installation step
mer. avril 26 10:16:29 CEST 2023 - Ending rudder-server post installation script

nothing says in the console output that rudder-upgrade failed


Subtasks 1 (0 open1 closed)

Bug #22740: Password is reset at all updates / check to init db is wrongReleasedFélix DALLIDETActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #22780: install fails on redhat, because postgres is not initializedReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF