Azure has announced that unmanaged disks will no longer be supported starting on September 30th, 2025. After that date, any VMs that have unmanaged disks attached to them will be automatically stopped and will be unlaunchable. Users that have configured the BOSH Director to use storage accounts must migrate to using managed disks before that date.
For more information, see Migrate your Azure unmanaged disks by September 30, 2025.
Customers will be required to follow the instructions in Migrating from Storage Accounts to Managed Disks on Azure prior to September 30th, 2025 to mitigate the impact of the change.
In the process of the applying the above document, the customer might see the following error when applying change on Ops Manager.
CPI 'attach_disk' method responded with error: CmdError{"type":"Bosh::Clouds::CloudError","message":"This function should only be called for unmanaged disks","ok_to_retry":false}
This error occurs when a VM has already been migrated to managed disks, but a new deploy attempt has been made using unmanaged disks instead.
There is no migration path backwards from managed disks to unmanaged disk and you can only migrate forwards from unmanaged disks to managed disks.
To check if bosh is using managed disk:
To continue the migration users should: