-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support of Write Accelerator to azure_rm_manageddisk #430
Comments
@AndriyDmytrenko Thank you for asking this question. I will investigate and add this Feature! Thank you very much! |
I realize this is an older feature request but this would be very useful for our team as well. We have a large inventory of M-series VMs that have Write Accelerator enabled which we'll be managing with Ansible. Our workaround right now is using a custom execution environment with the AZ CLI installed then using "az vm update -g <rg_name> -n <vm_name> --write-accelerator <disk_lun_num>=true" via the Command module. What takes about 15-20 lines of YAML could be cut down to 1 by adding this option. |
Hi, is there any progress in this case? This issue/request is open since 2021 and since 2023 marked as high_priority. By the way, it would go hand in hand with changes to the _info Module as well, as it shows "None" for attach_caching when Write Accelerator is enabled. Seems like the "issue" starts deeper, as the azure.mgmt.compute (which is used by Ansible) is lacking it as well:
So the Python SDK for Azure doesn't offer a solution for this issue. |
@AndriyDmytrenko @unkaputtbar112 I am very sorry for missing this problem, I will add this function as soon as possible, thank you! |
@AndriyDmytrenko @unkaputtbar112 I added parameter 'write_accelerator_enabled' in #1808, you can try it out, thank you! |
SUMMARY
Write Accelerator support would be nice to have implemented for Azure managed disks.
https://docs.microsoft.com/en-us/azure/virtual-machines/how-to-enable-write-accelerator
On the azure portal it is configurable as part of the Host Caching option, so I think the best place to add it to is attach_caching as well, or by adding another key - write_accelerator: yes/no
ISSUE TYPE
COMPONENT NAME
azure_rm_manageddisk
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: