简体   繁体   中英

Disk attachment issue in azure scaleset VM

I am using command to create and attach disk at the time of VM creation in azure scaleset.

az az disk create --options az vmss disk attach --options

the first command creates disk but when the second command starts, it keeps on running. Disk gets attached but it never release the execution of "az vmss disk attach" command.So the custom script times out after couple of hours.

Any idea, why this happens so.

thanks

I did the test, was able to create disk and attach it to vm scale set. Check below -

在此处输入图片说明

在此处输入图片说明

I got no issues. Please check if you are running similar commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM