Bug 1003965 - Syncing a repo that doesn't have a feed fails less than gracefully
Summary: Syncing a repo that doesn't have a feed fails less than gracefully
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: rpm-support
Version: Master
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 2.4.0
Assignee: Barnaby Court
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-03 15:06 UTC by Randy Barlow
Modified: 2014-08-09 06:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-09 06:56:25 UTC


Attachments (Terms of Use)

Description Randy Barlow 2013-09-03 15:06:25 UTC
$ pulp-admin rpm repo create --repo-id test

$ pulp-admin rpm repo sync run --repo-id test
+----------------------------------------------------------------------+
                    Synchronizing Repository [test]
+----------------------------------------------------------------------+

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

Downloading metadata...
[-]
... failed

'NoneType' object has no attribute 'endswith'

Comment 1 Barnaby Court 2013-12-02 14:04:48 UTC
PR: https://github.com/pulp/pulp_rpm/pull/403

Comment 2 Jeff Ortel 2014-04-03 13:35:59 UTC
build: 2.4.0-0.7.beta

Comment 3 Preethi Thomas 2014-04-15 19:39:35 UTC
verified

[root@pulp-24-server ~]# rpm -qa pulp-server
pulp-server-2.4.0-0.9.beta.el6.noarch
[root@pulp-24-server ~]# pulp-admin rpm repo create --repo-id test
Successfully created repository [test]

[root@pulp-24-server ~]# pulp-admin rpm repo sync run --repo-id test
+----------------------------------------------------------------------+
                    Synchronizing Repository [test]
+----------------------------------------------------------------------+

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


Downloading metadata...
[-]
... failed

Unable to sync a repository that has no feed


Task Failed

Importer indicated a failed response

[root@pulp-24-server ~]#

Comment 4 Randy Barlow 2014-08-09 06:56:25 UTC
This has been fixed in Pulp 2.4.0-1.


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