05 Aug 2024 03:50 PM
2024-08-05 14:47:04.469 UTC [003946f3] warning [native] Failed to prepare extension environment:
id: f_-5077411103933439232
datasource: python:3.10
time elapsed: 3.21s
command: "/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/custom_keycloak-ext_0.0.3/bin/python3" -m pip install --no-warn-script-location --no-cache-dir --no-index -f /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib keycloak_ext
error: WARNING: Location '/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib' is ignored: it is either a non-existing path or lacks a specific scheme.
ERROR: Could not find a version that satisfies the requirement keycloak_ext (from versions: none)
ERROR: No matching distribution found for keycloak_ext
2024-08-05 14:47:04.469 UTC [003946f3] warning [native] std ouput from ""/opt/dynatrace/remotepluginmodule/agent/res/dsruntime/python3.10/bin/python3" -m venv /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/custom_keycloak-ext_0.0.3 --system-site-packages --without-pip" command:
std ouput from ""/var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/python_venvs/custom_keycloak-ext_0.0.3/bin/python3" -m pip install --no-warn-script-location --no-cache-dir --no-index -f /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib keycloak_ext" command:
Looking in links: /var/lib/dynatrace/remotepluginmodule/agent/runtime/extensions/cache/custom_keycloak-ext/0.0.3/lib
2024-08-05 14:47:04.469 UTC [003946f3] info [native] Rejected fastcheck for task f_-5077411103933439232 -
2024-08-05 14:47:06.777 UTC [003946b5] info [native] Fastcheck f_-5077411103933439232 for datasource python ended with code -1: N/A
Could you help me to understand what happened?
Regards,
Davide
Solved! Go to Solution.
05 Aug 2024 04:06 PM
Other details:
07 Aug 2024 06:42 AM
Is keycloak_ext the name of your extension or a python package?
If the former, then something weird happened with your build. Share the contents of the extension.zip file you are using, as well as how you built it.
If the latter, this usually happens when you build the extension in one platform but try to run it in another -- pip might miss downloading wheels for the platform you are trying to run on. Check what OS you are trying to run the extension on and whether the extension.zip file has the wheels required to install all packages for that OS.