Skip to content
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

vmware_guest_disk: add support for setting the sharing mode of virtual disks #212

Closed
cspeidel opened this issue May 29, 2020 · 0 comments · Fixed by #214
Closed

vmware_guest_disk: add support for setting the sharing mode of virtual disks #212

cspeidel opened this issue May 29, 2020 · 0 comments · Fixed by #214

Comments

@cspeidel
Copy link
Contributor

cspeidel commented May 29, 2020

SUMMARY

This feature should allow setting the sharing mode of the virtual disk.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

plugins/modules/vmware_guest_disk.py

ADDITIONAL INFORMATION

Setting the sharing to multi writer means that multiple virtual machines can write to the virtual disk. This sharing mode is allowed only for eagerly zeroed thick virtual disks[1].

References:

[1] vSphere WS API: https://vdc-download.vmware.com/vmwb-repository/dcr-public/b50dcbbf-051d-4204-a3e7-e1b618c1e384/538cf2ec-b34f-4bae-a332-3820ef9e7773/vim.vm.device.VirtualDisk.FlatVer2BackingInfo.html

cspeidel added a commit to cspeidel/vmware that referenced this issue Jun 3, 2020
…lections#212)

refactor disk sharing into get_sharing method

add integration tests

add changelog fragment
ansible-zuul bot pushed a commit that referenced this issue Jun 4, 2020
misacek007 pushed a commit to misacek007/vmware that referenced this issue Jun 5, 2020
phsmith pushed a commit to phsmith/vmware that referenced this issue Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant