| Summary: | repo sync produce KeyError | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | dgao |
| Component: | z_other | Assignee: | Jeff Ortel <jortel> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:09:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
Build: 0.140 [root@pulp-qe ~]# pulp-admin auth login -u admin -p admin User credentials successfully stored at [/root/.pulp] [root@pulp-qe ~]# pulp-admin repo create --id=foo --feed=yum:http://10.16.76.78/pub/updates Successfully created repository [ foo ] [root@pulp-qe ~]# pulp-admin repo sync --id=foo -F Sync for repository foo started Sync: Finished 0/7 new items downloaded 7/7 existing items processed Item Details: Rpms: 7/7 [root@pulp-qe ~]# pulp-admin repo content --id=foo +------------------------------------------+ Contents of foo +------------------------------------------+ Packages in foo: warnerbros-0.1-1.x86_64.rpm feedless-1.0-1.noarch.rpm emoticons-0.1-2.x86_64.rpm origin-1.0-1.noarch.rpm animaniacs-0.1-1.x86_64.rpm patb-0.1-2.x86_64.rpm parent-1.0-1.noarch.rpm Errata in foo: RHEA-2010:9999 Files in foo: none Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
[root@pulp-nightly ~]# pulp-admin auth login -u admin -p admin User credentials successfully stored at [/root/.pulp] [root@pulp-nightly ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id foo Name foo FeedURL http://10.16.76.78/pub/updates FeedType yum Arch noarch Sync Schedule None Packages 7 Files 0 Distributions None Publish True Clones [] Groups None [root@pulp-nightly ~]# pulp-admin repo sync --id=foo -F Traceback (most recent call last): File "/usr/bin/pulp-admin", line 149, in <module> admin.main() File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 137, in main command.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 118, in main action.main(args[1:]) File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 224, in main self.run() File "/usr/lib/python2.6/site-packages/pulp/client/core/repo.py", line 685, in run task = self.get_task() File "/usr/lib/python2.6/site-packages/pulp/client/core/repo.py", line 664, in get_task self.get_repo(id) File "/usr/lib/python2.6/site-packages/pulp/client/core/repo.py", line 75, in get_repo repo = self.repository_api.repository(id)[1] KeyError: 1