cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OneAgent extension - unable to build demo plugin

mjm295
Participant

Hi Team,

I am trying to learn to build a OneAgent extension. What am I doing wrong?

 

I have installed plugin_sdk-1.243.166.20220701.145555-py3-none-any.whl

and all the dependencies:

 

[coding@bnelinfp01 dynatrace]$ pip list
Package Version
------------------- -------------------------
attrs 21.4.0
bottle 0.12.21
certifi 2021.10.8
charset-normalizer 2.0.8
colorama 0.4.5
idna 3.3
importlib-resources 5.8.0
jsonschema 4.6.2
pip 19.3.1
plugin-sdk 1.243.166.20220701.145555
pyrsistent 0.18.1
PyYAML 6.0
requests 2.9.1
setuptools 41.6.0
urllib3 1.26.7
wheel 0.37.1
zipp 3.8.0

 

 

 

BUT when i go to the demo/example directory

~/dynatrace/examples/demo_oneagent_plugin

and execute:

plugin_sdk build_plugin --no_upload

 

it bombs out with this error:

..

..

..

Installing plugin to temporary location
Processing /tmp/tmp0gpj9m6_/dist/demo_plugin-1.44-py3-none-any.whl
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))': /simple/requests/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))': /simple/requests/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))': /simple/requests/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))': /simple/requests/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))': /simple/requests/
Could not fetch URL https://pypi.org/simple/requests/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/requests/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))) - skipping
ERROR: Could not find a version that satisfies the requirement requests>=2.6.0 (from demo-plugin==1.44) (from versions: none)
ERROR: No matching distribution found for requests>=2.6.0 (from demo-plugin==1.44)
Failed to install the plugin into temporary location

 

Any ideas? I don't know where to look next?

1 REPLY 1

ChadTurner
DynaMight Legend
DynaMight Legend

@mjm295 did you get any solution to this? It might be beneficial to do a VLT class with Dynatrace or maybe even a HOT session if one for Extensions is available at perform 2023.

-Chad

Featured Posts