Project

General

Profile

Actions

Bug #13785

closed

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

Added by Benoît PECCATTE about 6 years ago. Updated about 6 years ago.

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

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'

Actions #1

Updated by Benoît PECCATTE about 6 years ago

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

Updated by Benoît PECCATTE about 6 years 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
Actions #3

Updated by Benoît PECCATTE about 6 years ago

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

Updated by Vincent MEMBRÉ about 6 years 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
Actions #5

Updated by Vincent MEMBRÉ about 6 years 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
Actions

Also available in: Atom PDF