There are several reasons where users may fail to export / import Redis Cache data. To ease the troubleshooting process, this blog will follow the subsequent structure to introduce some possible causes and troubleshooting methods in detail.
Symptoms:
Error message: “The request to export data from cache ‘testexport’ failed with status ‘error’ and error ‘AuthorizationFailure: this request is not authorized to perform this operation’
Request ID: 05e9db08-301e-0068-3d64-a569cd000000
Time: 2022-08-01T05:09:34.7925950Z”.
Possible Reasons: target storage account has enabled firewall setting.
Mitigation Methods:
Option 1: disable storage firewall setting
Option 2: enable managed identity for existing Redis Cache: Enable Managed Identity . Choose either type of managed identity below to achieve the same goal (Note: managed identity functionality is only available in the Premium tier)
Symptoms:
Error Message: "(Conflict) The resource '/subscription/xxx/resourceGroups/xxx/providers/Microsoft.Cache/Redis/testexport' is busy processing a previous update request or is undergoing system maintenance. As such, it is currently unable to accept the update request. Please try again later.
RequestID: 8e2a97e0-0c22-48c5-9e9a-b9554f61f83e"
Possible Reasons: multiple requests were sent to the same Redis Cache concurrently. The previous export job has not completed either due to long running job needs more time or stuck in the backend for some reasons.
Mitigation Methods:
Symptom:
Error message: “The request to export data from cache 'textexport' failed with status error and error 'BlobTypeNotSupported: Page blob is not supported for this account type.
RequestID: cd355d17-701e-007c-58e7-a66d23000000
Time:2022-08-03T03:17:31.8342062Z'”.
Possible Reasons: exporting Redis Cache works only with RDB files stored as page blobs and target storage account does not support page bob - Supported blob type when export Redis.
Mitigation Methods: use premium page blob account or normal standard general-purpose V2 account.
Symptom:
Usually the Authorization Failure during import process consists of IP authorization(from local machine to target storage account) and authorization error(from target storage account to Redis Cache).
Possible Reasons: target storage account has enabled firewall setting.
Mitigation Methods:
Option 1: disable target storage account firewall setting.
Option 2: Alternatively, whitelist the IP address and make use of managed identity to import Redis.
a. Go to Azure Portal and choose target storage account. From Networking panel, whitelist desired IP address.
b. Enable managed identity to import data when firewall setting is switched on (refer to the document for more details: Enable Managed Identity)
Symptoms:
Error Message: "(Conflict) The resource '/subscription/xxx/resourceGroups/xxx/providers/Microsoft.Cache/Redis/testexport' is busy processing a previous update request or is undergoing system maintenance. As such, it is currently unable to accept the update request. Please try again later.
RequestID: 9bda6421-f232-4a1d-8e03-02a17ee6659f"
Possible Reasons: multiple requests were sent to the same Redis Cache concurrently. The previous import job has not completed either due to long running job needs more time or stuck in the backend for some reasons.
Mitigation Methods:
Symptoms:
Error Message: "One of the SAS URIs provided could not be used for the following reason: The data contained within the selected blob cannot be imported because it is not in a supported format. Please select a blob in the Redis RDB file format. As an example, a blob that was exported from a premium tier instance would be in the correct format
RequestID=f3dec171-e48a-484d-a544-88c33909d466"
Possible Reasons: RDB/AOF persisted data files cannot be imported to a new cache.
Mitigation Methods:
As mentioned in official document , RDB/AOF persisted data files cannot be imported to a new cache. Therefore, to successfully move data across cache, you need to make use of export/import feature to first export the data file and then import the data file into new Redis Cache. For more details on this, please refer to the page .
Symptoms:
Error Message: "The resource '/subscription/xxx/resourceGroups/xxx/providers/Microsoft.Cache/Redis/<cache name>' is busy processing a previous update request or is undergoing system maintenance. As such, it is currently unable to accept the update request. Please try again later.
RequestID: xxx"
Error A:
Error B:
Error C:
Information of Redis export/import compatibility
Source of RDB | OSS4 | OSS6 | RE6 |
OSS4 | Supported | Supported | Supported |
OSS6 | not supported (error A) | Supported | Supported |
RE6 | not supported (error B) | not supported (error B) | Supported |
unzipped RE6 | not supported (error C) | Supported | Supported |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.