ansible-collections / community.vmware

Ansible Collection for VMware
GNU General Public License v3.0
352 stars 336 forks source link

vvol #1273

Open anthonyglidic opened 2 years ago

anthonyglidic commented 2 years ago
SUMMARY

Possibilty to deploy or storage vmotion to a vvol datastore

ISSUE TYPE
COMPONENT NAME

vmware_guest / vmware_guest_storage_policy / vmware.vmware_vmotion

ADDITIONAL INFORMATION

Today when i try to deploy a new vm on vvol volume it end up with this error: PBMFault: missing or empty replication spec information policy

So i have try to make it like this: deploy on standard datastore apply spbm storage vmotion but it end with the same error

anthonyglidic commented 2 years ago

on this blog post we can see that we have to set both the storage policy but also the replication group

https://www.codyhosterman.com/2018/04/powercli-and-vvols-part-i-assigning-a-spbm-policy/

i think that the module vmware_guest_storage_policy is missing this replication group part

regards