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

Synthetic Port check test extension

lee_rovner
Contributor

I am currently using the Synthetic Port check test extension ( version 1.009 ) and it is working fine. 

I have tried to upgrade to the latest version. When, I do this I am getting 
I have unzipped the new zip on the Activegate and uploaded the new version in the console.
Rebooted the ActiveGate 



Configuration error Extension doesn't exist on the given host.

dynatrace-api/third-party-synthetic/active-gate-extensions/extension-third-party-port at master · Dy...

4 REPLIES 4

Mike_L
Dynatrace Guru
Dynatrace Guru

Are there other extensions on the same host? If there are more 3rd party extensions, make sure that you update all of them.

could you attach the remote plugin module log?

Mike

Mike

This is the only extension on this host. 
Attaching the log 

Here is the error in the log

2021-06-22 18:17:01.572 UTC [00001b70] info [native] Plugin custom.remote.python.thirdparty_port compatibility: true reason: no requiredAgentVersion specified, path: D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port
2021-06-22 18:17:01.572 UTC [00001b70] info [native] Plugin added to newest compatible plugin collection: D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port
2021-06-22 18:17:01.594 UTC [00001b70] info [native] Plugin dynatrace.remote.python.elasticsearch compatibility: true requiredAgentVersion: 1.171.0 agentVersion:1.209.151 path: C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch
2021-06-22 18:17:01.594 UTC [00001b70] info [native] Plugin added to newest compatible plugin collection: C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch
2021-06-22 18:17:01.594 UTC [00001b70] info [native] Importing plugins finished
2021-06-22 18:17:02.179 UTC [0000244c] info [native] initial sys.path: D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python64/python3.6;D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/engine/;D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/engine.zip;D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python3.6/;D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python3.6/python3.6.zip
2021-06-22 18:17:03.344 UTC [0000244c] info [native] 9292(MainThread) - [remote_main] sys.path_hooks: [<class 'zipimport.zipimporter'>, <function FileFinder.path_hook.<locals>.path_hook_for_FileFinder at 0x000001F05987C730>]
2021-06-22 18:17:03.344 UTC [0000244c] info [native] 9292(MainThread) - [remote_main] sys.meta_path: [<class '_frozen_importlib.BuiltinImporter'>, <class '_frozen_importlib.FrozenImporter'>, <class '_frozen_importlib_external.PathFinder'>]
2021-06-22 18:17:03.344 UTC [0000244c] info [native] 9292(MainThread) - [remote_main] sys.path: ['D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python64/python3.6', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/engine/', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/engine.zip', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python3.6/', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python3.6/python3.6.zip', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine\\site-packages', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine\\site-packages-x64', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine.zip\\site-packages', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine.zip\\site-packages-x64', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine_dir\\site-packages', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine_dir\\site-packages-x64', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine_dir\\site-packages-x64\\pywin32']
2021-06-22 18:17:03.348 UTC [0000244c] info [native] 9292(MainThread) - [__init__] Memory snapshot storage_path C:/ProgramData/dynatrace/remotepluginmodule/log/remoteplugin/
2021-06-22 18:17:03.348 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] Installing plugins with conflict resolution
2021-06-22 18:17:03.349 UTC [0000244c] info [native] 9292(MainThread) - [_get_revision] External deployment plugin detected in 'D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port'
2021-06-22 18:17:03.349 UTC [0000244c] info [native] 9292(MainThread) - [_get_revision] Unable to get revision from plugin_directory_path 'C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch', assuming -1
2021-06-22 18:17:03.350 UTC [0000244c] info [native] 9292(MainThread) - [__init__] plugins_by_revision: defaultdict(<class 'dict'>,
{'no_revision': {'dynatrace.remote.python.elasticsearch': PluginInfo(name='dynatrace.remote.python.elasticsearch', reported_name='dynatrace.remote.python.elasticsearch', version='1.94', directory='C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch' package='remote_elasticsearch')},
'plugin_deployment': {'custom.remote.python.thirdparty_port': PluginInfo(name='custom.remote.python.thirdparty_port', reported_name='custom.remote.python.thirdparty_port', version='1.012', directory='D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port' package='port_extension')}})
2021-06-22 18:17:03.350 UTC [0000244c] info [native] 9292(MainThread) - [install_plugins] Installing plugins
2021-06-22 18:17:03.350 UTC [0000244c] info [native] 9292(MainThread) - [install_plugins] Processing revision 'no_revision'
2021-06-22 18:17:03.350 UTC [0000244c] info [native] 9292(MainThread) - [_update_working_set] Processing candidate_entries: {'dynatrace.remote.python.elasticsearch': PluginInfo(name='dynatrace.remote.python.elasticsearch', reported_name='dynatrace.remote.python.elasticsearch', version='1.94', directory='C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch' package='remote_elasticsearch')}
2021-06-22 18:17:03.419 UTC [0000244c] info [native] 9292(MainThread) - [_update_working_set] Working set validated, new current_entries: OrderedDict([('dynatrace.remote.python.elasticsearch',
PluginInfo(name='dynatrace.remote.python.elasticsearch', reported_name='dynatrace.remote.python.elasticsearch', version='1.94', directory='C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch' package='remote_elasticsearch'))])
2021-06-22 18:17:03.419 UTC [0000244c] info [native] 9292(MainThread) - [install_plugins] Plugin PluginInfo(name='dynatrace.remote.python.elasticsearch', reported_name='dynatrace.remote.python.elasticsearch', version='1.94', directory='C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch' package='remote_elasticsearch') from revision 'no_revision' compatible
2021-06-22 18:17:03.419 UTC [0000244c] info [native] 9292(MainThread) - [install_plugins] Processing revision 'plugin_deployment'
2021-06-22 18:17:03.419 UTC [0000244c] info [native] 9292(MainThread) - [_update_working_set] Processing candidate_entries: {'custom.remote.python.thirdparty_port': PluginInfo(name='custom.remote.python.thirdparty_port', reported_name='custom.remote.python.thirdparty_port', version='1.012', directory='D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port' package='port_extension')}
2021-06-22 18:17:03.480 UTC [0000244c] severe [native] 9292(MainThread) - [_check_candidate_working_set] Resolving distribution failed because of (requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'})
project: port-extension
version: 1.12
path: d:\program files\dynatrace\remotepluginmodule\plugin_deployment\custom.remote.python.thirdparty_port
location: d:\program files\dynatrace\remotepluginmodule\plugin_deployment\custom.remote.python.thirdparty_port
2021-06-22 18:17:03.497 UTC [0000244c] severe [native] 9292(MainThread) - [_check_candidate_working_set] Resolving distribution failed because of (requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'})
project: dtapi
version: 1.1.26
path: d:\program files\dynatrace\remotepluginmodule\plugin_deployment\custom.remote.python.thirdparty_port
location: d:\program files\dynatrace\remotepluginmodule\plugin_deployment\custom.remote.python.thirdparty_port
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [_update_working_set] ========================================
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [_update_working_set] Plugins {'custom.remote.python.thirdparty_port': PluginInfo(name='custom.remote.python.thirdparty_port', reported_name='custom.remote.python.thirdparty_port', version='1.012', directory='D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port' package='port_extension')} installation caused errors: [ContextualVersionConflict(requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'}),
ContextualVersionConflict(requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'})]
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [_update_working_set] ========================================
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [install_plugins] Plugin PluginInfo(name='custom.remote.python.thirdparty_port', reported_name='custom.remote.python.thirdparty_port', version='1.012', directory='D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port' package='port_extension') from revision 'plugin_deployment' is not compatible
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [install_plugins] Processing revision 'plugin_development'
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] ========= INCOMPATIBLE PLUGINS =========
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] [PluginInfo(name='custom.remote.python.thirdparty_port', reported_name='custom.remote.python.thirdparty_port', version='1.012', directory='D:/Program Files/dynatrace/remotepluginmodule/plugin_deployment/custom.remote.python.thirdparty_port' package='port_extension')]
2021-06-22 18:17:03.500 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] ========================================
2021-06-22 18:17:03.501 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] ****************************************
2021-06-22 18:17:03.501 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] [PluginInfo(name='dynatrace.remote.python.elasticsearch', reported_name='dynatrace.remote.python.elasticsearch', version='1.94', directory='C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch' package='remote_elasticsearch')]
2021-06-22 18:17:03.501 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] ****************************************
2021-06-22 18:17:03.501 UTC [0000244c] info [native] 9292(MainThread) - [_update_plugin_metadata] sys.path after installing plugins: ['D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python64/python3.6', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/engine/', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/engine.zip', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python3.6/', 'D:/Program Files/dynatrace/remotepluginmodule/agent/plugin/python3.6/python3.6.zip', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine\\site-packages', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine\\site-packages-x64', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine.zip\\site-packages', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine.zip\\site-packages-x64', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine_dir\\site-packages', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine_dir\\site-packages-x64', 'D:\\Program Files\\dynatrace\\remotepluginmodule\\agent\\plugin\\engine_dir\\site-packages-x64\\pywin32', 'C:/ProgramData/dynatrace/remotepluginmodule/agent/conf/runtime/plugins_unpacked/dynatrace.remote.python.elasticsearch/dynatrace.remote.python.elasticsearch']
2021-06-22 18:17:11.505 UTC [0000244c] info [native] 9292(MainThread) - [do] Plugin loop status: time_taken: 0.0, engines_info: [],
2021-06-22 18:17:11.505 UTC [0000244c] info [native] 9292(MainThread) - [do] {('custom.remote.python.thirdparty_port', '1.012'): (PluginFullStatus(pluginName=custom.remote.python.thirdparty_port, pluginVersion=1.012, state=INCOMPATIBLE, description=[ContextualVersionConflict(requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'}), ContextualVersionConflict(requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'})], monitoredEntityId=0x0, stacktrace=), 5992.546)}
2021-06-22 18:17:33.511 UTC [0000244c] info [native] 9292(MainThread) - [data_update] Fresh config received for plugin custom.remote.python.thirdparty_port: 16714962608046168764 enabled: True
2021-06-22 18:17:33.511 UTC [0000244c] warning [native] 9292(MainThread) - [select_plugins] No metadata available for plugin custom.remote.python.thirdparty_port
2021-06-22 18:17:33.511 UTC [0000244c] info [native] 9292(MainThread) - [report_status] [(PluginFullStatus(pluginName=custom.remote.python.thirdparty_port, pluginVersion=, state=ERROR_CONFIG, description=Extension doesn't exist on given host, monitoredEntityId=0xe7f779eeae875abc, stacktrace=), (969340577, 6))]

 

 

JamesKitson
Dynatrace Guru
Dynatrace Guru
(PluginFullStatus(pluginName=custom.remote.python.thirdparty_port, pluginVersion=1.012, state=INCOMPATIBLE, description=[ContextualVersionConflict(requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'}), ContextualVersionConflict(requests 2.21.0 (d:\program files\dynatrace\remotepluginmodule\agent\plugin\engine_dir\site-packages), Requirement.parse('requests>=2.22'), {'dtapi'})], monitoredEntityId=0x0, stacktrace=),

 

This entry is what is preventing it from loading. One of the libraries being used in the new version of this extension requires requests version 2.22 or higher. The ActiveGate Python engine includes the requests module but it looks like the version in yours is 2.21 which does not satisfy the requirement so it does not load.

 

I checked and my ActiveGates have a newer requests version (2.25). I am betting that if you haven't in a while, updating your ActiveGate may resolve this as it will likely include a newer requests version.

Featured Posts