The Cloud API Trail
The Cloud API Trail is an activity log for all activity that uses the Cloud API and goes through the MID Server.
Cloud API Trail contents
| Field | Description |
|---|---|
| Dynamic route ID | An auto-generated ID number for the entry. |
| Mid name | The name of the MID Server through which the Discovery was performed. |
| Route status | Whether or not the Discovery operation run by the
API was successful. Possible values are:
|
| Input parameters | The input parameter that generated the API trail record. This value is usually the datacenter in which the Discovery was run. |
| Interface name | |
| Invoked by | This value is always CMP when running Discovery. |
| Method name | The interface operation from the Cloud API that processed this record. |
| Provider name | The cloud provider. |
| Version | The version specified in the Cloud API. |
CAPI Trail Logs
The CAPI Trail Logs related list provides more details about Cloud API trail entry. The following types of log keys are available:
| Log key | Description |
|---|---|
| route_data | Information about the Cloud API calls. |
| dynamic_route | Information about the actual route the data took, including URIs. |
| route_result | The payload received by the instance, or a description of the result of the data transfer. The payload |
| chunk_number | The number of data chunks that the instance received. |
| route_status | Whether the route connection and payload transfer was successful. |
| route_error | The error that occurred. For example, the error Failed to list
loadbalancer Failed : HTTP error code : 403 means that your credentials
were incorrect and Discovery
could not access the cloud resource. |
| error_detail | More details about the error, including the Cloud Provisioning and Governance API and connector that was used in the attempted Discovery, and the errors that the cloud provider threw. |
Failed to list loadbalancer Failed : HTTP error code : 403An example of the error_detail entry for the same error is as follows:
com.snc.cmp.connector.cloud.loadbalancer.component.LoadBalancerException: Failed to list loadbalancer Failed : HTTP error code : 403
at com.snc.cmp.connector.cloud.loadbalancer.customizer.impl.AWSLoadBalancerCustomizer.listLoadBalancers(AWSLoadBalancerCustomizer.java:56)
at com.snc.cmp.connector.cloud.loadbalancer.component.LoadBalancerProducer.process(LoadBalancerProducer.java:46)
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:145)
...These two entries indicate that the credentials were incorrect, and Discovery could not access
the cloud resource. The load balancer interface throws the first error because the load balancer
device is the first device that allows access to the cloud resource. The
org.apache.camel errors indicated routing errors on the Amazon Web Services
side.
The corresponding error on the instance side is captured in the Cloud Orchestration Trail.
Open the Cloud API Trail
Open the Cloud API Trail to debug and troubleshoot issues like a failed policy or failed Discovery of cloud resources.