<div dir="ltr">When I checked on the state, the status was "not started". I think that's why it remained stuck after reboots and bouncing the services. </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 8, 2016 at 1:27 PM, Brian Bouterse <span dir="ltr"><<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm not sure how you would get into this situations. When it occurs can<br>
you check which worker is assigned the work, and verify that that worker<br>
is still running?<br>
<br>
Upon starting a worker will move previous tasks it was handling that are<br>
still in the running state to cancelled. Also pulp_celerybeat monitors<br>
pulp workers to determine if died to move its tasks to a cancelled<br>
state. Both of these mechanisms would have to fail in order to have a<br>
task stay in the running state when its not running. Could it still be<br>
running?<br>
<br>
You indicate you rebooted the box and those tasks didn't go to<br>
cancelled. Is it possible they are on another box connected to your<br>
broker or when killing them it didn't respond to the signal you sent it?<br>
<br>
The 2.7.1 doesn't have any known defects like the ones your describing<br>
so sending more info to the list would be good.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Brian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 03/30/2016 05:58 PM, Matthew Madey wrote:<br>
> I have a job that mistakenly thinks it's still running..<br>
><br>
> # pulp-admin -u admin -p ************ rpm repo sync run<br>
> --repo-id=rhel-x86_64-server-7-base-tools<br>
> +----------------------------------------------------------------------+<br>
>        Synchronizing Repository [rhel-x86_64-server-7-base-tools]<br>
> +----------------------------------------------------------------------+<br>
><br>
> A sync task is already in progress for this repository. Its progress will be<br>
> tracked below.<br>
><br>
> This command may be exited via ctrl+c without affecting the request.<br>
><br>
> [/]<br>
> Waiting to begin...<br>
><br>
><br>
> I checked all running processes and there is no repo sync currently<br>
> running. I have even gone so far as to delete the repo and recreate it..<br>
> same issue. I have also tried running pulp-admin orphan remove --all,<br>
> which executes successfully, but does not fix the problem. I have also<br>
> tried rebooting the server, bouncing all pulp services.. still no joy.<br>
> I'm guessing there is a file somewhere that tracks pending tasks? How<br>
> can I clear this so I can successfully run the job again? I'm running<br>
> Pulp 2.7.1-1<br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Pulp-list mailing list<br>
> <a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>
><br>
<br>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>
</div></div></blockquote></div><br></div>