Project

General

Profile

Actions

Bug #24049

closed

Rudder package stop at the first malformed plugin in the index

Added by Félix DALLIDET 10 months ago. Updated 8 months ago.

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

Description

If a plugin is malformed and listed in the index, the index will never be parsed and most of the CLI commands will be unusable until the repository is fixed.
This is troublesome for the user, a malformed plugin should be ignored in the index, but it should not prevent the readability of the others correct listed ones.

Also, the rudder package list should not parse the index by default.

root@server:~# rudder package -d list
DEBUG rudder_package: Parsed CLI arguments: Args { config: "/opt/rudder/etc/rudder-pkg/rudder-pkg.conf", debug: true, command: List { all: false, enabled: false, format: Human } }
DEBUG rudder_package: Parsed configuration: Configuration { url: "https://download.rudder.io/plugins", credentials: Some(Credentials { username: "demo-normation", password: [REDACTED String] }), proxy: None }
DEBUG rudder_package::versions: Rudder version read from '/opt/rudder/share/versions/rudder-server-version' file: '8.1.0~alpha2~git202401220219'.
DEBUG rudder_package::database: No database yet, using an empty one
ERROR rudder_package: Unparsable Rudder version mode '.alpha2' at line 33 column 1

Actions #1

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 8.1.0~beta1 to 8.1.0~beta2
Actions #2

Updated by Alexis Mousset 8 months ago

  • Status changed from New to Resolved

This has been fixed.

Actions

Also available in: Atom PDF