foreman-rake permissions:reset fails with the message "required lock is already taken by other tasks"

Solution Verified - Updated -

Issue

  • foreman-rake permissions:reset fails with the below error message
[root@satellite ~]#  foreman-rake permissions:reset
rake aborted!
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://satellite.example.com/foreman_tasks/tasks/bbe08c2a-3cc6-4249-bb62-06732dd4d39c

Tasks: TOP => permissions:reset
(See full trace by running task with --trace)
  • Resetting admin password on Red Hat Satellite 6 fails.

Environment

  • Red Hat Satellite 6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In