Yeah I've had tasks pile up in a Waiting state to where there were several 
thousand.  I think we had changed some network routing and some consumers had 
trouble hitting the server.  Cancelling the tasks cleared it all up for me.

Here's a script I use to kill all tasks in a Waiting (or any) stage that people 
may find helpful:

https://gist.github.com/snobear/16c42b19455ffe3ab83e

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Mike McCune
Sent: Friday, May 22, 2015 1:16 PM
To: Ben Stanley
Cc: pulp-list
Subject: Re: [Pulp-list] Unstarted tasks?

oops, I realized I pasted wrong.  I actually had a series of 6 tasks all
with:

State: Waiting
Start Time: Unstarted

yet, nothing was executing. It appeared that Pulp was doing no work and
these tasks would never get picked up and worked on.

I'll file an issue describing the situation.


On 05/22/2015 05:03 AM, Ben Stanley wrote:
> The first task is completed. The state is Successful. Pulp does not
> remove completed tasks from the task list - yet. For now, they just ...
> accumulate.
>
> The second task is waiting on something. Pulp 2.6 and later are somewhat
> better at getting on with tasks than their predecessors. You may have to
> clear out old tasks first [0].
>
> Hope this helps,
> Ben.
>
> [0] https://www.redhat.com/archives/pulp-list/2015-May/msg00001.html
>
>
>
> On 22 May 2015 12:11:15 PM Mike McCune <[email protected]> wrote:
>
>> What would be the cause of a series of these tasks:
>>
>> Operations: unassociate
>> Resources:
>> Engineering-DEV-SAM_RHEL6-Red_Hat_Enterprise_Linux_Server-Red_Hat_E
>> nterprise_Linux_6_Server_RPMs_x86_64_6Server (repository)
>> State: Successful
>> Start Time: 2015-05-21T23:41:26Z
>> Finish Time: 2015-05-21T23:41:26Z
>> Task Id: 3317b82a-9e21-422f-bbe3-63e6248348a0
>>
>> Operations: unassociate
>> Resources:
>> Engineering-TEST-Satellite_RHEL7-Red_Hat_Enterprise_Linux_Server-Re
>> d_Hat_Enterprise_Linux_7_Server_RPMs_x86_64_7Server
>> (repository)
>> State: Waiting
>> Start Time: Unstarted
>> Finish Time: Incomplete
>> Task Id: 7836b4b0-6c7d-464f-a69d-85ae530d9092
>>
>>
>> ...
>>
>> There doesn't appear to be any tasks that are executing/running so I'm
>> not sure what to do to get these tasks to execute.
>>
>> If logs would help, happy to gather more information.
>>
>> Mike
>> --
>> Mike McCune
>> mmccune AT redhat.com
>> Red Hat Engineering | Portland, OR
>> Systems Management | 650-254-4248
>>
>> _______________________________________________
>> Pulp-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/pulp-list
>
>

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

________________________________

Information in this e-mail may be confidential. It is intended only for the 
addressee(s) identified above. If you are not the addressee(s), or an employee 
or agent of the addressee(s), please note that any dissemination, distribution, 
or copying of this communication is strictly prohibited. If you have received 
this e-mail in error, please notify the sender of the error.

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to