CMS Snapshot Analysis - Compute Snapshot - Fatal Error - Invalid metric tree on local site
Description
This page provides the possible reason for the error " Invalid metric tree on local site " in compute snapshot step and the snapshot crashes.
Figure 1
Sample Log file with the error
loading snapshot definition…
Found 1 applications on 1 local sites.
Info: multiple snapshot import and consolidation enabled.
Start exporting exception to local site <Local_base> using SQL transfer.
Start computing snapshot on local site <Local_base>
Error: invalid metric tree on local site <Local_base>. Found self dependencies on the following metrics:
61001, 7390, 7391
Observed in CAST AIP
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
| 8.2.x | ✅ |
| 8.1.x | ✅ |
| 8.0.x | ✅ |
| 7.3.x | ✅ |
Observed on RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS3 | ✅ |
| CSS2 | ✅ |
Step by Step Scenario
Below is the step-by-step scenario leading to the problem:
- Discover and deliver the application
- Accept and set as current version
- Run Analysis + Snapshot
Impact of the Problem
The impact of the problem on the analysis or the dashboard is: Snapshot will not be successful so there will be no results on the dashboard for this snapshot.
Action Plan
To fix the problem, proceed as follows
- This issue is caused by a configuration problem in assessment model.
- As shown in the above log file last there numbers are the metric Ids because of which the problem occurs.
- Open CAST-MS and open Assessment model view.
- Search for the metric ids from the last line of the log as shown below.
Figure 2 - Double click the quality rule which should take to rule specific settings. as shown below
Figure 3 - GoTo computing settings tab of the rule as shown above.
- Under the quality rules to compute before the current one,you will find a list of rules. In that list,you will find that 7390 is checked. So,this creates self references of rules and crashes the snapshot.
- Un check this option to remove the cycle. These are not the default configurations.
Impact of the solution on the analysis or the dashboard
Impact of the solution on the analysis or the dashboard is: The results for this snapshot can be seen
Notes/comments
Related Pages