Bug 668071
Summary: | origin clone sync returns error | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | dgao |
Component: | z_other | Assignee: | Sayli Karmarkar <skarmark> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | cperry, skarmark, tsanders |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 14:02:03 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
dgao
2011-01-07 20:04:24 UTC
011-01-07 15:45:26,421 [INFO][Thread-41] _sync() @ repo.py:1154 - Sync returned 10 packages, 0 errata 2011-01-07 15:45:26,442 [ERROR][Thread-41] failed() @ task.py:207 - Task id:0d96c828-1a9f-11e0-8302-54520047a0af, method_name:_sync: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 131, in run result = self.callable(*self.args, **self.kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/api/repo.py", line 1162, in _sync repo["packages"][pid]["repo_defined"]: KeyError: 'repo_defined' This was reported in f13. f14 worked fine. Tried reproducing it on F13 x86_64 box, but no luck. $ pulp-admin repo clone --id=example --clone_id=ex-clone1 --feed=origin -F Repository [example] is being cloned as [ex-clone1] You can safely CTRL+C this current command and it will continue [ ] 0% Clone: Finished $ sudo pulp-admin repo sync --id=ex-clone1 -F Sync for repository ex-clone1 started You can safely CTRL+C this current command and it will continue [==================================================] 100% (10 of 10 pkgs) 0/10 new items downloaded 10/10 existing items verified Sync: Finished $ cat /etc/redhat-release Fedora release 13 (Goddard) Preethi, can you cross-check? David was able to reproduce it on nightly build box. I tested my fix on that box and it seems to be working fine now. Moving it to modified. Fixed in build 0.124. [root@unused ~]# pulp-admin repo clone --id=rhel5-pulp --clone_id=clone-pulp-el5 --clone_name=clone-pulp-el5 --feed=origin -F Repository [rhel5-pulp] is being cloned as [clone-pulp-el5] Clone: Finished Item Details: Rpms: 12/12 201102041045:56.343 - FINE: ssh root.redhat.com pulp-admin repo sync --id origin_clone_repo -F (com.redhat.qe.tools.SSHCommandRunner.run) 201102041045:58.016 - FINE: Stdout: Sync for repository origin_clone_repo started You can safely CTRL+C this current command and it will continue [0F[JWaiting / [1F[JStep: Downloading Items or Verifying [=========================] 100% Rpms: 6/6 Total: 6/6 items [4F[JStep: Importing data into pulp Waiting - [2F[JStep: Processing Errata Waiting \ [2F[JSync: Finished 0/6 new items downloaded 6/6 existing items processed Item Details: Rpms: 6/6 Closing with Community Release 15 pulp-0.0.223-4. |