It looks like when calling status on a repo sync the progress information reported may be incorrect for the percentage complete. $ sudo pulp-admin repo create --id pulp_rhel5_x86_64 --feed yum:http://repos.fedorapeople.org/repos/pulp/pulp/testing/rhel5/x86_64/ $ sudo pulp-admin repo sync --id pulp_rhel5_x86_64 **ISSUE IS HERE*** Note: that the percentage below is "1%" yet it says 11 of 11 have been downloaded. $ sudo pulp-admin repo status --id pulp_rhel5_x86_64 +------------------------------------------+ Status for pulp_rhel5_x86_64 +------------------------------------------+ Repository: pulp_rhel5_x86_64 Number of Packages: 11 Last Sync: 2011-01-19 15:00:13.017000 Currently syncing: 1% done (11 of 11 packages downloaded) <<NOTE: That it's 1% yet 11 of 11>>>> Now it shows sync complete, which is fine. [jmatthews@jwm-devel ~]$ sudo pulp-admin repo status --id pulp_rhel5_x86_64 +------------------------------------------+ Status for pulp_rhel5_x86_64 +------------------------------------------+ Repository: pulp_rhel5_x86_64 Number of Packages: 11 Last Sync: 2011-01-19 15:01:24.515000
This is working now. Percentage is updated as sync progresses. sudo pulp-admin repo status --id local1 Fri Jan 28 12:25:55 2011 +------------------------------------------+ Status for local1 +------------------------------------------+ Repository: local1 Number of Packages: 7184 Last Sync: 2011-01-28 09:27:58.062000 Currently syncing: 11% done (852 of 7184 packages downloaded) sudo pulp-admin repo status --id local1 Fri Jan 28 12:26:52 2011 +------------------------------------------+ Status for local1 +------------------------------------------+ Repository: local1 Number of Packages: 7184 Last Sync: 2011-01-28 09:27:58.062000 Currently syncing: 24% done (1789 of 7184 packages downloaded) Every 1.0s: sudo pulp-admin repo status --id local1 Fri Jan 28 12:32:34 2011 +------------------------------------------+ Status for local1 +------------------------------------------+ Repository: local1 Number of Packages: 7184 Last Sync: 2011-01-28 09:27:58.062000 Currently syncing: 100% done (7184 of 7184 packages downloaded) Every 1.0s: sudo pulp-admin repo status --id local1 Fri Jan 28 12:39:30 2011 +------------------------------------------+ Status for local1 +------------------------------------------+ Repository: local1 Number of Packages: 7184 Last Sync: 2011-01-28 12:37:20.670000
Fixed in 0.134.
[root@preethi ~]# rpm -q pulp pulp-0.0.134-1.fc14.noarch [root@preethi ~]# pulp-admin repo sync --id f14-update Sync for repository f14-update started Use "repo status" to check on the progress [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 3% done (432 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 8% done (935 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 13% done (1336 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 17% done (1625 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 20% done (1692 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 21% done (1869 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 21% done (1910 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 22% done (1960 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 24% done (2099 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 25% done (2175 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 27% done (2430 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 34% done (2878 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 50% done (3745 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 54% done (4161 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 57% done (4613 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 62% done (5151 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 66% done (5430 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 69% done (5745 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 73% done (6374 of 11110 packages downloaded) [root@preethi ~]# [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 79% done (7913 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 87% done (10574 of 11110 packages downloaded) [root@preethi ~]# pulp-admin repo status --id f14-update +------------------------------------------+ Status for f14-update +------------------------------------------+ Repository: f14-update Number of Packages: 5932 Last Sync: 2011-02-03 18:51:57 Currently syncing: 100% done (0 of 11110 packages downloaded)
Closing with Community Release 15 pulp-0.0.223-4.