Troubleshoot Solutions
This page describes how to troubleshoot common issues that may occur during user onboarding and solution development.
Knowledge Type Update Fails Due to Incompatible Changes
Root Cause Analysis (RCA)
The schema service that manages the JSON schema for knowledge type definitions will not accept the knowledge type definition update because the changes are not backward compatible.
Workaround/Solution
- Remove the knowledge type reference in the manifest file.
- Upgrade the
solutionVersion
.
- Upload the solution with the removed knowledge type reference.
- Verify that the solution was updated.
- Add the knowledge type (containing the previously incompatible changes) reference back to the manifest file.
- Upgrade the solution.
- Upload the upgraded version of the solution.
- Verify that the knowledge type that you added back into the manifest file can be installed.
Solution Installation Fails Due to Solution Bundle Issues
RCA
This error can be caused by any of the following issues:
- One of the knowledge objects and/or knowledge types in your solution was incorrectly defined when you uploaded the initial solution version.
- There was an issue with your manifest file.
- There was another uncaught issue during solution installation.
Workaround/Solution
Solution Has Previously Been Successfully Installed
- Run
fsoc solution status <solution-name>
to view the installation error message for the solution.
- If the error message does not appear with that command, run
fsoc knowledge get --type extensibility:solutionInstall --layer-type TENANT --filter 'data.<solution-name> eq "<solution-name>"'
.
- View the solution installation objects in the output to determine the issue with the version of the solution that you attempted to install.
- Find the issue mentioned in the
installMessage
field that is part of the related extensibility:solutionInstall
object. Fix that issue within your solution.
- Upgrade the
solutionVersion
in the manifest file.
- Run
fsoc solution status <solution-name>
and observe the solution status in the output. Any remaining issues with your solution will be specified in the installMessage
field. If this occurs, repeat steps 1-4 until the solution can be installed.
Solution Has Never Been Successfully Installed
- Run
fsoc solution status <solution-name>
to view the installation error message for the solution.
- If the error message does not appear with that command, run
fsoc knowledge get --type extensibility:solutionInstall --layer-type TENANT --filter 'data.<solution-name> eq "<solution-name>"'
.
- View the solution installation objects in the output to determine the issue with the version of the solution that you attempted to install.
- Find the issue mentioned in the
installMessage
field that is part of the related extensibility:solutionInstall
object. Fix that issue within your solution.
- Upgrade the
solutionVersion
in the manifest file.
- Upload the new version of the solution.
- Subscribe to the solution again. This step is required because your subscription was removed when the solution installation failed for the first time.
- Run
fsoc solution status <solution-name>
and observe the solution status in the output. Any remaining issues with your solution will be specified in the installMessage
field. If this occurs, repeat steps 1-6 until the solution can be installed.
Solution Installation Fails With Pre-Commit Error
This section covers troubleshooting for users who attempt to install a solution and receive an error similar to any of the following:
exception occurred while trying to install the solution optimize for event: Error: pre-commit state is not successful after polling several time
Error: error while executing pre-commit: 404:
RCA
There is an issue with one of the Solution Services knowledge objects that you have defined in your solution. This issue could be caused by an invalid image, invalid namespace, invalid port, or another misconfigured field in one of your Solution Services knowledge objects.
Workaround/Solution
Solution Has Been Uploaded
- Debug the Solution Services knowledge objects in your solution to determine which knowledge object is causing the issue.
- Fix the object definition.
- Upgrade the
solutionVersion
in the manifest file.
- Re-upload the solution.
Solution Has Never Been Uploaded
- Debug the Solution Services knowledge objects in your solution to determine which knowledge object is causing the issue.
- Fix the object definition.
- Upgrade the
solutionVersion
in the manifest file.
- Upload the new version of the solution.
- Re-subscribe to the solution after you have uploaded the new version.
Solution Download Fails
RCA
Solutions can only be downloaded by the Tenant that initially uploaded the solution.
Workaround/Solution
To download the solution bundle, gain access to the Tenant that initially uploaded the solution. In most cases, this is not possible.
Uploading a Stable Solution Fails With Unauthorized Tenant Error
This section covers troubleshooting for users who attempt to upload a stable version of their solution and receive a message similar to Unauthorized tenant: Tenant is not allowed to perform the action upload for the solution.
RCA
Stable versions of solutions can only be uploaded by the designated solution uploader for the given cell.
Workaround/Solution
Raise a ticket to request for the solution to be uploaded in the given cell. See Deploy a Solution in the Cisco Observability Platform Exchange.
403 Error Without Response Body
This section covers troubleshooting for users who attempt to run fsoc solution
or fsoc knowledge
commands and receive a 403 error that does not have a response body.
RCA
If you have received a 403 error without a response body, the 403 error is coming from the Access Management service.
Note: If you have received a 403 error with a response body, the 403 error is coming from the Knowledge Store. In this scenario, the response body will describe what needs to be fixed to avoid 403 errors on subsequent requests.
Workaround/Solution
Ensure that you have correctly configured Access Management permissions for your solution.