Description of problem: If you run repo clone and the run repo status on the cloned repo, the status is not being reported back. 1. Clone a repo without the -F option 2. See the message that use "repo status to check the progress 3. Run repo status on the cloned repo 4. Wait sometime and run repo status again [root@preethi ~]# pulp-admin repo clone --id=f13 --clone_id=clone_f13 --clone_name=clone_f13 --feed=parent Repository [f13] is being cloned as [clone_f13] Use "repo status" to check on the progress [root@preethi ~]# pulp-admin repo status --id=clone_f13 +------------------------------------------+ Status for clone_f13 +------------------------------------------+ Repository: clone_f13 Number of Packages: 0 Last Sync: never [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin repo status --id=clone_f13 +------------------------------------------+ Status for clone_f13 +------------------------------------------+ Repository: clone_f13 Number of Packages: 3102 Last Sync: 2010-11-12 09:38:11.853000
*** Bug 648551 has been marked as a duplicate of this bug. ***
This "bug" really amounts to an RFE for progress on local syncs. Because no progress is reported for local syncs, no progress can be reported for cloning. As of git revision: 30598cfdba6942d693f0d948d6c08bb73a79a27c Progress reporting has been added to both local syncs and cloning $ sudo pulp-admin -u admin -p admin repo clone --id=my-rpmfusion --clone_id=my-rpmfusion-clone-2 --feed=parent -F Repository [my-rpmfusion] is being cloned as [my-rpmfusion-clone-2] You can safely CTRL+C this current command and it will continue [==================================================] 100% (411 of 411 pkgs) Clone: Finished
Fixed in build 0.124.
verified [root@preethi ~]# rpm -q pulp pulp-0.0.124-1.fc14.noarch [root@preethi ~]# pulp-admin repo clone --id=pulp-repo --clone_id=pulp-clone1 --feed=parent -F Repository [pulp-repo] is being cloned as [pulp-clone1] You can safely CTRL+C this current command and it will continue [==================================================] 100% (10 of 10 pkgs) Clone: Finished [root@preethi ~]# pulp-admin repo clone --id=pulp-repo --clone_id=pulp-clone2 --feed=origin -F Repository [pulp-repo] is being cloned as [pulp-clone2] You can safely CTRL+C this current command and it will continue [==================================================] 100% (10 of 10 pkgs) Clone: Finished [root@preethi ~]# pulp-admin repo clone --id=pulp-repo --clone_id=pulp-clone2 --feed=none -F error: operation failed: A repository with the id, pulp-clone2, already exists [root@preethi ~]# pulp-admin repo clone --id=pulp-repo --clone_id=pulp-clone3 --feed=none -F Repository [pulp-repo] is being cloned as [pulp-clone3] You can safely CTRL+C this current command and it will continue [==================================================] 100% (10 of 10 pkgs) Clone: Finished [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id pulp-repo Name pulp-repo FeedURL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/x86_64/ FeedType yum Arch x86_64 Sync Schedule None Packages 10 Files 0 Distributions None Publish True Clones ['pulp-clone1', 'pulp-clone2', 'pulp-clone3'] Groups None Id pulp-clone1 Name pulp-clone1 FeedURL file:///var/lib/pulp/repos/repos/pulp/pulp/testing/fedora-13/x86_64 FeedType local Arch x86_64 Sync Schedule None Packages 10 Files 0 Distributions None Publish True Clones [] Groups None Id pulp-clone2 Name pulp-clone2 FeedURL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/x86_64/ FeedType yum Arch x86_64 Sync Schedule None Packages 10 Files 0 Distributions None Publish True Clones [] Groups None Id pulp-clone3 Name pulp-clone3 FeedURL None FeedType None Arch x86_64 Sync Schedule None Packages 10 Files 0 Distributions None Publish True Clones [] Groups None
Closing with Community Release 15 pulp-0.0.223-4.