On 08/01/2016 08:50 AM, Rick Langston wrote:
> I do see this issue in messages but not sure if its related
>
> Aug 1 07:25:16 dscaprv01 pulp: celery.beat:CRITICAL: (28691-76416) beat
> raised exception <class 'qpid.messaging.exceptions.Timeout'>:
> Timeout('Connection attach timed out',)
> Aug 1 07:25:16 dscaprv01 pulp: celery.beat:CRITICAL: (28691-76416)
> Traceback (most recent call last):
> Aug 1 07:25:16 dscaprv01 pulp: celery.beat:CRITICAL: (28691-76416) File
> "/usr/lib/python2.7/site-packages/celery/apps/beat.py", line 112, in
> start_scheduler
> Aug 1 07:25:16 dscaprv01 pulp: celery.beat:CRITICAL: (28691-76416)
> beat.start()
>
That is the likely culprit:)
Next time your task hangs, check in the "/about" page on your Katello
instance and ensure everything under "Backend System Status" says "OK"
with no further message.
If there are pulp errors, a possible quick fix is to ensure qpidd is
still running, then restart pulp_workers, pulp_celerybeat and
pulp_resource_manager. I suspect your task will get picked up after that.
Also, please check dmesg for out-of-memory errors. There are some other
possible things we can check, but I would be curious first about the
backend system status output.
>
> On Monday, August 1, 2016 at 7:12:26 AM UTC-5, Chris Duryee wrote:
>>
>>
>>
>> On 08/01/2016 07:54 AM, Rick Langston wrote:
>>> Hello
>>>
>>> I seem to be having some odd behavior with this version. With a fresh
>>> install on centos 7 I have setup a product which completes normally but
>>> when I discover a repo and save them i get these meta data task that
>> seem
>>> to just wait forever. Any ideas what can be the culprit
>>>
>>
>> Are there any related errors in /var/log/messages?
>>
>>>
>>> Action:
>>>
>>> Actions::Pulp::Repository::DistributorPublish
>>>
>>> State: waiting for Pulp to start the task
>>> Input:
>>>
>>> {"pulp_id"=>"test-centos-6_updates_x86_64",
>>> "distributor_type_id"=>"yum_distributor",
>>> "source_pulp_id"=>nil,
>>> "dependency"=>nil,
>>> "remote_user"=>"admin",
>>> "remote_cp_user"=>"admin",
>>> "locale"=>"en"}
>>>
>>> Output:
>>>
>>> {"pulp_tasks"=>
>>> [{"exception"=>nil,
>>> "task_type"=>"pulp.server.managers.repo.publish.publish",
>>> "_href"=>"/pulp/api/v2/tasks/a40815d5-9ba4-463a-8216-338cdcc4b1cc/",
>>> "task_id"=>"a40815d5-9ba4-463a-8216-338cdcc4b1cc",
>>> "tags"=>
>>> ["pulp:repository:test-centos-6_updates_x86_64",
>> "pulp:action:publish"],
>>> "finish_time"=>nil,
>>> "_ns"=>"task_status",
>>> "start_time"=>nil,
>>> "traceback"=>nil,
>>> "spawned_tasks"=>[],
>>> "progress_report"=>{},
>>> "queue"=>"None.dq",
>>> "state"=>"waiting",
>>> "worker_name"=>nil,
>>> "result"=>nil,
>>> "error"=>nil,
>>> "_id"=>{"$oid"=>"579f32aa95c48c6a54257674"},
>>> "id"=>"579f32aa95c48c6a54257674"}],
>>> "poll_attempts"=>{"total"=>100, "failed"=>0}}
>>>
>>
>
--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.