XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OADP 1.4.0
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo
    • Sprint 4-MMSDOCS 2024
    • 1
    • 0
    • 0.0
    • Very Likely
    • 0
    • None
    • Unset
    • Unknown

      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

            rhn-support-prajoshi Prasad Joshi
            talayan@redhat.com Tareq Alayan
            Prasad Joshi Prasad Joshi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: