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

Inventory sync with vmware plugin gets in waiting state endless #1950

Open
renanguilhermef opened this issue Dec 14, 2023 · 0 comments
Open

Comments

@renanguilhermef
Copy link

Bug Summary
I have a workflow that runs time in time, but intermittently when runs inventory sync using VMWare plugin, gets with waiting state forever and it doesn't show any particular reason apparently

AWX version
22.2.0

Steps to reproduce
Sync inventory using VMWare vCenter plugin

Source Variables:

plugin: vmware_vm_inventory
validate_certs: False
resources:

datacenter:
xxxxxxxxxxxxxxxxxxxxxx
resources:
folder:
'xxxxxxxxxxxxxxx'
compose:
ansible_host: >-
guest.net
| selectattr('ipAddress')
| map(attribute='ipAddress')
| flatten
| select('match', 'xxxxxxxxxxxx')
| list
| first
hostnames:
'config.name'
properties:
'name'
'config.name'
'guest.ipAddress'
'guest.toolsStatus'
'guest.toolsRunningStatus'
'config.guestFullName'
'config.guestId'
'guest.guestFamily'
'guest.hostName'
'guest.net'
'runtime.powerState'
with_path: True
with_tags: True
with_nested_properties: True
filters:
"config.guestFullName is match('XXXXXXXXXX*') and 'XXXXXXXXXX' in tags"
"runtime.powerState == 'poweredOn'"
Expected results
Inventory gets synchronized and complete my workflow

Actual results
Synchronize with waiting state endless

Additional information
Below is the log. It doesn't show any reason for the inventory update get in waiting status

2023-12-06 05:15:07,140 INFO [0dc574ddc2dd4b46a57f2e57662b2a15] awx.analytics.job_lifecycle inventoryupdate-122734 created
2023-12-06 05:15:08,335 INFO [0dc574ddc2dd4b46a57f2e57662b2a15] awx.analytics.job_lifecycle inventoryupdate-122734 acknowledged
2023-12-06 05:15:10,073 INFO [0dc574ddc2dd4b46a57f2e57662b2a15] awx.analytics.job_lifecycle inventoryupdate-122734 waiting
2023-12-06 05:23:27,894 INFO [b6c7232efadf481daafcbf07f5507685] awx.analytics.job_lifecycle job-122721 blocked by inventoryupdate-122734
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant