Troubleshooting What-if Simulation issues

When you perform a What-if Simulation to simulate the growth of resources, the simulation might fail with error or warning messages.



Issues displayed on UI

The UI displays warnings related to missing data or incomplete simulation.


Use the following information to identify and resolve issues:

Message

Explanation

Solution

Displayed in...

Warning! Data is missing: The simulation may not be complete.

From the selected deployments, one or more deployments are not included in the simulation.

This message appears at the top of the Simulation page.

Click Learn more to view the errors associated with each deployment. It could be one of the errors listed in the rows below.

The warning message displays the name of the deployment that helps you identify the deployment which is resulting in an error.

What-if simulation for deployments

Access denied.

You do not have the permission to access the requested entity.

The following permissions are required to access a What-if Simulation:

  • whatif_simulation_edit: To create, edit, or save a simulation.
  • whatif_simulation_read: To read a simulation.
Contact your administrator to request for access. For details, see Configuring authorization profiles.

What-if simulation for deployments

What-if simulation for a business service

Missing number of pods.


Data about the number of pods that are running in a deployment is mandatory to generate a simulation. When this data is not available for the last 7 days, the deployment is excluded from the simulation.

  1. In the BMC Helix Continuous Optimization console, select Workspace and navigate to the deployment.
  2. On the Metrics tab, check whether the KPOD_NUM metric is available.
  3. If the metric is not available, verify whether the Kubernetes ETL module is correctly configured to import the metric. For details, see Moviri Integrator for BMC Helix Capacity Optimization – k8s (Kubernetes) Prometheus.

You can also create a quick analysis with the 'last 7 days' filter to check whether the metric has data for the last 7 days.

What-if simulation for deployments

Missing recent historical data.

Data for one or more of the required metrics is not available for simulation.

  1. In the BMC Helix Continuous Optimization console, select Workspace and navigate to the deployment.
  2. On the Metrics tab, check whether the following performance metrics are available.
      • CPU_LIMIT
      • CPU_REQUEST
      • CPU_USED_NUM
      • KPOD_NUM
      • MEM_KLIMIT
      • MEM_REQUEST
      • MEM_USED
        These metrics are mandatory to generate a simulation.
  3. If the metrics are not available, verify whether the Kubernetes ETL module is correctly configured to import them. For details, see Moviri Integrator for BMC Helix Capacity Optimization – k8s (Kubernetes) Prometheus.
What-if simulation for deployments

Prediction error.

This message is displayed due to intermediate errors.

Run the simulation again.

If the issue persists, contact BMC Support.

What-if simulation for deployments

What-if simulation for a business service


Entity type is not supported.

A What-if Simulation can simulate growth only for the Kubernetes deployments. You cannot simulate for any other entity.

When you try to simulate using a system identifier of an incorrect entity, this warning is displayed.

Exclude the deployment from the simulation and run the simulation again.What-if simulation for deployments

No data available.

Data is not available to complete the simulation.

Check whether the ETL has failed to collect data. Check the ETL logs for troubleshooting.

What-if simulation for deployments

Duplicate event detected with same date <date> for <pool>

Resizing request for the same pool and same date is already available. 

Edit the custom resizing request and select the different date. 

What-if simulation for a business service

Error codes displayed on APIs

Error code

Explanation

Solution

OPT_SIMULATION_0

Request validation error


OPT_SIMULATION_2

An error occurred invoking the catalog service

Check related logs

OPT_SIMULATION_3

An error occurred invoking the analysis service

Check related logs

OPT_SIMULATION_4

An error occurred invoking the forecast service

Check related logs

OPT_SIMULATION_5

Simulation not found

Check if the simulation ID is valid and exists in the database

OPT_SIMULATION_6

An error occurred saving the simulation into the database

Check optsimulation logs

OPT_SIMULATION_7

Simulation not executed as a warning has been detected

Check optsimulation logs

OPT_SIMULATION_8

Unsupported Input has been detected

Check optsimulation logs

OPT_SIMULATION_9

CFS produced no results for this business service

If it is a new business service, wait for the business service to be processed automatically, otherwise it means there is no correlation between business driver and service pools included in this business service.

OPT_SIMULATION_10

Simulation produced no results for this business service

It might be due to missing business driver metrics or other data dependent issues that made the simulation impossible.

Was this page helpful? Yes No Submitting... Thank you

Comments