Bug 1017815 - failed publish doesn't get logged
Summary: failed publish doesn't get logged
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: Master
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: ---
: 2.3.0
Assignee: Michael Hrivnak
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-10 14:43 UTC by Michael Hrivnak
Modified: 2013-12-09 14:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-09 14:30:30 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.