Bug 1014634 - Error handling when iso repo sync fails for not providing feed certs does not indicate why its failing.
Summary: Error handling when iso repo sync fails for not providing feed certs does no...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: Master
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-02 12:50 UTC by Preethi Thomas
Modified: 2015-02-28 21:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 21:59:01 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 375 0 None None None Never

Description Preethi Thomas 2013-10-02 12:50:10 UTC
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)

Comment 1 Chris Duryee 2014-11-12 03:12:05 UTC
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.

Comment 2 Brian Bouterse 2015-02-28 21:59:01 UTC
Moved to https://pulp.plan.io/issues/375


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