Uploaded image for project: 'Ansible Cloud Automation'
  1. Ansible Cloud Automation
  2. ACA-1840

The cluster_moid lookup plugin fails with an EmbeddedModuleUnexpectedFailure exception.

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate

      Description:

      The cluster_moid lookup plugin of vmware.vmware_rest collection fails with an EmbeddedModuleUnexpectedFailure exception.

      Steps to reproduce:

      Run task:

       - name: Print all Clusters in Datacenter {{ vcenter_datacenter }}
         ansible.builtin.debug:
           msg: "{{ lookup('vmware.vmware_rest.cluster_moid', '/' + vcenter_datacenter + '/', **connection_args) }}"

      Expected result:

      list of clusters presented in the datacenter

      Actual result:

      FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'vmware.vmware_rest.cluster_moid'. Error was a <class 'ansible_collections.cloud.common.plugins.module_utils.turbo.exceptions.EmbeddedModuleUnexpectedFailure'>, original message: here4. here4"}

              rh-ee-mimorenc Mike Morency
              annsavina Anna Savina Frances
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: