Actions
Issue #682
closedpublish_repo failures that do not raise an exception are marked as successful
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.5
Platform Release:
2.6.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
Description of problem:
When a distributor has it's publish_repo method called and the publish report return indicates a failure the task is marked as completing successfully. If the publish_repo method raises an exception the task is marked properly as failed.
+ This bug was cloned from Bugzilla Bug #1186920 +
Updated by dkliban@redhat.com over 9 years ago
***** Bug 1193131 has been marked as a duplicate of this bug. ***
+ This comment was cloned from Bugzilla #1186920 comment 1 +
Updated by bcourt over 9 years ago
- Status changed from NEW to POST
- Platform Release set to 2.6.2
Added by bcourt over 9 years ago
Added by bcourt over 9 years ago
Revision cb30af0a | View on GitHub
Ensure that if a publish_report is failed the task is marked as a failure.
fixes #682
Updated by bcourt over 9 years ago
- % Done changed from 0 to 100
Applied in changeset pulp|cb30af0a93089f6145f073933c46f1fcd6fa2ad9.
Updated by dkliban@redhat.com about 9 years ago
- Status changed from MODIFIED to 5
Updated by pthomas@redhat.com about 9 years ago
- Status changed from 5 to 6
Verified
[root@mgmt12 puppet]# rpm -qa pulp-server
pulp-server-2.6.2-0.2.beta.el6.noarch
[root@mgmt12 puppet]#
<\pre>
task is marked correctly as failed
<pre>
u'/var/lib/pulp/published/yum/master/yum_distributor/rad-5Client/1432052214.08/c
ups-devel-1.3.7-32.el5_11.i386.rpm'"),
(u'/var/lib/pulp/published/yum/master/yum_distributor/rad-5Client/1432052214.08/
cyrus-sasl-devel-2.1.22-5.el5.i386.rpm',
u'/var/lib/pulp/working/repos/rad-5Client/distributors/yum_distributor/cyrus-sas
l-devel-2.1.22-5.el5.i386.rpm', "[Errno 13] Permission denied:
u'/var/lib/pulp/published/yum/master/yum_distributor/rad-5Client/1432052214.08/c
yrus-sasl-devel-2.1.22-5.el5.i386.rpm'"),
(u'/var/lib/pulp/published/yum/master/yum_distributor/rad-5Client/1432052214.08/
sblim-sfcc-devel-2.2.2-51.el5.x86_64.rpm',
u'/var/lib/pulp/working/repos/rad-5Client/distributors/yum_distributor/sblim-sfc
c-devel-2.2.2-51.el5.x86_64.rpm', "[Errno 13] Permission denied:
u'/var/lib/pulp/published/yum/master/yum_distributor/rad-5Client/1432052214.08/s
blim-sfcc-devel-2.2.2-51.el5.x86_64.rpm'")]
Task Failed
/pre>
<pre>
Operations: publish
Resources: rad-5Client (repository)
State: Failed
Start Time: 2015-05-25T16:04:08Z
Finish Time: 2015-05-25T16:04:09Z
Task Id: 5b7839f9-9d98-4e80-b8f2-5c5f2ff20eac
Updated by dkliban@redhat.com almost 9 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Updated by bmbouter about 4 years ago
- Category deleted (
14)
We are removing the 'API' category per open floor discussion June 16, 2020.
Actions
Ensure that if a publish_report is failed the task is marked as a failure.
fixes #682