Project

Profile

Help

Issue #375

Error handling when iso repo sync fails for not providing feed certs does not indicate why its failing.

Added by pthomas@redhat.com over 5 years ago. Updated over 1 year ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Master
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:

Error handling when iso repo sync fails for not providing feed certs does not indicate why its failing. At the very least it should be consistent with rpm sync error for the same scenario.

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

How reproducible:

Steps to Reproduce:
1.create a iso cdn repo without using the cert options
2. sync the repo
3.

Actual results:
[root@ibm-ls22-02 ~]# pulp-admin iso repo create --repo-id iso-rhel6 --feed https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6.4/i386/iso/
Successfully created repository [iso-rhel6]

[root@ibm-ls22-02 ~]# pulp-admin iso repo sync run --repo-id iso-rhel6
--------------------------------------------------------------------
Synchronizing Repository [iso-rhel6]
--------------------------------------------------------------------

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading the Pulp Manifest...
Downloading the Pulp Manifest failed:

{}

Expected results:

Additional info:

from pulp.log

2013-10-02 08:17:47,926 pulp.server.dispatch.task:ERROR: Importer indicated a failed response
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp/server/dispatch/task.py", line 138, in run
result = call(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sync.py", line 116, in sync
raise PulpExecutionException(
('Importer indicated a failed response'))
PulpExecutionException: Importer indicated a failed response
2013-10-02 08:17:47,927 pulp.server.dispatch.task:INFO: FAILURE: Task 37667b56-4d6e-44ca-bc3b-31e0c3254a0b: CallRequest: RepoSyncManager.sync(u'iso-rhel6', sync_config_override=None)

+ This bug was cloned from Bugzilla Bug #1014634 +


Related issues

Related to Pulp - Issue #2006: iso importer fails without useful error messageCLOSED - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by cduryee over 5 years ago

This still occurs on pulp 2.4.3.

$ pulp-admin iso repo create --repo-id iso-rhel6 --feed https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6.4/i386/iso/

$ pulp-admin iso repo sync run --repo-id iso-rhel6
--------------------------------------------------------------------
Synchronizing Repository [iso-rhel6]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Downloading the Pulp Manifest failed:

{}

Task Failed

Importer indicated a failed response

The error is logged but does not bubble up to the command line.

+ This comment was cloned from Bugzilla #1014634 comment 1 +

#2 Updated by dkliban@redhat.com almost 4 years ago

  • Related to Issue #2006: iso importer fails without useful error message added

#3 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#4 Updated by bmbouter over 1 year ago

  • Severity set to 1. Low

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#5 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF