PLP0034: The distributor indicated a failed response when publishing repository

I'm getting this error every time I publish a new content view.

"PLP0034: The distributor indicated a failed response when publishing
repository"
I submitted this issue too: Bug #13580: PLP0034: The distributor indicated a failed response when publishing repository - Katello - Foreman

It seemed like it only happened when I tried to do anything related to
publishing puppet modules. But now it happens for any kind of content view
changes.

I ran these commands over the last few days to fix other issues, could they
have contributed to my current problem?

foreman-rake katello:clean_backend_objects
sudo -u apache pulp-manage-db
foreman-rake katello:reindex

Are there any errors in /var/log/messages?

··· On 02/05/2016 05:30 PM, Filippo Di Noto wrote: > I'm getting this error every time I publish a new content view. > > "PLP0034: The distributor indicated a failed response when publishing > repository" > I submitted this issue too: http://projects.theforeman.org/issues/13580 > > It seemed like it only happened when I tried to do anything related to > publishing puppet modules. But now it happens for any kind of content view > changes. > > > I ran these commands over the last few days to fix other issues, could they > have contributed to my current problem? > > foreman-rake katello:clean_backend_objects > sudo -u apache pulp-manage-db > foreman-rake katello:reindex >

I stopped getting this error after I removed all content views and
composite content views that contained puppet modules.

··· On Friday, February 5, 2016 at 2:30:47 PM UTC-8, Filippo Di Noto wrote: > > I'm getting this error every time I publish a new content view. > > "PLP0034: The distributor indicated a failed response when publishing > repository" > I submitted this issue too: http://projects.theforeman.org/issues/13580 > > It seemed like it only happened when I tried to do anything related to > publishing puppet modules. But now it happens for any kind of content view > changes. > > > I ran these commands over the last few days to fix other issues, could > they have contributed to my current problem? > > foreman-rake katello:clean_backend_objects > sudo -u apache pulp-manage-db > foreman-rake katello:reindex >

Nothing but info/success messages, then the same error I see in katello. no
additional information related to the error.

There is nothing that seems related in /var/log/messages. This is the full
output of the task error:

Action:
Actions::Pulp::Repository::DistributorPublish

Input:
{"pulp_id"=>"DVM-Library-DevOps-el7-basic",
"distributor_type_id"=>"puppet_install_distributor",
"source_pulp_id"=>nil,
"dependency"=>nil,
"remote_user"=>"admin",
"remote_cp_user"=>"admin",
"locale"=>"en"}

Output:
{"pulp_tasks"=>
[{"exception"=>nil,
"task_type"=>"pulp.server.managers.repo.publish.publish",
"_href"=>"/pulp/api/v2/tasks/8fdcd45a-bad2-4b47-a4e4-4f823ab5ce81/",
"task_id"=>"8fdcd45a-bad2-4b47-a4e4-4f823ab5ce81",
"tags"=>
["pulp:repository:DVM-Library-DevOps-el7-basic",
"pulp:action:publish"],
"finish_time"=>"2016-02-05T23:58:00Z",
"_ns"=>"task_status",
"start_time"=>"2016-02-05T23:58:00Z",
"traceback"=>
"Traceback (most recent call last):\n File
"/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in
trace_task\n R = retval = fun(*args, **kwargs)\n File
"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 328,
in call\n return super(Task, self).call(*args, **kwargs)\n File
"/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in
protected_call\n return self.run(*args, **kwargs)\n File
"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/publish.py",
line 99, in publish\n transfer_repo, conduit, call_config)\n File
"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/publish.py",
line 131, in _do_publish\n repository_id=repo_id,
distributor_id=distributor_id)\nPulpCodedException: The distributor
DVM-Library-DevOps-el7-basic indicated a failed response when publishing
repository DVM-Library-DevOps-el7-basic.\n",
"spawned_tasks"=>[],
"progress_report"=>{},
"queue"=>"reserved_resource_worker-3@cfm01.inf.super.DVM.dq",
"state"=>"error",
"worker_name"=>"reserved_resource_worker-3@cfm01.inf.super.DVM",
"result"=>nil,
"error"=>
{"code"=>"PLP0034",
"data"=>
{"repository_id"=>"DVM-Library-DevOps-el7-basic",
"distributor_id"=>"DVM-Library-DevOps-el7-basic"},
"description"=>
"The distributor DVM-Library-DevOps-el7-basic indicated a failed
response when publishing repository DVM-Library-DevOps-el7-basic.",
"sub_errors"=>[]},
"_id"=>{"$oid"=>"56b537073ca12ff6e1a97556"},
"id"=>"56b537078595b20a3a864406"}],
"poll_attempts"=>{"total"=>5, "failed"=>0}}

Exception:
Katello::Errors::PulpError: PLP0034: The distributor
DVM-Library-DevOps-el7-basic indicated a failed response when publishing
repository DVM-Library-DevOps-el7-basic.

Backtrace:
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/pulp/abstract_async_task.rb:71:in
block in done?' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/pulp/abstract_async_task.rb:69:ineach'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/pulp/abstract_async_task.rb:69:in
done?' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action/polling.rb:28:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action/cancellable.rb:9:in
run' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/pulp/abstract_async_task.rb:45:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:506:in
block (3 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:26:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:26:in
pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware.rb:17:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware.rb:30:in
run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:22:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:26:in
pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware.rb:17:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/remote_action.rb:16:in
block in run' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/remote_action.rb:46:inblock (2 levels) in as_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/katello/util/thread_session.rb:72:in
pulp_config' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/remote_action.rb:32:inas_pulp_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/remote_action.rb:45:in
block in as_remote_user' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/katello/util/thread_session.rb:79:incp_config'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/remote_action.rb:27:in
as_cp_user' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/remote_action.rb:44:inas_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/remote_action.rb:16:in
run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:22:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:26:in
pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware.rb:17:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action/progress.rb:30:in
with_progress_calculation' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action/progress.rb:16:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:22:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:26:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware.rb:17:in
pass' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/keep_locale.rb:11:inblock in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/keep_locale.rb:22:in
with_locale' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/lib/actions/middleware/keep_locale.rb:11:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:22:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:26:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware.rb:17:in
pass' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware.rb:30:inrun'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/stack.rb:22:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/middleware/world.rb:30:inexecute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:505:in
block (2 levels) in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:504:incatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:504:in
block in execute_run' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:419:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:419:in
block in with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:419:incatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:419:in
with_error_handling' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:499:inexecute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/action.rb:260:in
execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:inblock (2 levels) in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/execution_plan/steps/abstract.rb:155:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/execution_plan/steps/abstract.rb:155:inwith_meta_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in
block in execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:inopen_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in
execute' /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/executors/parallel/worker.rb:15:inblock in on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:74:in
block in assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:intap'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matchers/abstract.rb:73:in
assigns' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:56:inmatch_value'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:36:in
block in match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:ineach'
/opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:35:in
match?' /opt/theforeman/tfm/root/usr/share/gems/gems/algebrick-0.7.3/lib/algebrick/matching.rb:23:inmatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/executors/parallel/worker.rb:12:in
on_message' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/context.rb:46:inon_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/executes_context.rb:7:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.9/lib/dynflow/actor.rb:26:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/awaits.rb:15:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:38:in
process_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:31:inprocess_envelopes?'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/buffer.rb:20:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/termination.rb:55:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/removes_child.rb:10:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/abstract.rb:25:inpass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/behaviour/sets_results.rb:14:in
on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:161:inprocess_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:95:in
block in on_envelope' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:118:inblock (2 levels) in schedule_execution'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:62:in
block in synchronize' /opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:inmon_synchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/synchronization/mri_lockable_object.rb:62:in
synchronize' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.2.0/lib/concurrent/actor/core.rb:115:inblock in schedule_execution'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:18:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:96:in
work' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/serialized_execution.rb:77:inblock in call_job'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:333:inrun_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:322:in
block (3 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:inloop'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:305:in
block (2 levels) in create_worker' /opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:incatch'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-1.0.0/lib/concurrent/executor/ruby_thread_pool_executor.rb:304:in
block in create_worker' /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'

··· > >

Thanks for the thread. I'm having this same error under similar
circumstances. I also added a puppet repo.

··· On Wednesday, February 10, 2016 at 4:36:44 PM UTC-5, Filippo Di Noto wrote: > > I stopped getting this error after I removed all content views and > composite content views that contained puppet modules. > > On Friday, February 5, 2016 at 2:30:47 PM UTC-8, Filippo Di Noto wrote: >> >> I'm getting this error every time I publish a new content view. >> >> "PLP0034: The distributor indicated a failed response when publishing >> repository" >> I submitted this issue too: http://projects.theforeman.org/issues/13580 >> >> It seemed like it only happened when I tried to do anything related to >> publishing puppet modules. But now it happens for any kind of content view >> changes. >> >> >> I ran these commands over the last few days to fix other issues, could >> they have contributed to my current problem? >> >> foreman-rake katello:clean_backend_objects >> sudo -u apache pulp-manage-db >> foreman-rake katello:reindex >> >

Hi

did you try what's suggested in the issue?

"Check that /etc/puppet/environments is writeable by apache."

If so, please update the ticket Bug #13580: PLP0034: The distributor indicated a failed response when publishing repository - Katello - Foreman
with your findings.

Thank you

··· -- Marek

On Wednesday 16 of March 2016 13:21:51 Edson Manners wrote:

Thanks for the thread. I’m having this same error under similar
circumstances. I also added a puppet repo.

On Wednesday, February 10, 2016 at 4:36:44 PM UTC-5, Filippo Di Noto wrote:

I stopped getting this error after I removed all content views and
composite content views that contained puppet modules.

On Friday, February 5, 2016 at 2:30:47 PM UTC-8, Filippo Di Noto wrote:

I’m getting this error every time I publish a new content view.

"PLP0034: The distributor indicated a failed response when publishing
repository"
I submitted this issue too: Bug #13580: PLP0034: The distributor indicated a failed response when publishing repository - Katello - Foreman

It seemed like it only happened when I tried to do anything related to
publishing puppet modules. But now it happens for any kind of content
view
changes.

I ran these commands over the last few days to fix other issues, could
they have contributed to my current problem?

foreman-rake katello:clean_backend_objects
sudo -u apache pulp-manage-db
foreman-rake katello:reindex

If anyone having this problem would be willing to install pulp-admin (yum
install pulp-admin-client) and get the info about the distributor that is
failing, that would be helpful as well.

the command is

pulp-admin -u admin -p <your password> repo list --details --repo-id <repo
>

the password can be found using: grep default_password /etc/pulp/server.conf
and you can list the repositories with: pulp-admin -u admin -p <your
> repo list

Maybe we can find a workaround to this issue.

-John

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

··· On Thu, Mar 17, 2016 at 5:53 AM, Marek Hulán wrote:

Hi

did you try what’s suggested in the issue?

“Check that /etc/puppet/environments is writeable by apache.”

If so, please update the ticket
Bug #13580: PLP0034: The distributor indicated a failed response when publishing repository - Katello - Foreman
with your findings.

Thank you


Marek

On Wednesday 16 of March 2016 13:21:51 Edson Manners wrote:

Thanks for the thread. I’m having this same error under similar
circumstances. I also added a puppet repo.

On Wednesday, February 10, 2016 at 4:36:44 PM UTC-5, Filippo Di Noto > wrote:

I stopped getting this error after I removed all content views and
composite content views that contained puppet modules.

On Friday, February 5, 2016 at 2:30:47 PM UTC-8, Filippo Di Noto wrote:

I’m getting this error every time I publish a new content view.

"PLP0034: The distributor indicated a failed response when publishing
repository"
I submitted this issue too:
Bug #13580: PLP0034: The distributor indicated a failed response when publishing repository - Katello - Foreman

It seemed like it only happened when I tried to do anything related to
publishing puppet modules. But now it happens for any kind of content
view
changes.

I ran these commands over the last few days to fix other issues, could
they have contributed to my current problem?

foreman-rake katello:clean_backend_objects
sudo -u apache pulp-manage-db
foreman-rake katello:reindex


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Is it possible we have a regression on this issue? I know it was fixed back
in September 2016 but I ran into what looks like the same issue with
Katello 3.4.4 today.

I pulled in a new version of Puppet stdlib a week or two ago when I
published a new version of some Content Views.

Today, I promoted those CVs to an environment that needed to be synched to
a capsule and I got this

PLP0034: The distributor 3-C7-Staging-puppet-61a82fb3-e03e-4866-8903-b671fe1bd9d7 indicated a failed response when publishing repository 3-C7-Staging-puppet-61a82fb3-e03e-4866-8903-b671fe1bd9d7.

The detailed error info from the capsule synch task looks like a duplicate
unit name again.

error:
code: PLP0034
data:
distributor_id: 3-C7-Staging-puppet-61a82fb3-e03e-4866-8903-b671fe1bd9d7
repo_id: 3-C7-Staging-puppet-61a82fb3-e03e-4866-8903-b671fe1bd9d7
summary: duplicate unit names
description: The distributor 3-C7-Staging-puppet-61a82fb3-e03e-4866-8903-b671fe1bd9d7
indicated a failed response when publishing repository 3-C7-Staging-puppet-61a82fb3-e03e-4866-8903-b671fe1bd9d7.
sub_errors: []