Bug 667753
| Summary: | running repo sync with --no-packages option on a newly created repo fails | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Jason Connor <jconnor> |
| Component: | z_other | Assignee: | John Matthews <jmatthew> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | jmatthew, mmccune, skarmark, tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 20 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 13:58:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 641987 | ||
|
Description
Jason Connor
2011-01-06 17:03:32 UTC
$ sudo pulp-admin -u admin -p admin repo create --id rpmfusion-free --arch=x86_64 --feed=yum:http://download1.rpmfusion.org/free/fedora/releases/14/Everything/x86_64/os/Successfully created repository [ rpmfusion-free ] $ sudo pulp-admin -u admin -p admin repo sync --id rpmfusion-free --no-packages -F Sync for repository rpmfusion-free started You can safely CTRL+C this current command and it will continue [==================================================] 100% (0 of 0 pkgs) 0/0 new items downloaded 0/0 existing items verified Sync: Finished Fixed in build 0.124. fails_qa [root@preethi ~]# rpm -q pulp pulp-0.0.124-1.fc14.noarch [root@preethi ~]# pulp-admin -u admin -p admin repo create --id=f13 --name=f13 --arch=x86_64 --feed=yum:http://download.devel.redhat.com/released/F-13/GOLD/Fedora/x86_64/os/ Successfully created repository [ f13 ] [root@preethi ~]# pulp-admin -u admin -p admin repo sync --id=f13 --no-packages -F Sync for repository f13 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (9 of 9 pkgs) Sync: Error OSError: [Errno 2] No such file or directory: '/var/lib/pulp/repos/released/F-13/GOLD/Fedora/x86_64/os//Packages' It fails when it still syncs packages with the --no-packages option I suspect it's syncing errata In grinder we were looking to remove old packages even if we said skip packages. Below commit fixes the issue. http://git.fedorahosted.org/git/?p=grinder.git;a=commit;h=b09be9fdb459cedb542027e8609f094915bfee24 Note this will be in grinder 0.79 Fixed in 0.136. verified [root@preethi ~]# rpm -q pulp pulp-0.0.140-1.fc14.noarch [root@preethi ~]# pulp-admin -u admin -p redhat repo sync --id=f13 --no-packages -F Sync for repository f13 started Sync: Finished 0/9 new items downloaded 9/9 existing items processed Item Details: Tree_Files: 9/9 Closing with Community Release 15 pulp-0.0.223-4. |