Attempting to remove repositories - "Required lock already taken..."

Latest response

I am attempting to upgrade from Sat 6.2.12 to 6.3. I ran in to errors during the upgrade and the recommendation was to disable all of my repos and then add back only the ones used for the upgrade.

I have disabled most, but I have a few that refuse to go. I am getting this error and the searching I have done has not returned a working solution.

"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://sat6/foreman_tasks/tasks/6d8a25d8-7bd6-4cb1-95d0-5e677132c223"

Any solid suggestions would be greatly appreciated.

Responses

Any chance you ran the foreman-maintain upgrade check or foreman-maintain health commands before you attempted the upgrade? These might clean up any stale running tasks.

Aside from that, you can probbably find that task in DynFlow and just cancel it?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.