-
Epic
-
Resolution: Won't Do
-
Critical
-
None
-
None
-
None
-
ARO: Support for cluster correlation and resource data for logs
-
5
-
False
-
None
-
False
-
Not Selected
-
Done
-
OCPSTRAT-186 - Support all OCM cluster service actions for ARO clusters
-
Impediment
-
OCPSTRAT-186Support all OCM cluster service actions for ARO clusters
-
0% To Do, 0% In Progress, 100% Done
With SDE-1447 we will need Hive/installer logs to include some tracing information and information about the cluster resource. We need this for supportability reasons.
Logs need to include the following tracing fields:
- correlation_id (see x-ms-correlation-request-id in docs below)
- client_request_id (see x-ms-client-request-id)
- request_id (see x-ms-request-id)
- client_principal_name (see x-ms-client-principal-name)
This information can be provided to Hive/installer from ARO RP.
More information on these fields can be found here:
- https://github.com/Azure/azure-resource-manager-rpc/blob/f3c907ae1854b5cda7af18fe6ef91a4b90efe7af/v1.0/Addendum.md#instrumentation-and-tracing-across-services
- https://github.com/Azure/azure-resource-manager-rpc/blob/f3c907ae1854b5cda7af18fe6ef91a4b90efe7af/v1.0/common-api-details.md
We also need the fields to identify the Azure resource we are working with:
- resource_id - can be provided by ARO RP - e.g /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$RESOURCEGROUP/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER
- subscription_id - can be provided by ARO RP or parsed from resource ID - $AZURE_SUBSCRIPTION_ID from resource_id
- resource_group - $RESOURCEGROUP from resource_id
- resource_name - $CLUSTER from resource_id
All these fields must be present in logs when Hive works in context of a specific cluster:
- Provisioning DNS zone for a cluster - fields must be present
- Provisioning or deprovisioning cluster - fields must be present
- Any other operations against a cluster - fields must be present
- is depended on by
-
HIVE-1966 ARO logging enhancement
- Closed
- relates to
-
OCPSTRAT-186 Support all OCM cluster service actions for ARO clusters
- In Progress
1.
|
QE Tracker | Closed | Mike Gahagan | ||
2.
|
Docs Tracker | Closed | Mike Pytlak (Inactive) |