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

vCenter source in inventory defaults to 'community.vmware.vmware_vm_inventory' even though I state "plugin: vmware.vmware.vms" #15779

Closed
5 of 11 tasks
devidebyzero opened this issue Jan 28, 2025 · 0 comments

Comments

@devidebyzero
Copy link

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

community.vmware inventory plugin is about to be deprecated in favor of vmware.vmware inventory plugin (plugin is available starting in v1.9.0).

I installed vmware.vmware v1.9.0 on my awx-ee and add "plugin: vmware.vmware.vms" at the top of the source variables, but AWX defaults to 'community.vmware.vmware_vm_inventory'.

The source is of type "VMware vCenter".

When running ansible-inventory -i hosts.vmware-vms.yml --list inside my awx-ee it is working as expected.
hosts.vmware-vms.yml has the same content as the AWX inventory source.

AWX version

24.6.1

Select the relevant components

  • UI
  • UI (tech preview)
  • API
  • Docs
  • Collection
  • CLI
  • Other

Installation method

kubernetes

Modifications

yes

Ansible version

2.18.1

Operating system

MAC

Web browser

No response

Steps to reproduce

Inventory source:

plugin: vmware.vmware.vms
properties:
  - all
compose:
  ansible_host: guest.ipAddress

Sync error:

redirecting (type: inventory) ansible.builtin.vmware_vm_inventory to community.vmware.vmware_vm_inventory
[WARNING]:  * Failed to parse /runner/inventory/vmware_vm_inventory.yml with
auto plugin: inventory config '/runner/inventory/vmware_vm_inventory.yml'

Expected results

Populated inventory.

Actual results

Sync error:

redirecting (type: inventory) ansible.builtin.vmware_vm_inventory to community.vmware.vmware_vm_inventory
[WARNING]:  * Failed to parse /runner/inventory/vmware_vm_inventory.yml with
auto plugin: inventory config '/runner/inventory/vmware_vm_inventory.yml'

Additional information

No response

@devidebyzero devidebyzero closed this as not planned Won't fix, can't repro, duplicate, stale Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant