Uploaded image for project: 'OpenShift Installer'
  1. OpenShift Installer
  2. CORS-2068

ARO: Support for cluster correlation and resource data for logs

XMLWordPrintable

    • 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:

      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

       

        1. tf-log-debug
          987 kB
        2. tf-trace-logs-azure
          7.37 MB

              rna-afk Aditya Narayanaswamy
              mradchuk@redhat.com Mikalai Radchuk
              Mike Gahagan Mike Gahagan
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: