Project

General

Profile

Bug #13785

"rudder-pkg enable-all" command fails when a plugin has no jar

Added by Benoît PECCATTE about 1 month ago. Updated 17 days ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

sudo /opt/rudder/bin/rudder-pkg plugin enable-all
Enabling rudder-plugin-glpi
Traceback (most recent call last):
File "/opt/rudder/bin/rudder-pkg", line 404, in <module>
plugin_enable_all()
File "/opt/rudder/bin/rudder-pkg", line 365, in plugin_enable_all
plugin_status(DB["plugins"].keys(), True)
File "/opt/rudder/bin/rudder-pkg", line 376, in plugin_status
for j in metadata['jar-files']:
KeyError: 'jar-files'

Associated revisions

Revision fd95d3b0 (diff)
Added by Benoît PECCATTE about 1 month ago

Fixes #13785: rudder-pkg enable-all fails when a plugin has no jar

History

#1 Updated by Benoît PECCATTE about 1 month ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE

#2 Updated by Benoît PECCATTE about 1 month ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1708

#3 Updated by Benoît PECCATTE about 1 month ago

  • Status changed from Pending technical review to Pending release

#4 Updated by Vincent MEMBRÉ 17 days ago

  • Subject changed from rudder-pkg enable-all fails when a plugin has no jar to "rudder-pkg enable-all" command fails when a plugin has no jar

#5 Updated by Vincent MEMBRÉ 17 days ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.17, 4.3.7 and 5.0.3 which were released today.
Changelog
Changelog
Changelog

Also available in: Atom PDF