Created attachment 1088459 [details] Host delete failure Description of problem: Deleting an unprovisioned host fails with the error: Required lock is already taken by other running tasks. Please inspect their state, fix their errors and resume them. Required lock: read Conflicts with tasks: - https://sat-ha.cloud.lab.eng.bos.redhat.com/foreman_tasks/tasks/7ccfdea0-1c4e-479c-9162-a293b9eaab2b Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a Host via satellite and continue trying to provision it. If the provisioning fails for some reason, try to delete using the delete button. If the task is not completed, it fails with the above message. 2. 3. Actual results: Host cannot be deleted unless the tasks succeed. Expected results: If there is a failure, the host delete button should work. Additional info:
This is the error message I recd when I tried to delete the host after successfully cancelling the build: Required lock is already taken by other running tasks. Please inspect their state, fix their errors and resume them. Required lock: read Conflicts with tasks: - https://satnode3.sysmgmt.bos.redhat.com/foreman_tasks/tasks/49645945-c928-4f62-a52e-9e2eaf5902c6
I haven't located another bug that specifically addresses this behavior; however, I also haven't had any luck reproducing on Satellite 6.2. Balaji, Are you able to reproduce this on Satellite 6.2? If so, can I get you to provide details on the specific scenario as well as attach a foreman-debug? If not, any objection to closing this bugzilla for now and we can re-open if the issue resurfaces?
The problem did not happen in 6.2. You can probably close this bug.
Thanks Balaji! I am going to close the bugzilla; however, feel free to re-open if the issue re-occurs.