-
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
Disk resize fails when using Ansible 2.15 #2043
Comments
It looks like you're using community.vmware 3.5.0 but this is quite old. Do you run into the same issue with |
@mariolenz Sorry about the delay but 4.3.0 doesn't appear to fix it. |
Having this same issue as well. I noticed that people were stating they fixed their issue by adding scsi_type, but seems like it still does not work on my end either. It looks like they were using community version 2.8 instead. I may revert back to this. |
@SwiperNo Have you been able to come up with a fix for it on modern Ansible versions? |
I've worked with the bug for awhile, but I have not tried on 2.17. I thought since this issues was open and everyone hates Broadcom, I thought it would never be resolved. I'll research in the morning and update this week. |
@SwiperNo How have you worked with it? Besides using an old Ansible version, we haven't been able to get it to work. |
I have converted our templates to paravirtual for now so the default option does not fail due to this bug. Another option is to manually fix the bug in your collections path. |
@SwiperNo How would you fix this one in the code in the collection path? I haven't found anything in the code which (at least to me) would cause this problem. |
SUMMARY
community.vmware
is used to build Windows VMs in vSphere. The playbook has existed for a while and used to work but when using it in an Ansible 2.15 execution environment, it fails. It seems to work under 2.9 though. The error is:This error is coming from VMware as it shows in the vSphere web UI. However, resizing the disks in the web UI works, as does Ansible 2.9.
ISSUE TYPE
COMPONENT NAME
vmware_guest_disk
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
vsphere 7.0, Windows VM
STEPS TO REPRODUCE
EXPECTED RESULTS
I would expect the play to resize the disks in vSphere.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: