Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-3905

OADP azure setup missing steps

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • No
    • Moderate
    • 5
    • 0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

    Description

      Description of problem:

      OADP doc:

      https://docs.openshift.com/container-platform/4.15/backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.html

       

      Azure Velero Reference:

      https://learn.microsoft.com/en-us/azure/aks/hybrid/backup-workload-cluster

       

      AZURE_SUBSCRIPTION_ID=`az account list --query '[?isDefault].id' -o tsv`
      AZURE_CLIENT_SECRET=`az ad sp create-for-rbac --name "<user_name>" --role "Contributor" --query 'password' -o tsv --scopes  /subscriptions/$AZURE_SUBSCRIPTION_ID`
      AZURE_CLIENT_ID=`az ad sp list --display-name "<user_name>" --query '[0].appId' -o tsv`

      The three above variables are not set in the docs but are part of the credentials-velero file creation. e.g.

      $ cat << EOF > ./credentials-velero AZURE_SUBSCRIPTION_ID=${AZURE_SUBSCRIPTION_ID} AZURE_TENANT_ID=${AZURE_TENANT_ID} AZURE_CLIENT_ID=${AZURE_CLIENT_ID} AZURE_CLIENT_SECRET=${AZURE_CLIENT_SECRET} AZURE_RESOURCE_GROUP=${AZURE_RESOURCE_GROUP} AZURE_STORAGE_ACCOUNT_ACCESS_KEY=${AZURE_STORAGE_ACCOUNT_ACCESS_KEY} AZURE_CLOUD_NAME=AzurePublicCloud EOF

      Attachments

        Activity

          People

            rhn-support-cwisemon Carmi Wisemon
            wnstb Wes Hayutin
            Prasad Joshi Prasad Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: