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 12 months ago. Updated 11 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 #1

Updated by Nicolas CHARLES 12 months ago

  • Description updated (diff)
Actions #2

Updated by Nicolas CHARLES 12 months ago

  • Subject changed from plugins were not upgraded when upgrading from 7.2.5 to 7.3.1~nightly to silent rudder-upgrade failure / plugins were not upgraded when upgrading from 7.2.5 to 7.3.1~nightly
  • Description updated (diff)
Actions #3

Updated by Nicolas CHARLES 12 months ago

Postgresql password was modified by rudder-upgrade "SQL Credentials updated"; agent changed the password in relayd/main.conf (i have a modified file for it), in /root/.pgpass, but not in rudder-web.properties nor in rudder-passwords.conf

Actions #4

Updated by Benoît PECCATTE 12 months ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #5

Updated by Benoît PECCATTE 12 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2722
Actions #6

Updated by Benoît PECCATTE 12 months ago

  • Pull Request changed from https://github.com/Normation/rudder-packages/pull/2722 to https://github.com/Normation/rudder-packages/pull/2723
Actions #7

Updated by Benoît PECCATTE 12 months ago

  • Target version changed from 7.3.1 to 7.2.6
Actions #8

Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #9

Updated by Benoît PECCATTE 12 months ago

  • Status changed from Pending technical review to Pending release
Actions #10

Updated by Vincent MEMBRÉ 12 months ago

  • Subtask #22740 added
Actions #11

Updated by Vincent MEMBRÉ 11 months ago

  • Fix check changed from To do to Checked
Actions #12

Updated by Vincent MEMBRÉ 11 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.2.7 and 7.3.2 which were released today.

Actions #13

Updated by Vincent MEMBRÉ 11 months ago

  • Related to Bug #22780: install fails on redhat, because postgres is not initialized added
Actions

Also available in: Atom PDF