Internal occured while trying to activate the model in analytics builder

What product/components do you use and which version/fix level are you on?

latest

Is your question related to the free trial, or to a production (customer) instance?

production

What are you trying to achieve? Please describe it in detail.

Do you get any error messages? Please provide a full error message screenshot and log file.

I am trying activate the model in the production mode and I received the below error.

Have you installed all the latest fixes for the products and systems you are using?

yes

Which tenant?

Tenant id: t129954457

What is the tenant URL?

https://medmix.emea.cumulocity.com

If the model in question is ‘Live_Packges_Count’ I suspect the size of it is causing the timeout.

I created a duplicate copy of the model application and deleted many models inside and I am facing same issue.

image

Your problem has found an issue the Analytics builder.

The issue is occurring when there exist a chain of the PRODUCTION models and while all models are deployed, a copy of one of the models is deployed in the TEST mode and then un-deployed.

In this case, models “Live_Packges_Count #1” and “aggregation” were deployed in PRODUCTION mode, forming a chain: “Live_Packges_Count #1” → “aggregation”
Later model Live_Packges_Count is deployed in the TEST mode. The model “Live_Packges_Count” had input and output blocks similar to the model “Live_Packges_Count #1”. When the model “Live_Packges_Count” is un-deployed it creates problem. After this once model “Live_Packges_Count #1” or “aggregation” are un-deployed, then cannot be deployed again.

We have restarted the Apama microservice and you should avoid deploying models in TEST mode which has input or output blocks similar to one of the existing already deployed model.

R&D have a task to fix the issue.