Project

Profile

Help

Issue #355

closed

Need error handling and message for repo sync with a bad feed

Added by pthomas@redhat.com about 9 years ago. Updated about 5 years ago.

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

Description

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:

+ This bug was cloned from Bugzilla Bug #973172 +

Also available in: Atom PDF