Applayering - unable to create image versions when using Azure Deployments Connector

book

Article ID: CTX695232

calendar_today

Updated On:

Description

We are unable to create image versions when using the Azure Deployments Connector.

Error:

An unexpected system error occurred. If your ELM is not running the latest release, please try to upgrade it and retry the operation. If it continues to fail while running the latest release, please contact technical support. Exception Message: Too many simultaneous imports or exports using disk access object. The current cap is 5. Revoke some active access tokens before creating more access requests. Current resources with active access tokens: 

In Azure we can see the following error:

Environment

"Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items." 

Cause

When we upload the CE boot image, we create a disk access token to upload the bits to the newly created disk.

Azure has a limit on how many access tokens can be created per disk access object.

They are using a disk access object that is also be used outside of app layering, and something else is eating up all the available tokens

https://learn.microsoft.com/en-us/azure/virtual-machines/disks-enable-private-links-for-import-export-portal

https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview#best-practices-when-using-sas

 

Resolution

Revoke additional access tokens in Azure

refer to "Have a revocation plan in place for any SAS that you issue to clients" section in this link

https://learn.microsoft.com/en-us/azure/storage/blobs/security-recommendations

Issue/Introduction

We are unable to create image versions when using the Azure Deployments Connector.

Error:

An unexpected system error occurred. If your ELM is not running the latest release, please try to upgrade it and retry the operation. If it continues to fail while running the latest release, please contact technical support. Exception Message: Too many simultaneous imports or exports using disk access object. The current cap is 5. Revoke some active access tokens before creating more access requests. Current resources with active access tokens: