Description of problem: Repo sync fails with no error message when syncing repos with a bad feed url. Version-Release number of selected component (if applicable): [root@hp-dl360g6-01 ~]# rpm -q pulp-server pulp-server-2.2.0-0.2.beta.fc18.noarch How reproducible: Steps to Reproduce: 1.create a repo with bad feed 2.Sync the repo 3. Actual results: [root@hp-dl360g6-01 ~]# pulp-admin iso repo create --repo-id "ABC" --feed test Successfully created repository [ABC] [root@hp-dl360g6-01 ~]# pulp-admin rpm repo create --repo-id "ABCD" --feed test Successfully created repository [ABCD] [root@hp-dl360g6-01 ~]# pulp-admin rpm repo sync run --repo-id "ABCD" +----------------------------------------------------------------------+ Synchronizing Repository [ABCD] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [-] [root@hp-dl360g6-01 ~]# pulp-admin iso repo sync run --repo-id "ABCD" +----------------------------------------------------------------------+ Synchronizing Repository [ABCD] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Expected results: Additional info:
It looks like this has been fixed for both iso and rpm syncs.
build: 2.3.0-0.10.alpha
failing, iso repo sync with bad feed's output should be consistent with rpm [root@pulp-v2-server ~]# pulp-admin iso repo create --repo-id "ABC" --feed test Successfully created repository [ABC] [root@pulp-v2-server ~]# pulp-admin rpm repo create --repo-id "ABCD" --feed test Successfully created repository [ABCD] [root@pulp-v2-server ~]# pulp-admin rpm repo sync run --repo-id "ABCD" +----------------------------------------------------------------------+ Synchronizing Repository [ABCD] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [-] ... failed Unsupported scheme: [root@pulp-v2-server ~]# pulp-admin iso repo sync run --repo-id "ABC" +----------------------------------------------------------------------+ Synchronizing Repository [ABC] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading the Pulp Manifest failed: {u'response_code': 0, u'error_message': u"Couldn't resolve host 'test'", u'error_code': 6} [root@pulp-v2-server ~]#
These still have different outputs as of pulp 2.4.3 $ pulp-admin rpm repo sync run --repo-id "ABCD" +----------------------------------------------------------------------+ Synchronizing Repository [ABCD] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [-] ... failed Unsupported scheme: Task Failed Importer indicated a failed response $ pulp-admin iso repo sync run --repo-id "ABC" +----------------------------------------------------------------------+ Synchronizing Repository [ABC] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading the Pulp Manifest failed: {} Task Failed Importer indicated a failed response
Moved to https://pulp.plan.io/issues/355