Project

General

Profile

Actions

Bug #20098

closed

Rudder patch upgrade fails on plugin upgrade

Added by Félix DALLIDET about 3 years ago. Updated about 3 years ago.

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

Description

We removed the "--version" option from the parser, but not from the implementation nor the calling scripts.
It leads to errors like:

Unpacking rudder-webapp (7.0.0~beta2~git202110070224-debian11) over (7.0.0~beta2~git202109210226-debian11) ...
Preparing to unpack .../3-tzdata_2021a-1+deb11u1_all.deb ...
Unpacking tzdata (2021a-1+deb11u1) over (2021a-1) ...
Preparing to unpack .../4-rudder-agent_7.0.0~beta2~git202110070224-debian11_amd64.deb ...
INFO: A backup copy of Rudder agent credentials and id has been done in /var/backups/rudder
Unpacking rudder-agent (7.0.0~beta2~git202110070224-debian11) over (7.0.0~beta2~git202109210226-debian11) ...
Preparing to unpack .../5-rudder-server-relay_7.0.0~beta2~git202110070224-debian11_amd64.deb ...
Unpacking rudder-server-relay (7.0.0~beta2~git202110070224-debian11) over (7.0.0~beta2~git202109210226-debian11) ...
Preparing to unpack .../6-rudder-server-root_7.0.0~beta2~git202110070224-debian11_all.deb ...
Unpacking rudder-server-root (7.0.0~beta2~git202110070224-debian11) over (7.0.0~beta2~git202109210226-debian11) ...
Setting up rudder-reports (7.0.0~beta2~git202110070224-debian11) ...
Setting up tzdata (2021a-1+deb11u1) ...

Current default time zone: 'Etc/UTC'
Local time is now:      Fri Oct  8 14:46:31 UTC 2021.
Universal Time is now:  Fri Oct  8 14:46:31 UTC 2021.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up rudder-agent (7.0.0~beta2~git202110070224-debian11) ...
Setting up rudder-api-client (7.0.0~beta2~git202110070224-debian11) ...
Setting up rudder-server-relay (7.0.0~beta2~git202110070224-debian11) ...
Setting up rudder-webapp (7.0.0~beta2~git202110070224-debian11) ...
Usage:
    rudder package [--debug] install-file <package.rpkg>...
    rudder package [--debug] install <package> [--exact-version][--nightly] [--quiet]
    rudder package [--debug] upgrade-all [--nightly] [--quiet]
    rudder package [--debug] show <package> [--exact-version] [--nightly]
    rudder package [--debug] remove <package>...
    rudder package [--debug] search <package>...
    rudder package [--debug] list [--all]
    rudder package [--debug] update [--quiet]
    rudder package [--debug] licenses [--quiet]
    rudder package [--debug] check-connection
    rudder package [--debug] rudder-postupgrade
    rudder package [--debug] check-compatibility [--exact-version]
    rudder package [--debug] plugin save-status
    rudder package [--debug] plugin restore-status
    rudder package [--debug] plugin enable <plugin>...
    rudder package [--debug] plugin enable-all
    rudder package [--debug] plugin disable <plugin>...
    rudder package [--debug] plugin disable-all
Usage:
    rudder package [--debug] install-file <package.rpkg>...
    rudder package [--debug] install <package> [--exact-version][--nightly] [--quiet]
    rudder package [--debug] upgrade-all [--nightly] [--quiet]
    rudder package [--debug] show <package> [--exact-version] [--nightly]
    rudder package [--debug] remove <package>...
    rudder package [--debug] search <package>...
    rudder package [--debug] list [--all]
    rudder package [--debug] update [--quiet]
    rudder package [--debug] licenses [--quiet]
    rudder package [--debug] check-connection
    rudder package [--debug] rudder-postupgrade
    rudder package [--debug] check-compatibility [--exact-version]
    rudder package [--debug] plugin save-status
    rudder package [--debug] plugin restore-status
    rudder package [--debug] plugin enable <plugin>...
    rudder package [--debug] plugin enable-all
    rudder package [--debug] plugin disable <plugin>...
    rudder package [--debug] plugin disable-all
Setting up rudder-server-root (7.0.0~beta2~git202110070224-debian11) ...


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #19868: Rudder package should accept plugins with same minor version, not just patch versionReleasedFrançois ARMANDActions
Actions

Also available in: Atom PDF