Hide Forgot
Description of problem: repo clone seems to be waiting indefinitely if you try to clone a repo which has a sync schedule and clone command is issued when the sync is being done Version-Release number of selected component (if applicable): [root@preethi ~]# rpm -q pulp pulp-0.0.254-6.fc15.noarch How reproducible: Steps to Reproduce: 1. create a large repo with sync schedule 2. when the sync is in progress issue a repo clone command 3. see that the its waiting and never completing the clone 4. If you ctr+c out an try to clone again when the sync is not in progress, clone completes Actual results: [root@preethi ~]# pulp-admin repo clone --id=rhel6 --clone_id=rhe16-clone --feed=parent -F Sync for parent repository rhel6 already in progress Waiting - ^C [root@preethi ~]# pulp-admin repo clone --id=rhel6 --clone_id=rhe16-clone --feed=parent -F Repository [rhel6] is being cloned as [rhe16-clone] Clone: Finished Item Details: Tree Files: 6/6 RPMs: 3529/3529 Expected results: clone gets invoked as soon as sync is done Additional info:
Added server-side checking for parent repo sync and return a 409 conflict if one is found Removed client side check for parent repo sync Fixes pushed in: 2178a6076134984a1f367ad6fa0f63bf777e62fd 91b3f370be148346e2d51f9b925b4ec1655a48bb
build: 0.257
fails_qa [root@preethi ~]# rpm -q pulp pulp-0.0.257-1.fc15.noarch typo in the error message [root@preethi ~]# pulp-admin repo clone --id=centos --clone_id=centos_id --feed=origin -F error: operation failed: The repository centos is currently syncing, cannot create clone util it is finished change util to until
fixed in revision 549079c4f5de7cfcb78d039045297fede33120a8
build: 0.258
verified [root@qeblade20 ~]# rpm -q pulp pulp-0.0.258-1.el6.noarch [root@qeblade20 ~]# [root@qeblade20 ~]# pulp-admin -u admin -p admin repo clone --id=protected_test_parallel_repo_A0 --clone_id=clone1 --feed=origin -F error: operation failed: The repository protected_test_parallel_repo_A0 is currently syncing, cannot create clone until it is finished [root@qeblade20 ~]#
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.