Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Errors when deploying Ping Monitoring package from Catalog

Solved554 views3rd September 2024lowcodeapps pingmonitoring
2
Jon Corral [SLC] [DevOps Enabler]464 29th August 2024 0 Comments

SOLUTION - After internal investigation

For whom it my concern, the issue is related to a bug in Dataminer that is present since DataMiner 10.4.6 (RN 38987), where there was a change so that a protocol would be set as production if no folder existed yet in the Protocols folder for that protocol.

However, during installation of a package, what happens is that first the protocol XML file gets installed and then later the templates are installed. When the protocol XML file gets installed, it’s immediately put to production (and at the point the templates still need to be installed) so the templates did not get copied to the production version.

The install package also has a way of indicating that a version needs to be set as production and to copy the templates but that would not do anything anymore as DataMiner would see that the version that is requested to be put as production is already the production version.

With RN 40291, available since DataMiner 10.4.10, the implementation has changed a bit to overcome this problem. With this change, it will now only automatically set it to production in case a dmprotocol is installed  (if no version was uploaded yet) and only after the full dmprotocol package has been installed.

A workaround to have the package installation work on version 10.4.6-10.4.9 is to create a directory for the protocol in the install script (as this would bypass the logic to set it to production automatically). See workaround section in https://collaboration.dataminer.services/task/241354.


DESCRIPTION

Deployment of Ping Monitoring package has failed every time it has been tried in recent weeks.
This was working before, but now I have tried using different versions and different DMAs and I get errors every time I try to deploy from Catalog.
The latest attempt was done in a DaaS system.

HOW TO REPRODUCE
1. Deploy Ping Monitoring | Catalog (dataminer.services) in a cloud-connected DMA.
2. Check for errors in the Cloud Admin page

INVESTIGATION
I have tried deploying different version of Ping Monitoring package and I get this error: every time.

{
"errorMessage": "Unexpected exception occurred",
"exceptionMessage": "StatusCode: UnknownError, DebugMessage: A unknown exception occurred in CoreGateway: Installation of the package Ping Monitoring version 1.0.1-CU8 failed because something went wrong while running the install script: Error triggering entry point Skyline.DataMiner.Net.Automation.AutomationEntryPoint: EXIT: \"Exception encountered during installation: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Run Subscript 'CreateDefaultPing' Failed: 0x80004005\r\n   at Skyline.DataMiner.Automation.Engine.InternalLaunchSubScript(String scriptName, List`1 finalOptions, Int32 inheritSubScript, Int32 extendedErrorInfo, Dictionary`2& subScriptOutput, List`1& errorMessages)\r\n   at Skyline.DataMiner.Automation.SubScriptOptions.StartScript()\r\n   at Script.Install(Engine engine, AppInstallContext context)\", DmaId: 1003814",
"stackTrace": "   at ArtifactDeployer.Services.CoreGateWayResponseHandler.Implementations.CoreGateWayResponseHandler.Handle[TReq,TResp](ICoreGatewayRequestExecutor coreGatewayRequestExecutor, TReq request, MessageParser`1 responseParser, String topicId)\r\n   at ArtifactDeployer.Deployer.Implementations.AppPackageDeployer.Deploy(String deploymentId, EventingInfo eventingInfo, ArtifactInfo info, String artifactLocation, DeployContext context)\r\n   at ArtifactDeployer.Handler.Implementations.DeploymentHandlerEventingDecorator.<>c__DisplayClass7_0.<<DeployArtifactAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location ---\r\n   at ArtifactDeployer.Handler.Implementations.DeploymentHandlerEventingDecorator.CaptureExceptionAsync(ContextType contextType, Func`1 action)"
}

QUESTION

Is this something you have seen before? Seems to be specific for this LCA, and it has been reproduced over several systems, both DAAS and not DAAS. Last try, was on a freshly installed DAAS running the latest version of Dataminer (10.4.8.0-14612).

MORE INFORMATION

We tried installing the dmapp on previous versions of Dataminer, and 10.4.1 and it seems it works, while it fails in newer versions. The issue seems to be the following

024/08/29 16:01:06.076|SLAutomation.exe 10.4.2432.678|20916|47744|CSharp|DBG|5|(Script CreateDefaultPing/1) Extended Error Info:

(Code: 0x80131500) Skyline.DataMiner.Automation.ScriptAbortException: Sequence contains no matching element
at Skyline.DataMiner.Automation.Engine.ExitFail(String reason)
at CreateDefaultPing_1.Script.Run(IEngine engine)

2024/08/29 16:01:06.078|SLAutomation.exe 10.4.2432.678|20916|47744|CScriptLoader::ExitNow|DBG|-1|[Baptiste Pattyn] (Script CreateDefaultPing) EXIT: “Sequence contains no matching element”
2024/08/29 16:01:06.079|SLAutomation.exe 10.4.2432.678|20916|47744|CScriptLoader::FinalActions|DBG|3|[Baptiste Pattyn] (Script CreateDefaultPing) Script execution FAILED
2024/08/29 16:01:06.092|SLAutomation.exe 10.4.2432.678|20916|47744|CAutomation::Execute|INF|0|[Baptiste Pattyn] Finished executing script: ‘CreateDefaultPing’ (ID: 48) – FAILED – Execution took 00.520s.
2024/08/29 16:01:06.096|SLAutomation.exe 10.4.2432.678|20916|64052|CSharp|DBG|5|(Script Ping Monitoring_1.0.1-CU8_InstallScript_2643ce95de1648e18f217533bd205057/1) Extended Error Info:

(Code: 0x80131500) Skyline.DataMiner.Automation.ScriptAbortException: Exception encountered during installation: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Run Subscript ‘CreateDefaultPing’ Failed: 0x80004005
at Skyline.DataMiner.Automation.Engine.InternalLaunchSubScript(String scriptName, List`1 finalOptions, Int32 inheritSubScript, Int32 extendedErrorInfo, Dictionary`2& subScriptOutput, List`1& errorMessages)
at Skyline.DataMiner.Automation.SubScriptOptions.StartScript()
at Script.Install(Engine engine, AppInstallContext context)
at Skyline.DataMiner.Automation.Engine.ExitFail(String reason)
at Script.Install(Engine engine, AppInstallContext context)

This CreateDefaultPing creates a default Ping Element when the app is deployed from the catalog.

Any idea why this might be failing in newer versions?

Jon Corral [SLC] [DevOps Enabler] Changed status to publish 3rd September 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Alexander Verkest [SLC] [DevOps Advocate]911 Posted 29th August 2024 1 Comment

Hi,

This is not an error related to dataminer.services or the catalog, the package install script itself seems to be broken.

I have tried installing the package directly to a DMS and it failed, tested on v10.4.10.

Kind regards,

Jon Corral [SLC] [DevOps Enabler] Posted new comment 29th August 2024
Jon Corral [SLC] [DevOps Enabler] commented 29th August 2024

Hello Alexander, we tried installing the dmapp on previous versions of Dataminer, and 10.4.1 and it seems it works, while it fails in newer versions. The issue seems to be the following

024/08/29 16:01:06.076|SLAutomation.exe 10.4.2432.678|20916|47744|CSharp|DBG|5|(Script CreateDefaultPing/1) Extended Error Info:

(Code: 0x80131500) Skyline.DataMiner.Automation.ScriptAbortException: Sequence contains no matching element
at Skyline.DataMiner.Automation.Engine.ExitFail(String reason)
at CreateDefaultPing_1.Script.Run(IEngine engine)

2024/08/29 16:01:06.078|SLAutomation.exe 10.4.2432.678|20916|47744|CScriptLoader::ExitNow|DBG|-1|[Baptiste Pattyn] (Script CreateDefaultPing) EXIT: “Sequence contains no matching element”
2024/08/29 16:01:06.079|SLAutomation.exe 10.4.2432.678|20916|47744|CScriptLoader::FinalActions|DBG|3|[Baptiste Pattyn] (Script CreateDefaultPing) Script execution FAILED
2024/08/29 16:01:06.092|SLAutomation.exe 10.4.2432.678|20916|47744|CAutomation::Execute|INF|0|[Baptiste Pattyn] Finished executing script: ‘CreateDefaultPing’ (ID: 48) – FAILED – Execution took 00.520s.
2024/08/29 16:01:06.096|SLAutomation.exe 10.4.2432.678|20916|64052|CSharp|DBG|5|(Script Ping Monitoring_1.0.1-CU8_InstallScript_2643ce95de1648e18f217533bd205057/1) Extended Error Info:

(Code: 0x80131500) Skyline.DataMiner.Automation.ScriptAbortException: Exception encountered during installation: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Run Subscript ‘CreateDefaultPing’ Failed: 0x80004005
at Skyline.DataMiner.Automation.Engine.InternalLaunchSubScript(String scriptName, List`1 finalOptions, Int32 inheritSubScript, Int32 extendedErrorInfo, Dictionary`2& subScriptOutput, List`1& errorMessages)
at Skyline.DataMiner.Automation.SubScriptOptions.StartScript()
at Script.Install(Engine engine, AppInstallContext context)
at Skyline.DataMiner.Automation.Engine.ExitFail(String reason)
at Script.Install(Engine engine, AppInstallContext context)

This CreateDefaultPing creates a default Ping Element when the app is deployed from the catalog.

Any idea why this might be failing in newer versions?

You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes
When using the Setter = true attribute, will the copy action always be executed first? 1 Answer | 3 Votes
Multiple Set on Table parameters for DVE’s 1 Answer | 2 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin