Project

General

Profile

Actions

Bug #25156

open

rudder-package fails to parse old plugin version numbers, breaking the upgrade

Added by Sylvain BALLARD 4 months ago. Updated 15 days ago.

Status:
Pending technical review
Priority:
N/A
Category:
Server components
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

When upgrading from 8.0 to 8.1 we get the following error:

[root@epcsilrudder01 ~]# dnf update rudder-server
Repository pgdg13 is listed more than once in the configuration
Rudder 8.1                                                                                                                                                                                                                       176 kB/s |  35 kB     00:00
Dependencies resolved.
=================================================================================================================================================================================================================================================================
 Package                                                          Architecture                                          Version                                                                  Repository                                                 Size
=================================================================================================================================================================================================================================================================
Upgrading:
 rudder-agent                                                     x86_64                                                1398866025:8.1.5-1.EL.8                                                  Rudder_8.1                                                5.2 M
 rudder-api-client                                                x86_64                                                8.1.5-1.EL.8                                                             Rudder_8.1                                                 15 k
 rudder-relay                                                     x86_64                                                8.1.5-1.EL.8                                                             Rudder_8.1                                                6.3 M
 rudder-server                                                    x86_64                                                8.1.5-1.EL.8                                                             Rudder_8.1                                                198 M

Transaction Summary
=================================================================================================================================================================================================================================================================
Upgrade  4 Packages

Total download size: 209 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): rudder-api-client-8.1.5-1.EL.8.x86_64.rpm                                                                                                                                                                                 179 kB/s |  15 kB     00:00
(2/4): rudder-agent-8.1.5-1.EL.8.x86_64.rpm                                                                                                                                                                                       21 MB/s | 5.2 MB     00:00
(3/4): rudder-relay-8.1.5-1.EL.8.x86_64.rpm                                                                                                                                                                                       19 MB/s | 6.3 MB     00:00
(4/4): rudder-server-8.1.5-1.EL.8.x86_64.rpm                                                                                                                                                                                      54 MB/s | 198 MB     00:03
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                             56 MB/s | 209 MB     00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: rudder-server-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                       1/1
  Preparing        :                                                                                                                                                                                                                                         1/1
  Running scriptlet: rudder-agent-1398866025:8.1.5-1.EL.8.x86_64                                                                                                                                                                                             1/1
  Running scriptlet: rudder-agent-1398866025:8.1.5-1.EL.8.x86_64                                                                                                                                                                                             1/8
  Upgrading        : rudder-agent-1398866025:8.1.5-1.EL.8.x86_64                                                                                                                                                                                             1/8
  Running scriptlet: rudder-agent-1398866025:8.1.5-1.EL.8.x86_64                                                                                                                                                                                             1/8
  Upgrading        : rudder-relay-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                        2/8
  Running scriptlet: rudder-relay-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                        2/8
  Upgrading        : rudder-api-client-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                   3/8
  Running scriptlet: rudder-server-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                       4/8
ERROR Unparsable Rudder version '6.0' at line 1 column 595
error: %prein(rudder-server-0:8.1.5-1.EL.8.x86_64) scriptlet failed, exit status 1

Error in PREIN scriptlet in rpm package rudder-server
  Running scriptlet: rudder-relay-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                       5/8
error: rudder-server-0:8.1.5-1.EL.8.x86_64: install failed
error: rudder-server-0:8.0.10-1.EL.8.x86_64: erase skipped

  Cleanup          : rudder-relay-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                       5/8
  Running scriptlet: rudder-relay-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                       5/8
  Running scriptlet: rudder-agent-1398866025:8.0.10-1.EL.8.x86_64                                                                                                                                                                                            6/8
  Cleanup          : rudder-agent-1398866025:8.0.10-1.EL.8.x86_64                                                                                                                                                                                            6/8
  Running scriptlet: rudder-agent-1398866025:8.0.10-1.EL.8.x86_64                                                                                                                                                                                            6/8
  Cleanup          : rudder-api-client-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                  7/8
  Running scriptlet: rudder-api-client-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                  7/8
  Verifying        : rudder-agent-1398866025:8.1.5-1.EL.8.x86_64                                                                                                                                                                                             1/8
  Verifying        : rudder-agent-1398866025:8.0.10-1.EL.8.x86_64                                                                                                                                                                                            2/8
  Verifying        : rudder-api-client-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                   3/8
  Verifying        : rudder-api-client-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                  4/8
  Verifying        : rudder-relay-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                        5/8
  Verifying        : rudder-relay-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                       6/8
  Verifying        : rudder-server-8.1.5-1.EL.8.x86_64                                                                                                                                                                                                       7/8
  Verifying        : rudder-server-8.0.10-1.EL.8.x86_64                                                                                                                                                                                                      8/8

Upgraded:
  rudder-agent-1398866025:8.1.5-1.EL.8.x86_64                                                rudder-api-client-8.1.5-1.EL.8.x86_64                                                rudder-relay-8.1.5-1.EL.8.x86_64
Failed:
  rudder-server-8.0.10-1.EL.8.x86_64                                                                                              rudder-server-8.1.5-1.EL.8.x86_64

Error: Transaction failed
Actions

Also available in: Atom PDF