Bug 1017815

Summary: failed publish doesn't get logged
Product: [Retired] Pulp Reporter: Michael Hrivnak <mhrivnak>
Component: z_otherAssignee: Michael Hrivnak <mhrivnak>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: MasterCC: pthomas
Target Milestone: ---Keywords: Triaged
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-09 14:30:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Hrivnak 2013-10-10 14:43:17 UTC
Description of problem:
Failed publishes do not get logged, even at the debug level

Version-Release number of selected component (if applicable):
master

How reproducible:
always

Steps to Reproduce:
1. set log level to DEBUG for pulp
2. publish with the puppet_install_distributor in a case where it will fail

Actual results:
nothing about the failure is in /var/log/pulp.log

Expected results:
the failure should be noted in pulp.log

Comment 1 Michael Hrivnak 2013-10-10 15:17:43 UTC
https://github.com/pulp/pulp/pull/658

Comment 2 Jeff Ortel 2013-10-11 15:26:03 UTC
build: 2.3.0-0.18.beta

Comment 3 Preethi Thomas 2013-10-16 16:36:00 UTC
verified
[root@pulp-v2-server ~]# rpm -qa |grep pulp-server
pulp-server-2.3.0-0.20.beta.el6.noarch

2013-10-16 11:02:32,267 pulp.server.managers.repo.publish:INFO: publish failed for repo [puppet-copy] with distributor ID [puppet_install_distributor]
2013-10-16 11:02:32,268 pulp.server.managers.repo.publish:DEBUG: summary for repo [puppet-copy] with distributor ID [puppet_install_distributor]: failed to create destination directory: [Errno 13] Permission denied: '/etc/puppet/puppet-copy/'

Comment 4 Preethi Thomas 2013-12-09 14:30:30 UTC
Pulp 2.3 released.