27 Apr 2023 09:39 PM - last edited on 11 May 2023 02:42 PM by Michal_Gebacki
I have created my first extension2.0 to scrape a Prometheus OpenMetrics endpoint but before I can reap the rewards of my labour it looks like I'm getting stuck near the very end.
ActiveGate 1.263.143 is deployed onto a Linux host.
The extension never gets pushed to the ActiveGate, even hours after being submitted.
Failed to assign monitoring configuration to ActiveGate. Reason: Extension custom:ome.extension(0.0.1) not available in cache yet (queued for download)
Failed to assign monitoring configuration to ActiveGate. Reason: Cannot extract extension from /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/download/custom_ome.extension: checking signature failed
I'm not sure where to go to find out more detail in the logs.
Any help appreciated - thanks.
Solved! Go to Solution.
27 Apr 2023 11:32 PM - edited 28 Apr 2023 09:20 AM
Hi,
Extension's logs are in "/var/lib/dynatrace/remotepluginmodule<CONFIG>/remotepluginmodule" following this link.
I would check if all folder and sub-folders in "/opt/dynatrace/remotepluginmodule<INSTALL>/remotepluginmodule" have correct permisions and I would restart extension service.
You can check also troubleshoot extensions documentation.
Best regards
28 Apr 2023 04:02 AM - edited 28 Apr 2023 04:07 AM
Hi,
Have you made sure to upload your certificate that was used to sign the extension to the ActiveGate Host, it needs to be present in the credential vault as well as in all of the ActiveGate Hosts that will run the extension?https://www.dynatrace.com/support/help/shortlink/sign-extension#upload
28 Apr 2023 08:47 AM
This is indeed the cause of that error.
13 May 2024 04:44 PM
I'm using VSCode to build extension. When I create certificate it said that already uploaded to credential vault.
Then how to get the certificate file so I could upload it to activegate?
17 Jul 2024 10:03 PM
Hi,
In VSCode, you can download the certificate from your user or workspace settings depending on your configuration, in there it will show the local path where the created certs are store. You can copy it and upload it to the AG server.
Alan
28 Apr 2023 05:51 PM
Awesome thanks folks!
That did indeed fix it, on to the next hurdle 🙂
It's a complicated process but I can see the security benefits.
05 Apr 2024 10:59 PM
Hi Yamis,
Could you please help me how can you solve above issue.
Regards
Vinay V.