Bug 1003965
| Summary: | Syncing a repo that doesn't have a feed fails less than gracefully | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Randy Barlow <rbarlow> |
| Component: | rpm-support | Assignee: | Barnaby Court <bcourt> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | Master | CC: | bcourt, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.4.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-09 06:56:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
build: 2.4.0-0.7.beta 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 ~]#
This has been fixed in Pulp 2.4.0-1. |
$ 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'