Project

General

Profile

Actions

Bug #18735

closed

No newer release compatible versions found for the plugin rudder-plugin-scale-out-relay, disabling it

Added by François ARMAND almost 4 years ago. Updated almost 4 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

During an updagrade from Rudder 6.1 to 6.2 in centos8, I had scale-out plugin installed in version 6.1-1.4, but it was not migrated with the following messages:

********************************************************************************
Due to incompatibility reasons for this specific version all plugins have been
disabled. Make sure to update your repo index and install the latest version of
your plugins before re-enabling them.
You can use the following commands to upgrade your plugins:
rudder package update
rudder package upgrade-all
********************************************************************************

Installing the plugin with rudder package installed scale-out-relay worked and installed plugin version 6.2-1.0.

While looking to log /var/log/rudder/install/rudder-webapp.xxx.log I saw:

Thu Dec  3 11:27:56 UTC 2020 - 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
downloading https://download.rudder.io/plugins/licenses/demo-normation/branding.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/change-validation.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/create-node-api.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/auth-backends.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/node-external-reports.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/aix.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/user-management.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/cve.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/datasources.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/dsc.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/reporting.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/license.key
downloading https://download.rudder.io/plugins/licenses/demo-normation/scale-out-relay.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/solaris.license
downloading https://download.rudder.io/plugins/licenses/demo-normation/api-authorizations.license
No newer release compatible versions found for the plugin rudder-plugin-scale-out-relay, disabling it.
INFO: The migration has completed successfully.
INFO: Correcting permissions on /var/rudder/configuration-repository... Done
Thu Dec  3 11:28:40 UTC 2020 - Ending rudder-webapp post installation script

Subtasks 4 (0 open4 closed)

Bug #18737: Pass version parameter to "rudder package upgrade-all" command in upgradeReleasedFrançois ARMANDActions
Bug #18740: rudder package now detect new version, but still install old package during upgrade on CentOSReleasedFrançois ARMANDActions
Bug #18743: packages is now detected but upgrade fails because it checks again .......ReleasedAlexis MoussetActions
Bug #18745: check compatibility also needs the version as parameterReleasedAlexis MoussetActions
Actions #1

Updated by François ARMAND almost 4 years ago

It happens because:

- we check plugin version with rudder agent version
- that command uses the rudder-agent package version
- in centos8, when we upgrade rudder-webapp package, rudder-agent package is still in 6.1.x

=> we need to use rudder-webapp package version (we must have it somewhere, it's in the package - at worst, we set it when the package is built) and not the one provided by rudder agent version

Actions #2

Updated by Vincent MEMBRÉ almost 4 years ago

  • Status changed from New to In progress
  • Assignee changed from François ARMAND to Vincent MEMBRÉ
Actions #3

Updated by Vincent MEMBRÉ almost 4 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/3437
Actions #4

Updated by François ARMAND almost 4 years ago

  • Priority changed from N/A to 1 (highest)
Actions #5

Updated by Vincent MEMBRÉ almost 4 years ago

  • Status changed from In progress to Pending technical review
Actions #6

Updated by Vincent MEMBRÉ almost 4 years ago

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

Updated by Vincent MEMBRÉ almost 4 years ago

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

Updated by Vincent MEMBRÉ almost 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.2.0 which was released today.

Actions

Also available in: Atom PDF