Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
384 stars 1.25k forks source link

az dataprotection backup-instance create - (UserErrorNoContainersSelectedForOperation) No containers selected for operation #7499

Open pospich0815 opened 7 months ago

pospich0815 commented 7 months ago

Describe the bug

I want to create a backup instance within a backup vault for a storage account with blob store. The storage account exists and works. There is a blob container in it, which is to be backed up. I have also created a backup vault, which is responsible for the backup. I have created a backup policy that contains a rule for operational backups and one for vaulted backups. Unfortunately, I cannot create a backup instance if I have the vaulted backup rule active in the policy. If I have only activated operational backups in the policy, the command works without errors. I have tried creating the policy via cli command and via Azure portal. Both lead to the described behavior. I also tested the backup-instance create command via HTTP call, where it also worked. The input was exactly the same as with the cli command.

Is it possible that there is a bug in the cli command that leads to this behavior with a vaulted backup policy?

Related command

az dataprotection backup-instance create

Errors

(UserErrorNoContainersSelectedForOperation) No containers selected for operation

Issue script & Debug output

cli.knack.cli: Command arguments: ['dataprotection', 'backup-instance', 'create', '-g', 'aas-cmei-b-weu-knock-rg', '--vault-name', 'doc-backup-vault', '--backup-instance', 'backup_instance.json', '--debug'] cli.knack.cli: init debug log: Enable color in terminal. cli.knack.cli: Event: Cli.PreExecute [] cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x705216ba8040>, <function OutputProducer.on_global_arguments at 0x705216b56160>, <function CLIQuery.on_global_arguments at 0x705216b8fc40>] cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate [] cli.azure.cli.core: Modules found from index for 'dataprotection': ['azext_dataprotection'] cli.azure.cli.core: Loading command modules: cli.azure.cli.core: Name Load Time Groups Commands cli.azure.cli.core: Total (0) 0.000 0 0 cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next'] cli.azure.cli.core: Loading extensions: cli.azure.cli.core: Name Load Time Groups Commands Directory cli.azure.cli.core: dataprotection 0.087 13 44 /home/christophm/.azure/cliextensions/dataprotection cli.azure.cli.core: Total (1) 0.087 13 44 cli.azure.cli.core: Loaded 13 groups, 44 commands. cli.azure.cli.core: Found a match in the command table. cli.azure.cli.core: Raw command : dataprotection backup-instance create cli.azure.cli.core: Command table: dataprotection backup-instance create cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x705215a6dc60>] cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/christophm/.azure/commands/2024-04-12.10-46-41.dataprotection_backup-instance_create.982419.log'. az_command_data_logger: command args: dataprotection backup-instance create -g {} --vault-name {} --backup-instance {} --debug cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x705215ab2d40>] cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad [] cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x705215ad5f80>, <function register_cache_arguments..add_cache_arguments at 0x705215ad60c0>] cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded [] cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [] cli.azure.cli.core.util: attempting to read file backup_instance.json as utf-8-sig cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x705216b56200>, <function CLIQuery.handle_query_parameter at 0x705216b8fce0>, <function register_ids_argument..parse_ids_arguments at 0x705215ad6020>] az_command_data_logger: extension name: dataprotection az_command_data_logger: extension version: 1.0.0 This command is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus cli.azure.cli.core.auth.persistence: build_persistence: location='/home/christophm/.azure/msal_token_cache.json', encrypt=False cli.azure.cli.core.auth.binary_cache: load: /home/christophm/.azure/msal_http_cache.bin urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/ff930651-2670-491e-9a70-7847e7fbf8b7/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/ff930651-2670-491e-9a70-7847e7fbf8b7/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/ff930651-2670-491e-9a70-7847e7fbf8b7/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/ff930651-2670-491e-9a70-7847e7fbf8b7/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/ff930651-2670-491e-9a70-7847e7fbf8b7/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/ff930651-2670-491e-9a70-7847e7fbf8b7/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/ff930651-2670-491e-9a70-7847e7fbf8b7/kerberos', 'tenant_region_scope': 'EU', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? None cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: beb2dd34-9a00-4eed-9d02-c310e8c161ac cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/validateForBackup?api-version=2023-11-01' cli.azure.cli.core.sdk.policies: Request method: 'POST' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json' cli.azure.cli.core.sdk.policies: 'Accept': 'application/json' cli.azure.cli.core.sdk.policies: 'Content-Length': '751' cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '2ef8cd33-f8a9-11ee-8b98-6716885f6766' cli.azure.cli.core.sdk.policies: 'CommandName': 'dataprotection backup-instance create' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-g --vault-name --backup-instance --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.59.0 (DEB) azsdk-python-core/1.28.0 Python/3.11.8 (Linux-6.5.0-27-generic-x86_64-with-glibc2.35)' cli.azure.cli.core.sdk.policies: 'Authorization': '*' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: {"backupInstance": {"dataSourceInfo": {"datasourceType": "Microsoft.Storage/storageAccounts/blobServices", "objectType": "Datasource", "resourceID": "/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.Storage/storageAccounts/aascmeibdocweuknocksa", "resourceLocation": "westeurope", "resourceName": "aascmeibdocweuknocksa", "resourceType": "Microsoft.Storage/storageAccounts", "resourceUri": ""}, "friendlyName": "aascmeibdocweuknocksa", "objectType": "BackupInstance", "policyInfo": {"policyId": "/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/backupPolicies/docs-backup-policy"}}} urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443 urllib3.connectionpool: https://management.azure.com:443 "POST /subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/validateForBackup?api-version=2023-11-01 HTTP/1.1" 202 0 cli.azure.cli.core.sdk.policies: Response status: 202 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'Location': 'https://management.azure.com/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/providers/Microsoft.DataProtection/locations/westeurope/operationResults/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==?api-version=2023-11-01&t=638485084028696147&c=MIIHADCCBeigAwIBAgITHgPqjiEYPbwplso53QAAA-qOITANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMxMTUwNjMwWhcNMjUwMTI1MTUwNjMwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM9KMX78fyew-eiggqjYM5A7ayuz0272xkOMnGH7qgN4mYZWzDMuFkoNaICFPynTgipZL2O0kJl7_KksAG5PRkxKu8bCPX3kO5_6vZohrPzoA4JXM1Jio7ZjNJgr8AHujjthjLWyW57mLuXN-UsiSNtEzvAltEoC3RXjdmhvb5Y6pPkXH9pqkVHedQyErBC4GtX4MC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nvKqwZCgd2x4VTWXGi1jsdQas08Pi6V_MNZ37ZDGctYiwSMHk1TxUQ9aTQs5IvPMpVrXRX-g&h=Pz8dA7WnZcN_d6gBaTW4ActFKZQRe4H9Q-KpkvLniRw' cli.azure.cli.core.sdk.policies: 'Retry-After': '10' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Azure-AsyncOperation': 'https://management.azure.com/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/operationStatus/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==?api-version=2023-11-01&t=638485084028539861&c=MIIHADCCBeigAwIBAgITHgPqjiEYPbwplso53QAAA-qOITANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMxMTUwNjMwWhcNMjUwMTI1MTUwNjMwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM9KMX78fyew-eiggqjYM5A7ayuz0272xkOMnGH7qgN4mYZWzDMuFkoNaICFPynTgipZL2O0kJl7_KksAG5PRkxKu8bCPX3kO5_6vZohrPzoA4JXM1Jio7ZjNJgr8AHujjthjLWyW57mLuXN-UsiSNtEzvAltEoC3RXjdmhvb5Y6pPkXH9pqkVHedQyErBC4GtX4MCPLUNA73oD4IZMnhTmr40ghlOdWrJvrhbFvUZ2wt0Dypyrbpsznd_EaLmIP6xb6jnYJkKGN3iodNY6d4iXW4_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vqdr44CAD8wOxBHt2z_OuqBNyWo5pK1SdkT_g' cli.azure.cli.core.sdk.policies: 'Server': 'Kestrel' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-writes': '1199' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'd000d310-c992-4434-a5c9-1b24dcbb2ddd' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'd000d310-c992-4434-a5c9-1b24dcbb2ddd' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'GERMANYWESTCENTRAL:20240412T084642Z:d000d310-c992-4434-a5c9-1b24dcbb2ddd' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 12 Apr 2024 08:46:42 GMT' cli.azure.cli.core.sdk.policies: 'Content-Length': '0' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/operationStatus/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==?api-version=2023-11-01&t=638485084028539861&c=MIIHADCCBeigAwIBAgITHgPqjiEYPbwplso53QAAA-qOITANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMxMTUwNjMwWhcNMjUwMTI1MTUwNjMwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJ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iRGicSc4gSFKWMi2MAR9AuzUpk14Lv_cu6Hf5kWfiDLw6gukgsJFnTASF2tm1ZphDuNca0yO0u5Wib7NlTzbq34JXdEXoCTTi4Bed_YC2AfRj_stgwHCsqD8EMfGSfd7_EX4mZeeyMV6-NImR0U_jnWZW4W2Iw2tnoD5oBHJELuynKsUYjd4QNk27f6HxHiH2Mf1mrCY0gmj-FQ6OH5ufL52iVkUQftfrN9ktdjQ1m2XNGtCQzTHC0CORVrECUU-UKbBbUVkbilB4TVKwXSkmH8LgG3JrU3l-2XpQdg&h=wNuMO4vqdr44CAD8wOxBHt2z_OuqBNyWo5pK1SdkT_g' cli.azure.cli.core.sdk.policies: Request method: 'GET' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '2ef8cd33-f8a9-11ee-8b98-6716885f6766' cli.azure.cli.core.sdk.policies: 'CommandName': 'dataprotection backup-instance create' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-g --vault-name --backup-instance --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.59.0 (DEB) azsdk-python-core/1.28.0 Python/3.11.8 (Linux-6.5.0-27-generic-x86_64-with-glibc2.35)' cli.azure.cli.core.sdk.policies: 'Authorization': '*' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: This request has no body urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/operationStatus/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==?api-version=2023-11-01&t=638485084028539861&c=MIIHADCCBeigAwIBAgITHgPqjiEYPbwplso53QAAA-qOITANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JM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U7x2suTztZ-F8ps-IIh-wSxr005kAmMunvpSpoTp4cmx8cUv68vtCj-iCL7b3R3uZRO2FYiNibQP5c3NgyURhem3d2_itbwFWBo3tXCfm-iQkevoQfx8h9YeitwpIXlFHVRRbbdls8uN0vCF7bUUHTuAkzGw_DuC9LiMV9upIk&s=Xmr-AggGoKbwEZki-KdkgIUt2fTFBDElSnMW_V9uerNke1JiRGicSc4gSFKWMi2MAR9AuzUpk14Lv_cu6Hf5kWfiDLw6gukgsJFnTASF2tm1ZphDuNca0yO0u5Wib7NlTzbq34JXdEXoCTTi4Bed_YC2AfRj_stgwHCsqD8EMfGSfd7_EX4mZeeyMV6-NImR0U_jnWZW4W2Iw2tnoD5oBHJELuynKsUYjd4QNk27f6HxHiH2Mf1mrCY0gmj-FQ6OH5ufL52iVkUQftfrN9ktdjQ1m2XNGtCQzTHC0CORVrECUU-UKbBbUVkbilB4TVKwXSkmH8LgG3JrU3l-2XpQdg&h=wNuMO4vqdr44CAD8wOxBHt2z_OuqBNyWo5pK1SdkT_g HTTP/1.1" 200 489 cli.azure.cli.core.sdk.policies: Response status: 200 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '489' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-resource-requests': '999' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Server': 'Kestrel' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'f22ef883-48e8-4422-b09d-7bea7ba7d04f' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'f22ef883-48e8-4422-b09d-7bea7ba7d04f' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'GERMANYWESTCENTRAL:20240412T084643Z:f22ef883-48e8-4422-b09d-7bea7ba7d04f' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 12 Apr 2024 08:46:42 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/operationStatus/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==","name":"ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==","status":"Inprogress","startTime":"2024-04-12T08:46:42.7444665Z","endTime":"0001-01-01T00:00:00Z"} cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/operationStatus/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==?api-version=2023-11-01&t=638485084028539861&c=MIIHADCCBeigAwIBAgITHgPqjiEYPbwplso53QAAA-qOITANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMxMTUwNjMwWhcNMjUwMTI1MTUwNjMwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ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_DuC9LiMV9upIk&s=Xmr-AggGoKbwEZki-KdkgIUt2fTFBDElSnMW_V9uerNke1JiRGicSc4gSFKWMi2MAR9AuzUpk14Lv_cu6Hf5kWfiDLw6gukgsJFnTASF2tm1ZphDuNca0yO0u5Wib7NlTzbq34JXdEXoCTTi4Bed_YC2AfRj_stgwHCsqD8EMfGSfd7_EX4mZeeyMV6-NImR0U_jnWZW4W2Iw2tnoD5oBHJELuynKsUYjd4QNk27f6HxHiH2Mf1mrCY0gmj-FQ6OH5ufL52iVkUQftfrN9ktdjQ1m2XNGtCQzTHC0CORVrECUU-UKbBbUVkbilB4TVKwXSkmH8LgG3JrU3l-2XpQdg&h=wNuMO4vqdr44CAD8wOxBHt2z_OuqBNyWo5pK1SdkT_g' cli.azure.cli.core.sdk.policies: Request method: 'GET' cli.azure.cli.core.sdk.policies: Request headers: cli.azure.cli.core.sdk.policies: 'x-ms-client-request-id': '2ef8cd33-f8a9-11ee-8b98-6716885f6766' cli.azure.cli.core.sdk.policies: 'CommandName': 'dataprotection backup-instance create' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '-g --vault-name --backup-instance --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.59.0 (DEB) azsdk-python-core/1.28.0 Python/3.11.8 (Linux-6.5.0-27-generic-x86_64-with-glibc2.35)' cli.azure.cli.core.sdk.policies: 'Authorization': '*****' cli.azure.cli.core.sdk.policies: Request body: cli.azure.cli.core.sdk.policies: This request has no body urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/operationStatus/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==?api-version=2023-11-01&t=638485084028539861&c=MIIHADCCBeigAwIBAgITHgPqjiEYP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0190Q1YW1uKGu5mBao3mZ3THTIw3ykZDXyYwk7yv94xHqlfQIRZsex4HYQ4WKwtU7x2suTztZ-F8ps-IIh-wSxr005kAmMunvpSpoTp4cmx8cUv68vtCj-iCL7b3R3uZRO2FYiNibQP5c3NgyURhem3d2_itbwFWBo3tXCfm-iQkevoQfx8h9YeitwpIXlFHVRRbbdls8uN0vCF7bUUHTuAkzGw_DuC9LiMV9upIk&s=Xmr-AggGoKbwEZki-KdkgIUt2fTFBDElSnMW_V9uerNke1JiRGicSc4gSFKWMi2MAR9AuzUpk14Lv_cu6Hf5kWfiDLw6gukgsJFnTASF2tm1ZphDuNca0yO0u5Wib7NlTzbq34JXdEXoCTTi4Bed_YC2AfRj_stgwHCsqD8EMfGSfd7_EX4mZeeyMV6-NImR0U_jnWZW4W2Iw2tnoD5oBHJELuynKsUYjd4QNk27f6HxHiH2Mf1mrCY0gmj-FQ6OH5ufL52iVkUQftfrN9ktdjQ1m2XNGtCQzTHC0CORVrECUU-UKbBbUVkbilB4TVKwXSkmH8LgG3JrU3l-2XpQdg&h=wNuMO4vqdr44CAD8wOxBHt2z_OuqBNyWo5pK1SdkT_g HTTP/1.1" 200 1246 cli.azure.cli.core.sdk.policies: Response status: 200 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '1246' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-resource-requests': '998' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Server': 'Kestrel' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'daa7dd73-70b7-4e73-9dbd-f825b17439a6' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'daa7dd73-70b7-4e73-9dbd-f825b17439a6' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'GERMANYWESTCENTRAL:20240412T084713Z:daa7dd73-70b7-4e73-9dbd-f825b17439a6' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'Date': 'Fri, 12 Apr 2024 08:47:12 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"id":"/subscriptions/c7309697-87c5-45cf-a55b-37d436c13bed/resourceGroups/aas-cmei-b-weu-knock-rg/providers/Microsoft.DataProtection/backupVaults/doc-backup-vault/operationStatus/ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==","name":"ZWJjMWVmODYtMDExZi00ZmE5LWI5MjgtNzNmZjE5YTIyNDE4OzgzMGVkY2U4LWM3NDItNDhiZC1hNDg3LWM3MGUwYjdmNDIwNg==","status":"Failed","error":{"additionalInfo":[{"type":"UserFacingError","info":{"message":"No containers selected for operation.","recommendedAction":["No containers selected for the operation. Select valid containers and trigger the operation. For more details, refer to https://aka.ms/UserErrorNoContainersSelectedForOperation "],"code":"UserErrorNoContainersSelectedForOperation","target":"","innerError":{"code":"ContainerListNullOrEmpty","additionalInfo":{"DetailedNonLocalisedMessage":"Failed to get container list from request - Container list received null"}},"isRetryable":false,"isUserError":false,"properties":{"ActivityId":"2ef8cd33-f8a9-11ee-8b98-6716885f6766"}}}],"code":"UserErrorNoContainersSelectedForOperation","message":"No containers selected for operation."},"startTime":"2024-04-12T08:46:42.7444665Z","endTime":"2024-04-12T08:47:03Z"} cli.azure.cli.core.azclierror: Traceback (most recent call last): File "/opt/az/lib/python3.11/site-packages/azure/core/polling/base_polling.py", line 730, in run self._poll() File "/opt/az/lib/python3.11/site-packages/azure/core/polling/base_polling.py", line 762, in _poll raise OperationFailed("Operation failed or canceled") azure.core.polling.base_polling.OperationFailed: Operation failed or canceled

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/opt/az/lib/python3.11/site-packages/azure/cli/core/aaz/_poller.py", line 45, in run super().run() File "/opt/az/lib/python3.11/site-packages/azure/core/polling/base_polling.py", line 745, in run raise HttpResponseError(response=self._pipeline_response.http_response, error=err) from err azure.core.exceptions.HttpResponseError: (UserErrorNoContainersSelectedForOperation) No containers selected for operation. Code: UserErrorNoContainersSelectedForOperation Message: No containers selected for operation.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/az/lib/python3.11/site-packages/knack/cli.py", line 233, in invoke cmd_result = self.invocation.execute(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 664, in execute raise ex File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 731, in _run_jobs_serially results.append(self._run_job(expanded_arg, cmd_copy)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 712, in _run_job result = LongRunningOperation(cmd_copy.cli_ctx, 'Starting {}'.format(cmd_copy.name))(result) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 1048, in call raise exception File "/opt/az/lib/python3.11/site-packages/azure/cli/core/commands/init.py", line 1035, in call result = poller.result() ^^^^^^^^^^^^^^^ File "/opt/az/lib/python3.11/site-packages/azure/cli/core/aaz/_poller.py", line 108, in result self.wait(timeout) File "/opt/az/lib/python3.11/site-packages/azure/core/tracing/decorator.py", line 76, in wrapper_use_tracer return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/az/lib/python3.11/site-packages/azure/cli/core/aaz/_poller.py", line 130, in wait raise self._exception File "/opt/az/lib/python3.11/site-packages/azure/cli/core/aaz/_poller.py", line 94, in _start raise error File "/opt/az/lib/python3.11/site-packages/azure/cli/core/aaz/_poller.py", line 86, in _start self._polling_method.run() File "/opt/az/lib/python3.11/site-packages/azure/cli/core/aaz/_poller.py", line 50, in run self._http_response_error_callback(err.response) File "/opt/az/lib/python3.11/site-packages/azure/cli/core/aaz/_operation.py", line 332, in on_error raise HttpResponseError(response=response, error_format=error_format) azure.core.exceptions.HttpResponseError: (UserErrorNoContainersSelectedForOperation) No containers selected for operation. Code: UserErrorNoContainersSelectedForOperation Message: No containers selected for operation. Additional Information:Type: UserFacingError Info: { "message": "No containers selected for operation.", "recommendedAction": [ "No containers selected for the operation. Select valid containers and trigger the operation. For more details, refer to https://aka.ms/UserErrorNoContainersSelectedForOperation " ], "code": "UserErrorNoContainersSelectedForOperation", "target": "", "innerError": { "code": "ContainerListNullOrEmpty", "additionalInfo": { "DetailedNonLocalisedMessage": "Failed to get container list from request - Container list received null" } }, "isRetryable": false, "isUserError": false, "properties": { "ActivityId": "2ef8cd33-f8a9-11ee-8b98-6716885f6766" } }

cli.azure.cli.core.azclierror: (UserErrorNoContainersSelectedForOperation) No containers selected for operation. Code: UserErrorNoContainersSelectedForOperation Message: No containers selected for operation. Additional Information:Type: UserFacingError Info: { "message": "No containers selected for operation.", "recommendedAction": [ "No containers selected for the operation. Select valid containers and trigger the operation. For more details, refer to https://aka.ms/UserErrorNoContainersSelectedForOperation " ], "code": "UserErrorNoContainersSelectedForOperation", "target": "", "innerError": { "code": "ContainerListNullOrEmpty", "additionalInfo": { "DetailedNonLocalisedMessage": "Failed to get container list from request - Container list received null" } }, "isRetryable": false, "isUserError": false, "properties": { "ActivityId": "2ef8cd33-f8a9-11ee-8b98-6716885f6766" } } az_command_data_logger: (UserErrorNoContainersSelectedForOperation) No containers selected for operation. Code: UserErrorNoContainersSelectedForOperation Message: No containers selected for operation. Additional Information:Type: UserFacingError Info: { "message": "No containers selected for operation.", "recommendedAction": [ "No containers selected for the operation. Select valid containers and trigger the operation. For more details, refer to https://aka.ms/UserErrorNoContainersSelectedForOperation " ], "code": "UserErrorNoContainersSelectedForOperation", "target": "", "innerError": { "code": "ContainerListNullOrEmpty", "additionalInfo": { "DetailedNonLocalisedMessage": "Failed to get container list from request - Container list received null" } }, "isRetryable": false, "isUserError": false, "properties": { "ActivityId": "2ef8cd33-f8a9-11ee-8b98-6716885f6766" } } cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x705215a6dee0>] az_command_data_logger: exit code: 1 cli.main: Command ran in 31.743 seconds (init: 0.089, invoke: 31.654) telemetry.main: Begin splitting cli events and extra events, total events: 1 telemetry.client: Accumulated 0 events. Flush the clients. telemetry.main: Finish splitting cli events and extra events, cli events: 1 telemetry.save: Save telemetry record of length 4907 in cache telemetry.main: Begin creating telemetry upload process. telemetry.process: Creating upload process: "/opt/az/bin/python3 /opt/az/lib/python3.11/site-packages/azure/cli/telemetry/init.py /home/christophm/.azure" telemetry.process: Return from creating process telemetry.main: Finish creating telemetry upload process.

Expected behavior

Create a backup instance for the storage account in the backup vault with the existing policy.

Environment Summary

az --version azure-cli 2.59.0

core 2.59.0 telemetry 1.1.0

Extensions: dataprotection 1.0.0 eventgrid 1.0.0b1

Dependencies: msal 1.27.0 azure-mgmt-resource 23.1.0b2

Python location '/opt/az/bin/python3' Extensions directory '/home/christophm/.azure/cliextensions'

Python (Linux) 3.11.8 (main, Mar 27 2024, 04:03:04) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

yonzhan commented 7 months ago

Thank you for opening this issue, we will look into it.

ricred commented 6 months ago

Any news on this problem ? I am facing the same issue.

S0meth1ng85 commented 6 months ago

I am receiving the same error when trying to configure SA backup with policy which has Operational data store type and only one settings about retention for 7 days.

On the validation phase under Containers I see: Operational policy does not need container selections but in Backup Readiness column I have the same error as a topic starter.

swissbuechi commented 5 months ago

Same issue here.

@pospich0815 Would you mind sharing your solution with the manual HTTP call?

Edit: I just used the Azure portal for now: https://learn.microsoft.com/en-us/azure/backup/blob-backup-configure-manage?tabs=operational-backup#configure-backups

pospich0815 commented 5 months ago

@swissbuechi I mean I have used this procedure. Creating manually was not an option for me, as the entire application is deployed automatically in a GO Cli. So I used a mix of az cli commands and this one http call to create the dataprotection. I hope that there will be an update soon that solves the problem.

Salazander commented 1 month ago

I am facing the same issue. The json returned by az dataprotection backup-instance initialize is incomplete within the policyInfo-object. It returns "policy_parameters": null instead of something like:

        "policyInfo": {
            "policyId": "/subscriptions/XXX/resourceGroups/YYY/providers/Microsoft.DataProtection/backupVaults/XYZ/backupPolicies/ZZZ",
            "policyVersion": "",
            "policyParameters": {
                "backupDatasourceParametersList": [
                    {
                        "objectType": "BlobBackupDatasourceParameters",
                        "containersList": [
                            "XYZ"
                        ]
                    }
                ]
            }
        }

As a workaround, I am using a templatized version of a valid configuration file. After replacing the placeholders with valid values, I can proceed with az dataprotection backup-instance create.

Here's an example:

{
  "backup_instance_name": "{UNIQUE-NAME}",
  "properties": {
    "data_source_info": {
      "datasource_type": "Microsoft.Storage/storageAccounts/blobServices",
      "object_type": "Datasource",
      "resource_id": "/subscriptions/{UUID}/resourceGroups/{RG-NAME}/providers/Microsoft.Storage/storageAccounts/{STORAGE-ACCOUNT-NAME}",
      "resource_location": "{LOCATION-ID}",
      "resource_name": "{STORAGE-ACCOUNT-NAME}",
      "resource_type": "Microsoft.Storage/storageAccounts",
      "resource_uri": "/subscriptions/{UUID}/resourceGroups/{RG-NAME}/providers/Microsoft.Storage/storageAccounts/{STORAGE-ACCOUNT-NAME}"
    },
    "datasource_auth_credentials": null,
    "friendly_name": "{DISPLAY-NAME}",
    "object_type": "BackupInstance",
    "policy_info": {
      "policy_id": "/subscriptions/{UUID}/resourceGroups/{RG-NAME}/providers/Microsoft.DataProtection/backupVaults/{VAULT-NAME}/backupPolicies/{POLICY-NAME}",
      "policy_parameters": {
        "backup_datasource_parameters_list": [
          {
            "object_type": "BlobBackupDatasourceParameters",
            "containers_list": [ "{CONTAINER-NAME}" ]
          }
        ]
      }
    }
  },
  "tags": null
}
eqqe commented 3 weeks ago

The missing block for policyParameters seems to be given by the following command that can be merged automatically.

BACKUP_CONFIG_JSON="backup_config.json"
BACKUP_INSTANCE_JSON="backup_instance.json"

az dataprotection backup-instance initialize-backupconfig --datasource-type "AzureBlob" --include-all-containers --storage-account-rg "$RESSOURCE_GROUP" --storage-account-name "$STORAGE_ACCOUNT_NAME" > $BACKUP_CONFIG_JSON

az dataprotection backup-instance initialize --datasource-type AzureBlob  -l $LOCATION --policy-id "$BACKUP_POLICY_ID" --datasource-id "$STORAGE_ACCOUNT_ID" --backup-configuration "$BACKUP_CONFIG_JSON" > $BACKUP_INSTANCE_JSON

Returns the missing block in backup_instance.json

{
  "backup_instance_name": "XXXX",
  "properties": {
    "data_source_info": {
      "datasource_type": "Microsoft.Storage/storageAccounts/blobServices",
      "object_type": "Datasource",
      "resource_id": "/subscriptions/YYYYYY/resourceGroups/group/providers/Microsoft.Storage/storageAccounts/ZZZZZZ",
      "resource_location": "LLLLL",
      "resource_name": "ZZZZZZZZZ",
      "resource_type": "Microsoft.Storage/storageAccounts",
      "resource_uri": "/subscriptions/YYYYYY/resourceGroups/group/providers/Microsoft.Storage/storageAccounts/ZZZZZZ"
    },
    "data_source_set_info": null,
    "datasource_auth_credentials": null,
    "friendly_name": "ZZZZZZ",
    "object_type": "BackupInstance",
    "policy_info": {
      "policy_id": "",
      "policy_parameters": {
        "backup_datasource_parameters_list": [
          {
            "containers_list": [
              "container1"
            ],
            "object_type": "BlobBackupDatasourceParameters"
          }
        ]
      }
    }
  },
  "tags": null
}