Hi, what could cause pulumi to not find a custom p...
# general
l
Hi, what could cause pulumi to not find a custom plugin? For some reason using this plugin works locally but when running in a Jenkins pipeline, it gives the following error
Copy code
stderr: error: failed to load plugin /home/facilitator/.pulumi/plugins/resource-nativepsql-v0.0.0/pulumi-resource-nativepsql: plugin not found
We have explicitly added the install of the plugin (we also do this using the Automation API) so we see that the necessary files are there in the
~/.pulumi
folder
l
Is the version correct? I find v0.0.0 a little strange.
l
yeah, it is correct but I agree it's weird 🙂 We are still building out stuff
but I probably have found the issue. The provider/plugin is used in an Alpine container but not build in one.
so the static linking is probably the issue
(it's written in Go)
l
So you say that some pieces are not statically linked?
l
well, or we build with
CGO_ENABLED=0
or we install the glibc packages in the Alpine container. I'm currently testing the first
thing is that the error message is
Not found
when you try to execute the binary so that kind of sets you on the wrong path when troubleshooting
l
l
pulumi-acme is some kind of template/example?
l
No, it is the LetsEncrypt provider. But the workflows and build files are generated by https://github.com/pulumi/ci-mgmt/ which is the system used by our internal providers team to manage all the providers officially maintained by Pulumi team.