<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" data-color="global-default" bbg-color="default" data-bb-font-size="medium"bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);">Thanks Brian. I was able to cancel all waiting tasks. I started over hundred tasks today and so far we have no issues.<div><br></div><div>How many resource manger are we supposed to run at the same time? I only notice single instance. Is it configurable?<br><div><br><div><br><div class="rte-style-maintainer" data-color="global-default"bbg-color="default" data-bb-font-size="medium" bbg-font-size="medium" style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);"><br><div class="bbg-rte-fold-content" data-header="From: pulp-list@redhat.com At: 04/06/20 17:25:01" data-digest="From: pulp-list@redhat.com At: 04/06/20 17:25:01" style=""><div class="bbg-rte-fold-summary">From: pulp-list@redhat.com At: 04/06/20 17:25:01</div>To: <a spellcheck="false" bbg-destination="mailto:pulp-list@redhat.com" href="mailto:pulp-list@redhat.com"> pulp-list@redhat.com</a><br>Subject: Pulp-list Digest, Vol 125, Issue 10</div><br><blockquote>Send Pulp-list mailing list submissions to<br>     <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:pulp-list@redhat.com">pulp-list@redhat.com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>     <a bbg-destination="rte:bind"spellcheck="false" data-destination="rte:bind" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>or, via email, send a message with subject or body 'help' to<br> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:pulp-list-request@redhat.com">pulp-list-request@redhat.com</a><br><br>You can reach the person managing the list at<br> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:pulp-list-owner@redhat.com">pulp-list-owner@redhat.com</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Pulp-list digest..."<br><br><br>Today's Topics:<br><br>   1. Re: Pulp 3 waiting tasks (Daniel Alley)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 6 Apr 2020 17:24:11 -0400<br>From: Daniel Alley <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:dalley@redhat.com">dalley@redhat.com</a>><br>To: Brian Bouterse <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bmbouter@redhat.com">bmbouter@redhat.com</a>><br>Cc: pulp-list <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:pulp-list@redhat.com">pulp-list@redhat.com</a>>, Bin Li <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>><br>Subject: Re: [Pulp-list] Pulp 3 waiting tasks<br>Message-ID:<br>    <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:CAK1D4mCNm+-h9tvVk8BbQQsiqpOdqZrfTt7a1NL6BUUXrHRNRw@mail.gmail.com">CAK1D4mCNm+-h9tvVk8BbQQsiqpOdqZrfTt7a1NL6BUUXrHRNRw@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>On the few occasions when I've had issues (usually doing something like<br>deleting the database while a task was still running), a "redis-cli<br>FLUSHALL" has solved my problems as well.  So if ^ does not resolve things,<br>try that.<br><br>On Mon, Apr 6, 2020 at 1:37 PM Brian Bouterse <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bmbouter@redhat.com">bmbouter@redhat.com</a>> wrote:<br><br>> Thank you. We will look into this bug you've filed.<br>><br>> I believe you can recover your current installation by canceling the tasks<br>> stuck in the "waiting" state. To cancel use this API call<br>> <a bbg-destination="rte:bind"spellcheck="false" data-destination="rte:bind" href="https://docs.pulpproject.org/restapi.html#operation/tasks_cancel">https://docs.pulpproject.org/restapi.html#operation/tasks_cancel</a><br>><br>> Let me know if this doesn't help get your system back on track.<br>><br>> Thanks,<br>> Brian<br>><br>><br>> On Mon, Apr 6, 2020 at 8:04 AM Bin Li (BLOOMBERG/ 120 PARK) <<br>> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>> wrote:<br>><br>>> Brian,<br>>><br>>> I filed a bug to track this issue "<a bbg-destination="rte:bind"spellcheck="false" data-destination="rte:bind" href="https://pulp.plan.io/issues/6449">https://pulp.plan.io/issues/6449</a>". In<br>>> the meantime, is it possible to recover from this issue or we need to erase<br>>> the database and reinstall?<br>>><br>>> Thanks<br>>><br>>><br>>> From: <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bmbouter@redhat.com">bmbouter@redhat.com</a> At: 04/03/20 16:45:00<br>>> To: Bin Li (BLOOMBERG/ 120 PARK ) <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>><br>>> Cc: <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:pulp-list@redhat.com">pulp-list@redhat.com</a><br>>> Subject: Re: [Pulp-list] Pulp 3 waiting tasks<br>>><br>>> So the problematic thing I see in this output is the "resource-manager |<br>>> 0". This tells me that Pulp's record of the task is in postgresql (and was<br>>> never run), but RQ has lost the task from the "resource-manager" queue in<br>>> Redis. So the next question is how did that happen?<br>>><br>>> Would you be willing to file a bug and link it here so that I could try<br>>> to reproduce it on our end?<br>>><br>>> Thanks!<br>>> Brian<br>>><br>>><br>>> On Fri, Apr 3, 2020 at 4:35 PM Bin Li (BLOOMBERG/ 120 PARK) <<br>>> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>> wrote:<br>>><br>>>> Brian,<br>>>><br>>>> Here is rq info output. Thanks for look into this.<br>>>><br>>>> # rq --version<br>>>> rq, version 1.2.2<br>>>><br>>>> # rq info<br>>>> 134692@pulpmaster |?????? 7<br>>>> 182536@pulpmaster | 0<br>>>> 134343@pulpmaster |?????? 7<br>>>> 191144@pulpmaster | 0<br>>>> 130945@pulpmaster |?????? 7<br>>>> 135922@pulpmaster | 0<br>>>> 182528@pulpmaster | 0<br>>>> 182532@pulpmaster | 0<br>>>> 191145@pulpmaster | 0<br>>>> 135796@pulpmaster | 0<br>>>> 191148@pulpmaster | 0<br>>>> 191152@pulpmaster | 0<br>>>> 191151@pulpmaster | 0<br>>>> 135306@pulpmaster | 0<br>>>> 135679@pulpmaster | 0<br>>>> 182539@pulpmaster | 0<br>>>> 182547@pulpmaster | 0<br>>>> 182530@pulpmaster | 0<br>>>> 134332@pulpmaster |?????? 7<br>>>> 191147@pulpmaster | 0<br>>>> 131701@pulpmaster |?????? 5<br>>>> 134330@pulpmaster |?????? 7<br>>>> 134688@pulpmaster |?????? 5<br>>>> 182548@pulpmaster | 0<br>>>> 134929@pulpmaster | 0<br>>>> 135180@pulpmaster | 0<br>>>> 135503@pulpmaster | 0<br>>>> 182546@pulpmaster | 0<br>>>> 131485@pulpmaster |?????? 7<br>>>> 131269@pulpmaster |?????? 7<br>>>> 32603@pulpmaster | 0<br>>>> 191146@pulpmaster | 0<br>>>> 131053@pulpmaster |?????? 7<br>>>> 134339@pulpmaster |?????? 7<br>>>> 134336@pulpmaster |?????? 7<br>>>> 191150@pulpmaster | 0<br>>>> 182542@pulpmaster | 0<br>>>> 182540@pulpmaster | 0<br>>>> 32609@pulpmaster | 0<br>>>> 191153@pulpmaster | 0<br>>>> 131593@pulpmaster |???????????????????????? 21<br>>>> 135051@pulpmaster | 0<br>>>> 134696@pulpmaster |?????? 7<br>>>> 191149@pulpmaster | 0<br>>>> 131377@pulpmaster |?????? 5<br>>>> 134694@pulpmaster |?????? 7<br>>>> 134690@pulpmaster |?????? 7<br>>>> 131161@pulpmaster |?????? 5<br>>>> 136342@pulpmaster | 0<br>>>> 32626@pulpmaster | 0<br>>>> 131810@pulpmaster |?????? 7<br>>>> 136462@pulpmaster | 0<br>>>> 130836@pulpmaster |?????? 5<br>>>> resource-manager | 0<br>>>> 54 queues, 144 jobs total<br>>>><br>>>> 191146@pulpmaster (b'pulpp-ob-581' 191146): idle 191146@pulpmaster<br>>>> 191147@pulpmaster (b'pulpp-ob-581' 191147): idle 191147@pulpmaster<br>>>> 191153@pulpmaster (b'pulpp-ob-581' 191153): idle 191153@pulpmaster<br>>>> resource-manager (b'pulpp-ob-581' 187238): idle resource-manager<br>>>> 191144@pulpmaster (b'pulpp-ob-581' 191144): idle 191144@pulpmaster<br>>>> 191151@pulpmaster (b'pulpp-ob-581' 191151): idle 191151@pulpmaster<br>>>> 191149@pulpmaster (b'pulpp-ob-581' 191149): idle 191149@pulpmaster<br>>>> 191145@pulpmaster (b'pulpp-ob-581' 191145): idle 191145@pulpmaster<br>>>> 191148@pulpmaster (b'pulpp-ob-581' 191148): idle 191148@pulpmaster<br>>>> 191150@pulpmaster (b'pulpp-ob-581' 191150): idle 191150@pulpmaster<br>>>> 191152@pulpmaster (b'pulpp-ob-581' 191152): idle 191152@pulpmaster<br>>>> 11 workers, 54 queues<br>>>><br>>>> Updated: 2020-04-03 16:30:23.373244<br>>>><br>>>> From: <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bmbouter@redhat.com">bmbouter@redhat.com</a> At: 04/03/20 16:23:22<br>>>> To: Bin Li (BLOOMBERG/ 120 PARK ) <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>><br>>>> Cc: <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:pulp-list@redhat.com">pulp-list@redhat.com</a><br>>>> Subject: Re: [Pulp-list] Pulp 3 waiting tasks<br>>>><br>>>> Since the task that is stalled has a "worker" unassigned it tells me it<br>>>> has not traveled through the resource-manager yet. All tests in Pulp3<br>>>> (currently) go through the resource-manager. I can see from your ps output<br>>>> there is 1 resource-manager running (which is good), and the status API<br>>>> agrees with that (also good).<br>>>><br>>>> So what does RQ thing the situation is? Can you paste the output of `rq<br>>>> info` please?<br>>>><br>>>> Also what version of RQ are do you have installed?<br>>>><br>>>> Thanks,<br>>>> Brian<br>>>><br>>>><br>>>> On Fri, Apr 3, 2020 at 9:39 AM Bin Li (BLOOMBERG/ 120 PARK) <<br>>>> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>> wrote:<br>>>><br>>>>> Here is the more info. Log is very big. I will send you shortly.<br>>>>><br>>>>> # ./sget status<br>>>>> {<br>>>>> "database_connection": {<br>>>>> "connected": true<br>>>>> },<br>>>>> "online_content_apps": [<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:30.135954Z",<br>>>>> "name": "187254@pulpp-ob-581"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:30.132849Z",<br>>>>> "name": "187257@pulpp-ob-581"<br>>>>> }<br>>>>> ],<br>>>>> "online_workers": [<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:29.898377Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191147@pulpp-ob-581.bloomberg.com">191147@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.796937Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/268261b9-f46d-4d37-ab47-0b50ca382637/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:19.087502Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191150@pulpp-ob-581.bloomberg.com">191150@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.807418Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/4fb4d87c-2c3c-4f64-b6f3-e05d9aaf6fc0/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:29.498852Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191146@pulpp-ob-581.bloomberg.com">191146@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.810402Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/7b15b6bd-1437-47b8-9832-0b44b326e0fa/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:29.798941Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191149@pulpp-ob-581.bloomberg.com">191149@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.817391Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/62523740-e109-4828-bcbb-e8459c0944c5/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:29.598962Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191144@pulpp-ob-581.bloomberg.com">191144@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.818322Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/02e33d62-797d-4797-8fdc-b999efc8cd12/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:16.685771Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191153@pulpp-ob-581.bloomberg.com">191153@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.831154Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/23e2a484-a877-4083-bcd4-38a0e89fcb49/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:18.487964Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191145@pulpp-ob-581.bloomberg.com">191145@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.869871Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/9e63708f-bbc0-473d-8de1-8788a1c91f51/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:29.898354Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191151@pulpp-ob-581.bloomberg.com">191151@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.880995Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/ddd49126-5531-471a-bea1-3aab07bcf8b4/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:18.887949Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191148@pulpp-ob-581.bloomberg.com">191148@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.893280Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/2ef1e562-845f-4ae7-8007-9b7db8cf73a0/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:29.798877Z",<br>>>>> "name": "<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:191152@pulpp-ob-581.bloomberg.com">191152@pulpp-ob-581.bloomberg.com</a>",<br>>>>> "pulp_created": "2020-04-02T13:36:11.917095Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/6e2cf918-af8e-4c5d-bc8f-bef3d3a83dca/"<br>>>>> },<br>>>>> {<br>>>>> "last_heartbeat": "2020-04-03T13:10:15.684710Z",<br>>>>> "name": "resource-manager",<br>>>>> "pulp_created": "2020-01-23T18:24:49.246717Z",<br>>>>> "pulp_href":<br>>>>> "/pulp/api/v3/workers/d46e4da0-9735-445b-a502-2aff7ce13ef7/"<br>>>>> }<br>>>>> ],<br>>>>> "redis_connection": {<br>>>>> "connected": true<br>>>>> },<br>>>>> "storage": {<br>>>>> "free": 32543019880448,<br>>>>> "total": 33521607376896,<br>>>>> "used": 978587496448<br>>>>> },<br>>>>> "versions": [<br>>>>> {<br>>>>> "component": "pulpcore",<br>>>>> "version": "3.2.1"<br>>>>> },<br>>>>> {<br>>>>> "component": "pulp_rpm",<br>>>>> "version": "3.2.0"<br>>>>> },<br>>>>> {<br>>>>> "component": "pulp_file",<br>>>>> "version": "0.2.0"<br>>>>> }<br>>>>> ]<br>>>>><br>>>>><br>>>>> # ps -awfux |grep pulp<br>>>>> root 180078 0.0 0.0 107992 616 pts/1 S+ Apr02 0:00 | \_ tail -f<br>>>>> /var/log/pulp/pulp-config.log<br>>>>> root 184836 0.0 0.0 124448 2044 pts/2 S+ Apr02 0:00 | \_ vi bbpulp3.py<br>>>>> root 43270 0.0 0.0 112708 984 pts/3 S+ 09:11 0:00 \_ grep --color=auto<br>>>>> pulp<br>>>>> pulp 187224 0.0 0.0 228600 19188 ? Ss Apr02 0:04<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/gunicorn pulpcore.app.wsgi:application<br>>>>> --bind 127.0.0.1:24817 --access-logfile -<br>>>>> pulp 187251 1.4 0.0 528708 109752 ? S Apr02 20:48 \_<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/gunicorn pulpcore.app.wsgi:application<br>>>>> --bind 127.0.0.1:24817 --access-logfile -<br>>>>> pulp 187231 0.0 0.0 269476 27976 ? Ss Apr02 0:05<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/gunicorn pulpcore.content:server --bind<br>>>>> 127.0.0.1:24816 --worker-class aiohttp.GunicornWebWorker -w 2<br>>>>> --access-logfile -<br>>>>> pulp 187254 0.0 0.0 485860 68592 ? S Apr02 0:18 \_<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/gunicorn pulpcore.content:server --bind<br>>>>> 127.0.0.1:24816 --worker-class aiohttp.GunicornWebWorker -w 2<br>>>>> --access-logfile -<br>>>>> pulp 187257 0.0 0.0 486132 68604 ? S Apr02 0:19 \_<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/gunicorn pulpcore.content:server --bind<br>>>>> 127.0.0.1:24816 --worker-class aiohttp.GunicornWebWorker -w 2<br>>>>> --access-logfile -<br>>>>> pulp 187238 0.0 0.0 486428 71128 ? Ss Apr02 1:20<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker -n resource-manager<br>>>>> --pid=/var/run/pulpcore-resource-manager/resource-manager.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191144 0.0 0.0 486392 71064 ? Ss Apr02 0:51<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-1/reserved-resource-worker-1.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191145 0.0 0.0 486404 71064 ? Ss Apr02 0:50<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-2/reserved-resource-worker-2.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191146 0.0 0.0 486404 71044 ? Ss Apr02 0:50<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-3/reserved-resource-worker-3.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191147 0.0 0.0 486404 71036 ? Ss Apr02 0:52<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-4/reserved-resource-worker-4.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191148 0.0 0.0 486164 71056 ? Ss Apr02 0:51<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-5/reserved-resource-worker-5.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191149 0.0 0.0 486168 71060 ? Ss Apr02 0:52<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-6/reserved-resource-worker-6.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191150 0.0 0.0 486148 71040 ? Ss Apr02 0:50<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-7/reserved-resource-worker-7.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191151 0.0 0.0 486400 71060 ? Ss Apr02 0:51<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-8/reserved-resource-worker-8.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191152 0.0 0.0 486164 71044 ? Ss Apr02 0:52<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-9/reserved-resource-worker-9.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>> pulp 191153 0.0 0.0 486392 71068 ? Ss Apr02 0:52<br>>>>> /opt/utils/venv/pulp/3.7.3/bin/python3 /opt/utils/venv/pulp/3.7.3/bin/rq<br>>>>> worker -w pulpcore.tasking.worker.PulpWorker<br>>>>> --pid=/var/run/pulpcore-worker-10/reserved-resource-worker-10.pid -c<br>>>>> pulpcore.rqconfig --disable-job-desc-logging<br>>>>><br>>>>> From: <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bmbouter@redhat.com">bmbouter@redhat.com</a> At: 04/03/20 09:05:47<br>>>>> To: Bin Li (BLOOMBERG/ 120 PARK ) <<a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>><br>>>>> Cc: <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:pulp-list@redhat.com">pulp-list@redhat.com</a><br>>>>> Subject: Re: [Pulp-list] Pulp 3 waiting tasks<br>>>>><br>>>>> While you are experiencing the issue, can you capture the status API<br>>>>> output?<br>>>>><br>>>>> Also can you paste an output of the workers on that system with `ps<br>>>>> -awfux | grep pulp`.<br>>>>><br>>>>> Also do you see any errors in the log? Could you share a copy of the<br>>>>> log?<br>>>>><br>>>>> On Fri, Apr 3, 2020 at 9:01 AM Bin Li (BLOOMBERG/ 120 PARK) <<br>>>>> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:bli111@bloomberg.net">bli111@bloomberg.net</a>> wrote:<br>>>>><br>>>>>> We have been seeing many waiting tasks. They seem to be stuck forever.<br>>>>>> e.g.<br>>>>>> pulpp-ob-581 /home/bli4/pulp3-script # ./get<br>>>>>> /pulp/api/v3/tasks/14b76b27-9f34-4297-88ed-5ec13cbe5e50/<br>>>>>> HTTP/1.1 200 OK<br>>>>>> Allow: GET, PATCH, DELETE, HEAD, OPTIONS<br>>>>>> Connection: keep-alive<br>>>>>> Content-Length: 323<br>>>>>> Content-Type: application/json<br>>>>>> Date: Fri, 03 Apr 2020 12:56:02 GMT<br>>>>>> Server: nginx/1.16.1<br>>>>>> Vary: Accept, Cookie<br>>>>>> X-Frame-Options: SAMEORIGIN<br>>>>>><br>>>>>> {<br>>>>>> "created_resources": [],<br>>>>>> "error": null,<br>>>>>> "finished_at": null,<br>>>>>> "name": "pulpcore.app.tasks.base.general_update",<br>>>>>> "progress_reports": [],<br>>>>>> "pulp_created": "2020-04-02T13:00:14.881212Z",<br>>>>>> "pulp_href":<br>>>>>> "/pulp/api/v3/tasks/14b76b27-9f34-4297-88ed-5ec13cbe5e50/",<br>>>>>> "reserved_resources_record": [],<br>>>>>> "started_at": null,<br>>>>>> "state": "waiting",<br>>>>>> "worker": null<br>>>>>> }<br>>>>>><br>>>>>> What could be the reason for these stuck waiting tasks? How should we<br>>>>>> troubleshot the issue?<br>>>>>> _______________________________________________<br>>>>>> Pulp-list mailing list<br>>>>>> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>>>>>> <a bbg-destination="rte:bind"spellcheck="false" data-destination="rte:bind" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>>>>><br>>>>><br>>>>><br>>>><br>>> _______________________________________________<br>> Pulp-list mailing list<br>> <a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br>> <a bbg-destination="rte:bind"spellcheck="false" data-destination="rte:bind" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <br><<a bbg-destination="rte:bind"spellcheck="false" data-destination="rte:bind" href="https://www.redhat.com/archives/pulp-list/attachments/20200406/a78d4981/attachment.html">https://www.redhat.com/archives/pulp-list/attachments/20200406/a78d4981/atta<br>chment.html</a>><br><br>------------------------------<br><br>_______________________________________________<br>Pulp-list mailing list<br><a spellcheck="false"bbg-destination="mailto:rte:bind" data-destination="mailto:rte:bind" href="mailto:Pulp-list@redhat.com">Pulp-list@redhat.com</a><br><a bbg-destination="rte:bind"spellcheck="false" data-destination="rte:bind" href="https://www.redhat.com/mailman/listinfo/pulp-list">https://www.redhat.com/mailman/listinfo/pulp-list</a><br><br>End of Pulp-list Digest, Vol 125, Issue 10<br>******************************************<br><br></blockquote><br></div></div></div></div></div></body></html>