Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Marathon Vault Plugin not loading #21

Open
clogiudice opened this issue Aug 9, 2017 · 7 comments
Open

Marathon Vault Plugin not loading #21

clogiudice opened this issue Aug 9, 2017 · 7 comments

Comments

@clogiudice
Copy link

Hi, I built the Marathon Vault Plugin jar based on blackgolds src:

https://github.com/blackgold/marathon-vault-plugin

I have secrets enabled in Marathon, plugin_conf, plugin_dir set up and Marathon is trying to load the plugin and as far as I can tell everything should work but I get a WrongConfigurationError: Plugin not found.

Any advice on what could be wrong? I've been chasing this for a week now.

Log snippet below and plugin jar is attached 0 - thanks for any help :)

Chris


Aug 7 00:00:01 dmm-test marathon[31105]: [2017-08-07 00:00:01,326] INFO Loading plugins implementing 'mesosphere.marathon.plugin.task.RunSpecTaskProcessor' from these urls: [file:/etc/marathon/plugins/plugin-interface_2.11-0.13.0.jar, file:/etc/marathon/plugins/plugins-assembly-0.1-SNAPSHOT.jar] (mesosphere.marathon.core.plugin.impl.PluginManagerImpl:marathon-akka.actor.default-dispatcher-33862)
Aug 7 00:00:01 dmm-test mesos-master[24784]: I0807 00:00:01.327442 24798 master.cpp:3300] Processing SUPPRESS call for framework f91bc544-34c0-4613-a002-b4e25a7ba847-0000 (marathon) at [email protected]:40228
Aug 7 00:00:01 dmm-test mesos-master[24784]: I0807 00:00:01.327517 24798 hierarchical.cpp:1215] Suppressed offers for roles { * } of framework f91bc544-34c0-4613-a002-b4e25a7ba847-0000
Aug 7 00:00:01 dmm-test marathon[31105]: [2017-08-07 00:00:01,328] ERROR Plugin not found: PluginDefinition(envVarExtender,mesosphere.marathon.plugin.task.RunSpecTaskProcessor,mesosphere.marathon.vault.plugin.env.EnvVaultPlugin,None,Some({"env":{"token":"someToken","address":"http://127.0.0.1:8200/"}}),None) (akka.actor.OneForOneStrategy:marathon-akka.actor.default-dispatcher-33834)
Aug 7 00:00:01 dmm-test marathon[31105]: mesosphere.marathon.WrongConfigurationException: Plugin not found: PluginDefinition(envVarExtender,mesosphere.marathon.plugin.task.RunSpecTaskProcessor,mesosphere.marathon.vault.plugin.env.EnvVaultPlugin,None,Some({"env":{"token":"someToken","address":"http://127.0.0.1:8200/"}}),None)

plugins-assembly-0.1-SNAPSHOT.jar.zip

plugin-conf.json.txt

@kisom
Copy link

kisom commented Aug 28, 2017

I am also running into this.

@oschrenk
Copy link

I see that https://github.com/blackgold/marathon-vault-plugin/blob/master/env/src/main/resources/META-INF/services/mesosphere.marathon.vault.plugin.task.RunSpecTaskProcessor is pointing to mesosphere.marathon.example.plugin.task.EnvVarExtendedPlugin while the fully qualified name is actually mesosphere.marathon.vault.plugin.env. EnvVaultPlugin. Shouldn't that match up?

@kohend
Copy link

kohend commented Nov 22, 2017

@oschrenk it should match up, in addition, the file name should not have vault in it, it's of the RunSpecTaskProcessor interface and should not be customized.

@ojle
Copy link

ojle commented Jun 18, 2019

@clogiudice @kohend did you managed to run marathon vault plugin?
I'm having similar issues

@clogiudice
Copy link
Author

clogiudice commented Jun 18, 2019 via email

@kohend
Copy link

kohend commented Jun 19, 2019

@clogiudice @kohend did you managed to run marathon vault plugin?
I'm having similar issues

I did, I explained it in my comment, the names should match and the filename should be like the original sample code.

@ojle
Copy link

ojle commented Jun 21, 2019

@clogiudice @kohend did you managed to run marathon vault plugin?
I'm having similar issues

I did, I explained it in my comment, the names should match and the filename should be like the original sample code.

@kohend
Which DC/OS and marathon version you used?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants