Issue #2861
Updated by Ichimonji10 over 7 years ago
The resource_manager queue loses a currently running _queue_reserved_task if the resource manager is restarted with <code>sudo sudo systemctl restart pulp_resource_manager</code>. pulp_resource_manager. The task is lost from the queue but still has an incorrect TaskStatus record showing as waiting which will never run. Note that if you <code>sudo sudo pkill -9 -f resource_manager</code> resource_manager and the <code>sudo sudo systemctl start pulp_resource_manager</code> pulp_resource_manager it does not lose the task. <pre> sudo systemctl stop pulp_workers pulp-admin rpm repo sync run --repo-id zoo qpid-stat -q <<-- observe that the queue depth of the resource_manager queue is 1 sudo systemctl restart pulp_resource_manager qpid-stat -q <<-- observe that the queue depth of the resource_manager queue is 0 pulp-admin tasks list -s waiting <<-- observe that the task which is gone is listed as 'waiting', but it will never run because it is gone </pre>