Skip to content

[bug] vmware_guest not create vm on opaque network #2330

Open
@mikcervero

Description

@mikcervero
SUMMARY

with the latest version of community.vmware 5.4.0 the module vmware.guest not create vm with ip on opaque network.
the error is:

ansible_collections/community/vmware/plugins/modules/vmware_guest.py\", line 1958, in configure_network\nAttributeError: 'vim.OpaqueNetwork' object has no attribute 'key'\n",

ISSUE TYPE
  • Bug Report
COMPONENT NAME

vmware_guest

ANSIBLE VERSION
ansible-playbook [core 2.15.0]
COLLECTION VERSION
5.4.0
CONFIGURATION

OS / ENVIRONMENT
STEPS TO REPRODUCE
create a vm on opaque network in vcenter
EXPECTED RESULTS

creation of the vm, with the version 5.2.0 the creation is okay

ACTUAL RESULTS
AttributeError: 'vim.OpaqueNetwork' object has no attribute 'key'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions