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_category - tag category creation doesnt associate category types in 6.7 #197
Comments
as a test i've altered "Virtual Machine" to "VirtualMachine" and "Cluster" to "ClusterComputeResource" and this has worked on the tag category creation doing this
|
vCenter uses different resource types for VMware objects. This fix corrects the resource types. Fixes: ansible-collections#197 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
resolved_by_pr #206 |
@ImranJMughal This issue is partly due to vCenter/vSphere Automation SDK bug. Since both of them does not restrict any string other than VMware resource object type. here, I am creating an object |
vCenter uses different resource types for VMware objects. This fix corrects the resource types. Fixes: ansible-collections#197 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
vCenter uses different resource types for VMware objects. This fix corrects the resource types. Fixes: ansible-collections#197 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
SUMMARY
associable_object_types are incorrect for 6.7 VC.
ISSUE TYPE
COMPONENT NAME
vmware_category in 0.4.1-dev8
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
associable_object_types=dict(
type='list',
choices=[
'All objects', 'Folder', 'Cluster',
'Datacenter', 'Datastore', 'Datastore Cluster',
'Distributed Port Group', 'Distributed Switch',
'Host', 'Content Library', 'Library item', 'Network',
'Resource Pool', 'vApp', 'Virtual Machine',
These are incorrect in 6.7 . For example Virtual Machine should be VirtualMachine and Cluster should be ClusterComputeResource.
6.7 shows the types as: - ClusterComputeResource, DistributedVirtualSwitch, VmwareDistributedVirtualSwitch, LibraryItem, ResourcePool, Folder, HostNetwork, DistributedVirtualPortgroup, VirtualApp, StoragePod, Datastore, Network, Datacenter, Library, HostSystem, OpaqueNetwork, VirtualMachine
EXPECTED RESULTS
Tag category created with associated types checked in gui
ACTUAL RESULTS
Tag Created with no associated type
The text was updated successfully, but these errors were encountered: