+++ This bug was initially created as a clone of Bug #1715958 +++
Description of problem:
OSP15 overcloud nodes registration to Satellite 6.5 fails while running subscription-manager list --available with HTTP error (500 - Internal Server Error): Required lock is already taken by other running tasks
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Deploy overcloud with nodes registered to Satellite 6.5
Deployment fails because Satellite returns:
HTTP error (500 - Internal Server Error): Required lock is already taken by other running tasks.\nPlease inspect their state, fix their errors and resume them.\n\nRequired lock: update\nConflicts with tasks:\n- https://sealusa10.mobius.lab.eng.rdu2.redhat.com/foreman_tasks/tasks/7fac8bef-6b39-4482-bc5c-25e924c25c32"
when the node is running 'subscription-manager list --available'
Checking the task on the Satellite server we can see it takes 4 seconds to finish so we should probably implement a retry mechanism to allow long running task to complete on Satellite side.
Overcloud nodes registration completes successfully.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.