Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin manager does not remove integration plugin overlaps when installing from offline packs #16219

Open
edmocosta opened this issue Jun 13, 2024 · 0 comments

Comments

@edmocosta
Copy link
Contributor

Logstash information:

Please include the following information:

  1. Logstash version: 8.14.0
  2. Logstash installation source: zip archive
  3. How is Logstash being run: Via command line

JVM (e.g. java -version): bundled

Description of the problem including expected versus actual behavior:

The plugin manager is not removing integration plugin overlaps when installing it from an offline plugin packs.
The installation process works, but Logstash ends up with duplicate plugins names, loading them by chance and causing troubles.

Steps to reproduce:

Example of SNMP integration plugin, please note that logstash-input-snmp and logstash-input-snmptrap are embedded within this Logstash version:

# bin/logstash-plugin list --verbose | grep snmp

logstash-input-snmp (1.3.3)
logstash-input-snmptrap (3.1.0)

In another Logstash copy, install and generate an offline plugin pack (bin/logstash-plugin prepare-offline-pack logstash-integration-snmp)

In the offline Logstash:

bin/logstash-plugin install file:///logstash-offline-plugins-8.11.4.zip

Check the snmp installed plugins:

# bin/logstash-plugin list --verbose | grep snmp

logstash-input-snmp (1.3.3)
logstash-input-snmptrap (3.1.0)
logstash-integration-snmp (4.0.3)
 ├── logstash-input-snmp
 └── logstash-input-snmptrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants