[Katello 2.4] How can I deal with a task, when the task's page only shows a warning?

I searched for tasks that are not stopped, and I have one old repo sync
which is paused / error. But I can't do anything with it from Foreman, as
the task just gives me a page with the following on it when I select it:

Warning!

387: unexpected token at
'{"exception":null,"task_type":"pulp.server.managers.repo.sync.sync","_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/","task_id":"5d579202-bde1-414b-b7f6-ae0ce85ce132","tags":["pulp:repository:Default_Organization-KatelloAgent-EL6","pulp:action:sync"],"finish_time":"2016-04-11T14:45:20Z","ns":"task_status","start_time":"2016-04-11T14:45:20Z","traceback":"Traceback
(most recent call last):\n File
\"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
('Importer indicated a
failed response'))\nPulpExecutionException: Importer indicated a failed
response\n","spawned_tasks":[],"progress_report":{"yum_importer":{"content":{"size_total":0,"items_left":0,"items_total":0,"state":"NOT_STARTED","size_left":0,"details":{"rpm_total":0,"rpm_done":0,"drpm_total":0,"drpm_done":0},"error_details":[]},"comps":{"state":"NOT_STARTED"},"distribution":{"items_total":0,"state":"NOT_STARTED","error_details":[],"items_left":0},"errata":{"state":"NOT_STARTED"},"metadata":{"state":"FAILED","error":"A
connection error
occurred"}}},"queue":"reserved_resource_worker-3@katello_server.dq","state":"error","worker_name":"reserved_resource_worker-3@katello_server","result":null,"error":{"code":"PLP0000","data":{},"description":"Importer
indicated a failed
response","sub_errors":[]},"_id":{"$oid":"570bb880334b5fbc298d12e1"},"id":"570bb880388e58edd169afdb"}],"poll_attempts":{"total":1,"failed":0}}}'

What ruby goodness can I run to deal with it? Cheers.

And from the sync status page:

387: unexpected token at
'{"exception":null,"task_type":"pulp.server.managers.repo.sync.sync","_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/","task_id":"5d579202-bde1-414b-b7f6-ae0ce85ce132","tags":["pulp:repository:Default_Organization-KatelloAgent-EL6","pulp:action:sync"],"finish_time":"2016-04-11T14:45:20Z","ns":"task_status","start_time":"2016-04-11T14:45:20Z","traceback":"Traceback
(most recent call last):\n File
\"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
('Importer indicated a
failed response'))\nPulpExecutionException: Importer indicated a failed
response\n","spawned_tasks":[],"progress_report":{"yum_importer":{"content":{"size_total":0,"items_left":0,"items_total":0,"state":"NOT_STARTED","size_left":0,"details":{"rpm_total":0,"rpm_done":0,"drpm_total":0,"drpm_done":0},"error_details":[]},"comps":{"state":"NOT_STARTED"},"distribution":{"items_total":0,"state":"NOT_STARTED","error_details":[],"items_left":0},"errata":{"state":"NOT_STARTED"},"metadata":{"state":"FAILED","error":"A
connection error
occurred"}}},"queue":"reserved_resource_worker-3@katello_server.dq","state":"error","worker_name":"reserved_resource_worker-3@katello_server","result":null,"error":{"code":"PLP0000","data":{},"description":"Importer
indicated a failed
response","sub_errors":[]},"_id":{"$oid":"570bb880334b5fbc298d12e1"},"id":"570bb880388e58edd169afdb"}],"poll_attempts":{"total":1,"failed":0}}}'
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse'
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload'
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855'
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach'
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in
call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:incontext'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in_run__2017661263499483318__call__3638582650293152331__callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_call_callbacks'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:incall_app'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in
fetch' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:inlookup'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in
call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:incall'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:ineach'
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in
call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:inprocess_request'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in
accept_and_process_next_request' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:inmain_loop'
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in
block (3 levels) in start_threads' /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in
`block in create_with_logging_context'

··· On Thursday, 14 April 2016 09:44:33 UTC+1, JC wrote: > > I searched for tasks that are not stopped, and I have one old repo sync > which is paused / error. But I can't do anything with it from Foreman, as > the task just gives me a page with the following on it when I select it: > > Warning! > > 387: unexpected token at > '{"exception":null,"task_type":"pulp.server.managers.repo.sync.sync","_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/","task_id":"5d579202-bde1-414b-b7f6-ae0ce85ce132","tags":["pulp:repository:Default_Organization-KatelloAgent-EL6","pulp:action:sync"],"finish_time":"2016-04-11T14:45:20Z","_ns":"task_status","start_time":"2016-04-11T14:45:20Z","traceback":"Traceback > (most recent call last):\\n File > \\"/usr/lib/python2.6/site-packages/celery/app/trace.py\\", line 240, in > trace_task\\n R = retval = fun(*args, **kwargs)\\n File > \\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\\", line > 328, in __call__\\n return super(Task, self).__call__(*args, **kwargs)\\n > File \\"/usr/lib/python2.6/site-packages/celery/app/trace.py\\", line 437, > in __protected_call__\\n return self.run(*args, **kwargs)\\n File > \\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\\", > line 114, in sync\\n raise PulpExecutionException(_('Importer indicated a > failed response'))\\nPulpExecutionException: Importer indicated a failed > response\\n","spawned_tasks":[],"progress_report":{"yum_importer":{"content":{"size_total":0,"items_left":0,"items_total":0,"state":"NOT_STARTED","size_left":0,"details":{"rpm_total":0,"rpm_done":0,"drpm_total":0,"drpm_done":0},"error_details":[]},"comps":{"state":"NOT_STARTED"},"distribution":{"items_total":0,"state":"NOT_STARTED","error_details":[],"items_left":0},"errata":{"state":"NOT_STARTED"},"metadata":{"state":"FAILED","error":"A > connection error > occurred"}}},"queue":"reserved_resource_worker-3@katello_server.dq","state":"error","worker_name":"reserved_resource_worker-3@katello_server","result":null,"error":{"code":"PLP0000","data":{},"description":"Importer > indicated a failed > response","sub_errors":[]},"_id":{"$oid":"570bb880334b5fbc298d12e1"},"id":"570bb880388e58ed

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Thu, Apr 14, 2016 at 4:50 AM, JC wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in
call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:incontext’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in_run__2017661263499483318__call__3638582650293152331__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_call_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:incall_app’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in
fetch' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:inlookup’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in
call!' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/application.rb:223:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
method_missing' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/builder.rb:134:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:64:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/urlmap.rb:49:in
call' /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:inprocess_request’
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in
`accept_and_process_next_request’
/usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/re

Hi John,

I'm trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

··· On 14 April 2016 at 13:15, John Mitsch wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in
call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:incontext’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in_run__2017661263499483318__call__3638582650293152331__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_call_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:incall_app’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in

JC,

Looks like there may be a bug trying to parse JSON when syncing the repo,
possibly related to an old monkey patch (This is all at a glance, so not
%100 sure about that). I am going to spin up a 2.4 box and see if I can
recreate the issue to look into further.

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Thu, Apr 14, 2016 at 8:19 AM, Jamie Caldwell wrote:

Hi John,

I’m trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

On 14 April 2016 at 13:15, John Mitsch jomitsch@redhat.com wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in
call' /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:incontext’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in_run__2017661263499483318__call__3638582650293152331__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_call_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:incall_app’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/runtime.rb:17:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/lock.rb:15:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in
`fet

OK, cool - cheers. If it helps, from Foreman -> About:

candlepin-0.9.51.3-1.el6.noarch
candlepin-common-1.0.23-1.el6.noarch
candlepin-selinux-0.9.51.3-1.el6.noarch
candlepin-tomcat6-0.9.51.3-1.el6.noarch
katello-2.4.1-1.el6.noarch
katello-certs-tools-2.4.0-1.el6.noarch
katello-common-2.4.1-1.el6.noarch
katello-debug-2.4.1-1.el6.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.4.0-1.el6.noarch
katello-installer-base-2.4.0-1.el6.noarch
katello-repos-2.4.0-5.el6.noarch
katello-selinux-2.2.2-1.el6.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.4.1-1.el6.noarch
libqpid-dispatch-0.4-11.el6.x86_64
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.4-2.pulp.el6.x86_64
katello_server-qpid-broker-1.0-1.noarch
katello_server-qpid-client-cert-1.0-1.noarch
katello_server-qpid-router-client-1.0-1.noarch
katello_server-qpid-router-server-1.0-1.noarch
pulp-admin-client-2.6.4-1.el6.noarch
pulp-docker-plugins-1.0.2-1.el6.noarch
pulp-katello-0.4-3.el6.noarch
pulp-nodes-common-2.6.4-1.el6.noarch
pulp-nodes-parent-2.6.4-1.el6.noarch
pulp-puppet-plugins-2.6.4-1.el6.noarch
pulp-puppet-tools-2.6.4-1.el6.noarch
pulp-rpm-plugins-2.6.4-1.el6.noarch
pulp-selinux-2.6.4-1.el6.noarch
pulp-server-2.6.4-1.el6.noarch
python-gofer-qpid-2.6.2-1.el6.noarch
python-isodate-0.5.0-4.pulp.el6.noarch
python-kombu-3.0.24-8.pulp.el6.noarch
python-pulp-bindings-2.6.4-1.el6.noarch
python-pulp-client-lib-2.6.4-1.el6.noarch
python-pulp-common-2.6.4-1.el6.noarch
python-pulp-docker-common-1.0.2-1.el6.noarch
python-pulp-puppet-common-2.6.4-1.el6.noarch
python-pulp-rpm-common-2.6.4-1.el6.noarch
python-qpid-0.30-9.el6.noarch
python-qpid-qmf-0.30-5.el6.x86_64
python-rhsm-1.8.0-2.pulp.el6.x86_64
qpid-cpp-client-0.30-8.el6.x86_64
qpid-cpp-client-devel-0.30-8.el6.x86_64
qpid-cpp-server-0.30-8.el6.x86_64
qpid-cpp-server-linearstore-0.30-8.el6.x86_64
qpid-dispatch-router-0.4-11.el6.x86_64
qpid-proton-c-0.9-13.el6.x86_64
qpid-qmf-0.30-5.el6.x86_64
qpid-tools-0.30-4.el6.noarch
rubygem-smart_proxy_pulp-1.0.1-2.el6.noarch
tfm-rubygem-hammer_cli_katello-0.0.19-1.el6.noarch
tfm-rubygem-katello-2.4.1-3.el6.noarch
tfm-rubygem-qpid_messaging-0.30.0-3.el6.x86_64

··· On 14 April 2016 at 13:40, John Mitsch wrote:

JC,

Looks like there may be a bug trying to parse JSON when syncing the repo,
possibly related to an old monkey patch (This is all at a glance, so not
%100 sure about that). I am going to spin up a 2.4 box and see if I can
recreate the issue to look into further.

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:19 AM, Jamie Caldwell < > mr.jamie.caldwell@gmail.com> wrote:

Hi John,

I’m trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

On 14 April 2016 at 13:15, John Mitsch jomitsch@redhat.com wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in
`call’
/opt/rh/ruby

JC,

What is the operating system you are running katello on? is it el6? I was
able to complete this sync on a el7 machine. either way, it may be easiest
to file an issue here and mention all of the relevant info, tracebacks, os
version Foreman and we
can follow the issue for you.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Thu, Apr 14, 2016 at 8:49 AM, Jamie Caldwell wrote:

OK, cool - cheers. If it helps, from Foreman -> About:

candlepin-0.9.51.3-1.el6.noarch
candlepin-common-1.0.23-1.el6.noarch
candlepin-selinux-0.9.51.3-1.el6.noarch
candlepin-tomcat6-0.9.51.3-1.el6.noarch
katello-2.4.1-1.el6.noarch
katello-certs-tools-2.4.0-1.el6.noarch
katello-common-2.4.1-1.el6.noarch
katello-debug-2.4.1-1.el6.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.4.0-1.el6.noarch
katello-installer-base-2.4.0-1.el6.noarch
katello-repos-2.4.0-5.el6.noarch
katello-selinux-2.2.2-1.el6.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.4.1-1.el6.noarch
libqpid-dispatch-0.4-11.el6.x86_64
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.4-2.pulp.el6.x86_64
katello_server-qpid-broker-1.0-1.noarch
katello_server-qpid-client-cert-1.0-1.noarch
katello_server-qpid-router-client-1.0-1.noarch
katello_server-qpid-router-server-1.0-1.noarch
pulp-admin-client-2.6.4-1.el6.noarch
pulp-docker-plugins-1.0.2-1.el6.noarch
pulp-katello-0.4-3.el6.noarch
pulp-nodes-common-2.6.4-1.el6.noarch
pulp-nodes-parent-2.6.4-1.el6.noarch
pulp-puppet-plugins-2.6.4-1.el6.noarch
pulp-puppet-tools-2.6.4-1.el6.noarch
pulp-rpm-plugins-2.6.4-1.el6.noarch
pulp-selinux-2.6.4-1.el6.noarch
pulp-server-2.6.4-1.el6.noarch
python-gofer-qpid-2.6.2-1.el6.noarch
python-isodate-0.5.0-4.pulp.el6.noarch
python-kombu-3.0.24-8.pulp.el6.noarch
python-pulp-bindings-2.6.4-1.el6.noarch
python-pulp-client-lib-2.6.4-1.el6.noarch
python-pulp-common-2.6.4-1.el6.noarch
python-pulp-docker-common-1.0.2-1.el6.noarch
python-pulp-puppet-common-2.6.4-1.el6.noarch
python-pulp-rpm-common-2.6.4-1.el6.noarch
python-qpid-0.30-9.el6.noarch
python-qpid-qmf-0.30-5.el6.x86_64
python-rhsm-1.8.0-2.pulp.el6.x86_64
qpid-cpp-client-0.30-8.el6.x86_64
qpid-cpp-client-devel-0.30-8.el6.x86_64
qpid-cpp-server-0.30-8.el6.x86_64
qpid-cpp-server-linearstore-0.30-8.el6.x86_64
qpid-dispatch-router-0.4-11.el6.x86_64
qpid-proton-c-0.9-13.el6.x86_64
qpid-qmf-0.30-5.el6.x86_64
qpid-tools-0.30-4.el6.noarch
rubygem-smart_proxy_pulp-1.0.1-2.el6.noarch
tfm-rubygem-hammer_cli_katello-0.0.19-1.el6.noarch
tfm-rubygem-katello-2.4.1-3.el6.noarch
tfm-rubygem-qpid_messaging-0.30.0-3.el6.x86_64

On 14 April 2016 at 13:40, John Mitsch jomitsch@redhat.com wrote:

JC,

Looks like there may be a bug trying to parse JSON when syncing the repo,
possibly related to an old monkey patch (This is all at a glance, so not
%100 sure about that). I am going to spin up a 2.4 box and see if I can
recreate the issue to look into further.

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:19 AM, Jamie Caldwell < >> mr.jamie.caldwell@gmail.com> wrote:

Hi John,

I’m trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

On 14 April 2016 at 13:15, John Mitsch jomitsch@redhat.com wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com >>>> wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib/rack/etag.rb:23:incall’
/opt/rh/rub

John,

CentOS6. OK, will do. Thank you for your time.

It was working. I wonder whether it might just work again if I had a means
to clear the current task?

Jamie.

··· On 15 Apr 2016 15:51, "John Mitsch" wrote:

JC,

What is the operating system you are running katello on? is it el6? I was
able to complete this sync on a el7 machine. either way, it may be easiest
to file an issue here and mention all of the relevant info, tracebacks, os
version Foreman and we
can follow the issue for you.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:49 AM, Jamie Caldwell < > mr.jamie.caldwell@gmail.com> wrote:

OK, cool - cheers. If it helps, from Foreman -> About:

candlepin-0.9.51.3-1.el6.noarch
candlepin-common-1.0.23-1.el6.noarch
candlepin-selinux-0.9.51.3-1.el6.noarch
candlepin-tomcat6-0.9.51.3-1.el6.noarch
katello-2.4.1-1.el6.noarch
katello-certs-tools-2.4.0-1.el6.noarch
katello-common-2.4.1-1.el6.noarch
katello-debug-2.4.1-1.el6.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.4.0-1.el6.noarch
katello-installer-base-2.4.0-1.el6.noarch
katello-repos-2.4.0-5.el6.noarch
katello-selinux-2.2.2-1.el6.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.4.1-1.el6.noarch
libqpid-dispatch-0.4-11.el6.x86_64
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.4-2.pulp.el6.x86_64
katello_server-qpid-broker-1.0-1.noarch
katello_server-qpid-client-cert-1.0-1.noarch
katello_server-qpid-router-client-1.0-1.noarch
katello_server-qpid-router-server-1.0-1.noarch
pulp-admin-client-2.6.4-1.el6.noarch
pulp-docker-plugins-1.0.2-1.el6.noarch
pulp-katello-0.4-3.el6.noarch
pulp-nodes-common-2.6.4-1.el6.noarch
pulp-nodes-parent-2.6.4-1.el6.noarch
pulp-puppet-plugins-2.6.4-1.el6.noarch
pulp-puppet-tools-2.6.4-1.el6.noarch
pulp-rpm-plugins-2.6.4-1.el6.noarch
pulp-selinux-2.6.4-1.el6.noarch
pulp-server-2.6.4-1.el6.noarch
python-gofer-qpid-2.6.2-1.el6.noarch
python-isodate-0.5.0-4.pulp.el6.noarch
python-kombu-3.0.24-8.pulp.el6.noarch
python-pulp-bindings-2.6.4-1.el6.noarch
python-pulp-client-lib-2.6.4-1.el6.noarch
python-pulp-common-2.6.4-1.el6.noarch
python-pulp-docker-common-1.0.2-1.el6.noarch
python-pulp-puppet-common-2.6.4-1.el6.noarch
python-pulp-rpm-common-2.6.4-1.el6.noarch
python-qpid-0.30-9.el6.noarch
python-qpid-qmf-0.30-5.el6.x86_64
python-rhsm-1.8.0-2.pulp.el6.x86_64
qpid-cpp-client-0.30-8.el6.x86_64
qpid-cpp-client-devel-0.30-8.el6.x86_64
qpid-cpp-server-0.30-8.el6.x86_64
qpid-cpp-server-linearstore-0.30-8.el6.x86_64
qpid-dispatch-router-0.4-11.el6.x86_64
qpid-proton-c-0.9-13.el6.x86_64
qpid-qmf-0.30-5.el6.x86_64
qpid-tools-0.30-4.el6.noarch
rubygem-smart_proxy_pulp-1.0.1-2.el6.noarch
tfm-rubygem-hammer_cli_katello-0.0.19-1.el6.noarch
tfm-rubygem-katello-2.4.1-3.el6.noarch
tfm-rubygem-qpid_messaging-0.30.0-3.el6.x86_64

On 14 April 2016 at 13:40, John Mitsch jomitsch@redhat.com wrote:

JC,

Looks like there may be a bug trying to parse JSON when syncing the
repo, possibly related to an old monkey patch (This is all at a glance, so
not %100 sure about that). I am going to spin up a 2.4 box and see if I can
recreate the issue to look into further.

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:19 AM, Jamie Caldwell < >>> mr.jamie.caldwell@gmail.com> wrote:

Hi John,

I’m trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

On 14 April 2016 at 13:15, John Mitsch jomitsch@redhat.com wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com >>>>> wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/

You could try restarting the katello services and resuming again and see if
that fixes it.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Fri, Apr 15, 2016 at 11:28 AM, Jamie Caldwell < mr.jamie.caldwell@gmail.com> wrote:

John,

CentOS6. OK, will do. Thank you for your time.

It was working. I wonder whether it might just work again if I had a means
to clear the current task?

Jamie.
On 15 Apr 2016 15:51, “John Mitsch” jomitsch@redhat.com wrote:

JC,

What is the operating system you are running katello on? is it el6? I was
able to complete this sync on a el7 machine. either way, it may be easiest
to file an issue here and mention all of the relevant info, tracebacks, os
version Foreman and
we can follow the issue for you.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:49 AM, Jamie Caldwell < >> mr.jamie.caldwell@gmail.com> wrote:

OK, cool - cheers. If it helps, from Foreman -> About:

candlepin-0.9.51.3-1.el6.noarch
candlepin-common-1.0.23-1.el6.noarch
candlepin-selinux-0.9.51.3-1.el6.noarch
candlepin-tomcat6-0.9.51.3-1.el6.noarch
katello-2.4.1-1.el6.noarch
katello-certs-tools-2.4.0-1.el6.noarch
katello-common-2.4.1-1.el6.noarch
katello-debug-2.4.1-1.el6.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.4.0-1.el6.noarch
katello-installer-base-2.4.0-1.el6.noarch
katello-repos-2.4.0-5.el6.noarch
katello-selinux-2.2.2-1.el6.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.4.1-1.el6.noarch
libqpid-dispatch-0.4-11.el6.x86_64
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.4-2.pulp.el6.x86_64
katello_server-qpid-broker-1.0-1.noarch
katello_server-qpid-client-cert-1.0-1.noarch
katello_server-qpid-router-client-1.0-1.noarch
katello_server-qpid-router-server-1.0-1.noarch
pulp-admin-client-2.6.4-1.el6.noarch
pulp-docker-plugins-1.0.2-1.el6.noarch
pulp-katello-0.4-3.el6.noarch
pulp-nodes-common-2.6.4-1.el6.noarch
pulp-nodes-parent-2.6.4-1.el6.noarch
pulp-puppet-plugins-2.6.4-1.el6.noarch
pulp-puppet-tools-2.6.4-1.el6.noarch
pulp-rpm-plugins-2.6.4-1.el6.noarch
pulp-selinux-2.6.4-1.el6.noarch
pulp-server-2.6.4-1.el6.noarch
python-gofer-qpid-2.6.2-1.el6.noarch
python-isodate-0.5.0-4.pulp.el6.noarch
python-kombu-3.0.24-8.pulp.el6.noarch
python-pulp-bindings-2.6.4-1.el6.noarch
python-pulp-client-lib-2.6.4-1.el6.noarch
python-pulp-common-2.6.4-1.el6.noarch
python-pulp-docker-common-1.0.2-1.el6.noarch
python-pulp-puppet-common-2.6.4-1.el6.noarch
python-pulp-rpm-common-2.6.4-1.el6.noarch
python-qpid-0.30-9.el6.noarch
python-qpid-qmf-0.30-5.el6.x86_64
python-rhsm-1.8.0-2.pulp.el6.x86_64
qpid-cpp-client-0.30-8.el6.x86_64
qpid-cpp-client-devel-0.30-8.el6.x86_64
qpid-cpp-server-0.30-8.el6.x86_64
qpid-cpp-server-linearstore-0.30-8.el6.x86_64
qpid-dispatch-router-0.4-11.el6.x86_64
qpid-proton-c-0.9-13.el6.x86_64
qpid-qmf-0.30-5.el6.x86_64
qpid-tools-0.30-4.el6.noarch
rubygem-smart_proxy_pulp-1.0.1-2.el6.noarch
tfm-rubygem-hammer_cli_katello-0.0.19-1.el6.noarch
tfm-rubygem-katello-2.4.1-3.el6.noarch
tfm-rubygem-qpid_messaging-0.30.0-3.el6.x86_64

On 14 April 2016 at 13:40, John Mitsch jomitsch@redhat.com wrote:

JC,

Looks like there may be a bug trying to parse JSON when syncing the
repo, possibly related to an old monkey patch (This is all at a glance, so
not %100 sure about that). I am going to spin up a 2.4 box and see if I can
recreate the issue to look into further.

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:19 AM, Jamie Caldwell < >>>> mr.jamie.caldwell@gmail.com> wrote:

Hi John,

I’m trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

On 14 April 2016 at 13:15, John Mitsch jomitsch@redhat.com wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com >>>>>> wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/

btw the command is 'katello-service restart'

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

··· On Fri, Apr 15, 2016 at 11:31 AM, John Mitsch wrote:

You could try restarting the katello services and resuming again and see
if that fixes it.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Fri, Apr 15, 2016 at 11:28 AM, Jamie Caldwell < > mr.jamie.caldwell@gmail.com> wrote:

John,

CentOS6. OK, will do. Thank you for your time.

It was working. I wonder whether it might just work again if I had a
means to clear the current task?

Jamie.
On 15 Apr 2016 15:51, “John Mitsch” jomitsch@redhat.com wrote:

JC,

What is the operating system you are running katello on? is it el6? I
was able to complete this sync on a el7 machine. either way, it may be
easiest to file an issue here and mention all of the relevant info,
tracebacks, os version
Foreman and we can
follow the issue for you.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:49 AM, Jamie Caldwell < >>> mr.jamie.caldwell@gmail.com> wrote:

OK, cool - cheers. If it helps, from Foreman -> About:

candlepin-0.9.51.3-1.el6.noarch
candlepin-common-1.0.23-1.el6.noarch
candlepin-selinux-0.9.51.3-1.el6.noarch
candlepin-tomcat6-0.9.51.3-1.el6.noarch
katello-2.4.1-1.el6.noarch
katello-certs-tools-2.4.0-1.el6.noarch
katello-common-2.4.1-1.el6.noarch
katello-debug-2.4.1-1.el6.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.4.0-1.el6.noarch
katello-installer-base-2.4.0-1.el6.noarch
katello-repos-2.4.0-5.el6.noarch
katello-selinux-2.2.2-1.el6.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.4.1-1.el6.noarch
libqpid-dispatch-0.4-11.el6.x86_64
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.4-2.pulp.el6.x86_64
katello_server-qpid-broker-1.0-1.noarch
katello_server-qpid-client-cert-1.0-1.noarch
katello_server-qpid-router-client-1.0-1.noarch
katello_server-qpid-router-server-1.0-1.noarch
pulp-admin-client-2.6.4-1.el6.noarch
pulp-docker-plugins-1.0.2-1.el6.noarch
pulp-katello-0.4-3.el6.noarch
pulp-nodes-common-2.6.4-1.el6.noarch
pulp-nodes-parent-2.6.4-1.el6.noarch
pulp-puppet-plugins-2.6.4-1.el6.noarch
pulp-puppet-tools-2.6.4-1.el6.noarch
pulp-rpm-plugins-2.6.4-1.el6.noarch
pulp-selinux-2.6.4-1.el6.noarch
pulp-server-2.6.4-1.el6.noarch
python-gofer-qpid-2.6.2-1.el6.noarch
python-isodate-0.5.0-4.pulp.el6.noarch
python-kombu-3.0.24-8.pulp.el6.noarch
python-pulp-bindings-2.6.4-1.el6.noarch
python-pulp-client-lib-2.6.4-1.el6.noarch
python-pulp-common-2.6.4-1.el6.noarch
python-pulp-docker-common-1.0.2-1.el6.noarch
python-pulp-puppet-common-2.6.4-1.el6.noarch
python-pulp-rpm-common-2.6.4-1.el6.noarch
python-qpid-0.30-9.el6.noarch
python-qpid-qmf-0.30-5.el6.x86_64
python-rhsm-1.8.0-2.pulp.el6.x86_64
qpid-cpp-client-0.30-8.el6.x86_64
qpid-cpp-client-devel-0.30-8.el6.x86_64
qpid-cpp-server-0.30-8.el6.x86_64
qpid-cpp-server-linearstore-0.30-8.el6.x86_64
qpid-dispatch-router-0.4-11.el6.x86_64
qpid-proton-c-0.9-13.el6.x86_64
qpid-qmf-0.30-5.el6.x86_64
qpid-tools-0.30-4.el6.noarch
rubygem-smart_proxy_pulp-1.0.1-2.el6.noarch
tfm-rubygem-hammer_cli_katello-0.0.19-1.el6.noarch
tfm-rubygem-katello-2.4.1-3.el6.noarch
tfm-rubygem-qpid_messaging-0.30.0-3.el6.x86_64

On 14 April 2016 at 13:40, John Mitsch jomitsch@redhat.com wrote:

JC,

Looks like there may be a bug trying to parse JSON when syncing the
repo, possibly related to an old monkey patch (This is all at a glance, so
not %100 sure about that). I am going to spin up a 2.4 box and see if I can
recreate the issue to look into further.

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:19 AM, Jamie Caldwell < >>>>> mr.jamie.caldwell@gmail.com> wrote:

Hi John,

I’m trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

On 14 April 2016 at 13:15, John Mitsch jomitsch@redhat.com wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com >>>>>>> wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
block in action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' /opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:479:in
`call’
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/

Thanks I've tried that. Everything else appears to be fine to.

The 3.0 deployment, when stable comes, may end up being an install rather
an upgrade, which will certainly remove the task!

··· On 15 Apr 2016 16:31, "John Mitsch" wrote:

You could try restarting the katello services and resuming again and see
if that fixes it.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Fri, Apr 15, 2016 at 11:28 AM, Jamie Caldwell < > mr.jamie.caldwell@gmail.com> wrote:

John,

CentOS6. OK, will do. Thank you for your time.

It was working. I wonder whether it might just work again if I had a
means to clear the current task?

Jamie.
On 15 Apr 2016 15:51, “John Mitsch” jomitsch@redhat.com wrote:

JC,

What is the operating system you are running katello on? is it el6? I
was able to complete this sync on a el7 machine. either way, it may be
easiest to file an issue here and mention all of the relevant info,
tracebacks, os version
Foreman and we can
follow the issue for you.

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:49 AM, Jamie Caldwell < >>> mr.jamie.caldwell@gmail.com> wrote:

OK, cool - cheers. If it helps, from Foreman -> About:

candlepin-0.9.51.3-1.el6.noarch
candlepin-common-1.0.23-1.el6.noarch
candlepin-selinux-0.9.51.3-1.el6.noarch
candlepin-tomcat6-0.9.51.3-1.el6.noarch
katello-2.4.1-1.el6.noarch
katello-certs-tools-2.4.0-1.el6.noarch
katello-common-2.4.1-1.el6.noarch
katello-debug-2.4.1-1.el6.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.4.0-1.el6.noarch
katello-installer-base-2.4.0-1.el6.noarch
katello-repos-2.4.0-5.el6.noarch
katello-selinux-2.2.2-1.el6.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.4.1-1.el6.noarch
libqpid-dispatch-0.4-11.el6.x86_64
m2crypto-0.21.1.pulp-7.el6.x86_64
mod_wsgi-3.4-2.pulp.el6.x86_64
katello_server-qpid-broker-1.0-1.noarch
katello_server-qpid-client-cert-1.0-1.noarch
katello_server-qpid-router-client-1.0-1.noarch
katello_server-qpid-router-server-1.0-1.noarch
pulp-admin-client-2.6.4-1.el6.noarch
pulp-docker-plugins-1.0.2-1.el6.noarch
pulp-katello-0.4-3.el6.noarch
pulp-nodes-common-2.6.4-1.el6.noarch
pulp-nodes-parent-2.6.4-1.el6.noarch
pulp-puppet-plugins-2.6.4-1.el6.noarch
pulp-puppet-tools-2.6.4-1.el6.noarch
pulp-rpm-plugins-2.6.4-1.el6.noarch
pulp-selinux-2.6.4-1.el6.noarch
pulp-server-2.6.4-1.el6.noarch
python-gofer-qpid-2.6.2-1.el6.noarch
python-isodate-0.5.0-4.pulp.el6.noarch
python-kombu-3.0.24-8.pulp.el6.noarch
python-pulp-bindings-2.6.4-1.el6.noarch
python-pulp-client-lib-2.6.4-1.el6.noarch
python-pulp-common-2.6.4-1.el6.noarch
python-pulp-docker-common-1.0.2-1.el6.noarch
python-pulp-puppet-common-2.6.4-1.el6.noarch
python-pulp-rpm-common-2.6.4-1.el6.noarch
python-qpid-0.30-9.el6.noarch
python-qpid-qmf-0.30-5.el6.x86_64
python-rhsm-1.8.0-2.pulp.el6.x86_64
qpid-cpp-client-0.30-8.el6.x86_64
qpid-cpp-client-devel-0.30-8.el6.x86_64
qpid-cpp-server-0.30-8.el6.x86_64
qpid-cpp-server-linearstore-0.30-8.el6.x86_64
qpid-dispatch-router-0.4-11.el6.x86_64
qpid-proton-c-0.9-13.el6.x86_64
qpid-qmf-0.30-5.el6.x86_64
qpid-tools-0.30-4.el6.noarch
rubygem-smart_proxy_pulp-1.0.1-2.el6.noarch
tfm-rubygem-hammer_cli_katello-0.0.19-1.el6.noarch
tfm-rubygem-katello-2.4.1-3.el6.noarch
tfm-rubygem-qpid_messaging-0.30.0-3.el6.x86_64

On 14 April 2016 at 13:40, John Mitsch jomitsch@redhat.com wrote:

JC,

Looks like there may be a bug trying to parse JSON when syncing the
repo, possibly related to an old monkey patch (This is all at a glance, so
not %100 sure about that). I am going to spin up a 2.4 box and see if I can
recreate the issue to look into further.

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 8:19 AM, Jamie Caldwell < >>>>> mr.jamie.caldwell@gmail.com> wrote:

Hi John,

I’m trying to sync:

https://fedorapeople.org/groups/katello/releases/yum/2.4/client/RHEL/6/x86_64/

Jamie.

On 14 April 2016 at 13:15, John Mitsch jomitsch@redhat.com wrote:

JC,

what is the repo that is giving you this error?

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Thu, Apr 14, 2016 at 4:50 AM, JC mr.jamie.caldwell@gmail.com >>>>>>> wrote:

And from the sync status page:

387: unexpected token at
’{“exception”:null,“task_type”:“pulp.server.managers.repo.sync.sync”,"_href":"/pulp/api/v2/tasks/5d579202-bde1-414b-b7f6-ae0ce85ce132/",“task_id”:“5d579202-bde1-414b-b7f6-ae0ce85ce132”,“tags”:[“pulp:repository:Default_Organization-KatelloAgent-EL6”,“pulp:action:sync”],“finish_time”:“2016-04-11T14:45:20Z”,“ns":“task_status”,“start_time”:“2016-04-11T14:45:20Z”,“traceback”:“Traceback
(most recent call last):\n File
\”/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\", line
328, in call\n return super(Task, self).call(*args, **kwargs)\n
File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437,
in protected_call\n return self.run(*args, **kwargs)\n File
\"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py\",
line 114, in sync\n raise PulpExecutionException(
(‘Importer indicated a
failed response’))\nPulpExecutionException: Importer indicated a failed
response\n”,“spawned_tasks”:[],“progress_report”:{“yum_importer”:{“content”:{“size_total”:0,“items_left”:0,“items_total”:0,“state”:“NOT_STARTED”,“size_left”:0,“details”:{“rpm_total”:0,“rpm_done”:0,“drpm_total”:0,“drpm_done”:0},“error_details”:[]},“comps”:{“state”:“NOT_STARTED”},“distribution”:{“items_total”:0,“state”:“NOT_STARTED”,“error_details”:[],“items_left”:0},“errata”:{“state”:“NOT_STARTED”},“metadata”:{“state”:“FAILED”,“error”:“A
connection error
occurred”}}},“queue”:“reserved_resource_worker-3@katello_server.dq
”,“state”:“error”,“worker_name”:“reserved_resource_worker-3@katello_server”,“result”:null,“error”:{“code”:“PLP0000”,“data”:{},“description”:“Importer
indicated a failed
response”,“sub_errors”:[]},"_id":{"$oid":“570bb880334b5fbc298d12e1”},“id”:“570bb880388e58edd169afdb”}],“poll_attempts”:{“total”:1,“failed”:0}}}’
(MultiJson::ParseError)
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:in
parse' /opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib/json/common.rb:148:inparse’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:16:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:20:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/multi_json-1.10.1/lib/multi_json.rb:119:in
load' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/lib/monkeys/multi_json_empty_fix.rb:11:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:259:in
load_data' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:252:inload’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence_adapters/sequel.rb:121:in
load_action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/persistence.rb:25:inload_action_for_presentation’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/execution_plan/steps/abstract.rb:116:in
action' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:198:inblock in planned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:in
map' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.10/lib/dynflow/action.rb:196:inplanned_actions’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/katello/repository/sync.rb:49:in
presenter' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/lib/actions/helpers/presenter.rb:9:inhumanized_output’
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:94:in
get_humanized' /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.11/app/models/foreman_tasks/task/dynflow_task.rb:70:inhumanized’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/presenters/katello/sync_status_presenter.rb:32:in
sync_progress' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:53:informat_sync_progress’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:78:in
block in get_product_info' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:ineach’
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in
each' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:77:inget_product_info’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
block in index' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:ineach’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.1/app/controllers/katello/sync_management_controller.rb:30:in
index' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:insend_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:in
block in process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:648:inblock (3 levels) in
_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:in
block in _conditional_callback_around_11856' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:inaround’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in
_callback_around_2502' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11856’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:625:in
block (2 levels) in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11855’
/usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in
set_timezone' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in_conditional_callback_around_11855’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:624:in
block in _run__801975322717320551__process_action__867693011672683910__callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:215:inblock in _conditional_callback_around_11854’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:326:in
around' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:310:in_callback_around_13’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:214:in
_conditional_callback_around_11854' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:414:in_run__801975322717320551__process_action__867693011672683910__callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in
__run_callback' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in
run_callbacks' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
block in instrument' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:ininstrument’
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:in
instrument' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:inprocess_action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in
process' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:inprocess’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:in
dispatch' /opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:indispatch’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:in
`block in action’
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:i