-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Pending Delete on Demo Inventory #3945
Comments
@mwiora if I had to guess, something probably interrupted the deletion, and it got stuck in this pending state. Try running this in the
|
Ran into the same issue while nuking the test environment, running Inventory.objects.filter(pending_deletion=True).update(pending_deletion=False) worked |
@ryanpetrello NICE! worked like a charm and I could delete the inventory afterwards without any issues. |
ISSUE TYPE
SUMMARY
I delete all the Demo configured items via towercli:
but with the deletion of the Demo Inventory something went wrong. It still remains "pending deletion". Surviving server reboots.
Deleting the only existing Host "localhost" in this inventory is denied by the message:
ENVIRONMENT
STEPS TO REPRODUCE
Happened once out of 3 environments - but I would like to know how to handle that
EXPECTED RESULTS
Inventory gets deleted
ACTUAL RESULTS
Inventory remained in the Setup - pending deletion
http://towerhost/api/v2/unified_jobs/?status=running
returns 0 on count
But I am able to find the stuck job when running:
I welcome any ideas :)
The text was updated successfully, but these errors were encountered: