ovirt_disk :: Duplicate disk names causes wrong disk to be extended #41008
Labels
affects_2.5
This issue/PR affects Ansible v2.5
bug
This issue/PR relates to a bug.
cloud
deprecated
This issue/PR relates to a deprecated module.
module
This issue/PR relates to a module.
ovirt
oVirt and RHV community
support:community
This issue/PR relates to code supported by the Ansible community.
traceback
This issue/PR includes a traceback.
SUMMARY
The ovirt_disks module does not reliably extend disks when they are specified by
name
andvm_name
. If two disks exist that share the same name, then the first result is always selected.The passed
vm_name
should be used to filter the search results and select the correct disk.ISSUE TYPE
COMPONENT NAME
ovirt_disks
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Running from: MacOS
Managing: Red Hat Enterprise Linux 7.4
STEPS TO REPRODUCE
EXPECTED RESULTS
The disk to be expanded.
ACTUAL RESULTS
The wrong disk is "found" and ovirt attempts expansion (unsuccessfully, in this case).
The text was updated successfully, but these errors were encountered: