Open kbreit opened 6 months ago
It looks like you're using community.vmware 3.5.0 but this is quite old. Do you run into the same issue with 3.11.2 / 4.2.0 3.11.3 / 4.3.0?
@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?
@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.
@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