Project

General

Profile

Actions

Bug #20098

closed

Rudder patch upgrade fails on plugin upgrade

Added by Félix DALLIDET about 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
Plugins integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
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 #1

Updated by Félix DALLIDET about 1 year ago

  • Related to Bug #19868: Rudder package should accept plugins with same minor version, not just patch version added
Actions #2

Updated by Félix DALLIDET about 1 year ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #3

Updated by Félix DALLIDET about 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2535
Actions #4

Updated by Félix DALLIDET about 1 year ago

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

Updated by Vincent MEMBRÉ about 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~beta2 which was released today.

Actions

Also available in: Atom PDF