Bug 705334
| Summary: | repo status reports wrong percentage... | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Tim Powers <timp> |
| Component: | z_other | Assignee: | John Matthews <jmatthew> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | skarmark, tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 24 | ||
| 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:07:55 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: | 647488 | ||
It looks like this is working with master as of 6/9/11.
QE: Please verify this is indeed fixed.
+------------------------------------------+
Status for local_rhel5
+------------------------------------------+
Repository: local_rhel5
Number of Packages: 0
Last Sync: never
Currently syncing: 99% done (7180 of 7184 packages downloaded)
+------------------------------------------+
Status for local_rhel5
+------------------------------------------+
Repository: local_rhel5
Number of Packages: 0
Last Sync: never
Currently syncing: 99% done (7182 of 7184 packages downloaded)
+------------------------------------------+
Status for local_rhel5
+------------------------------------------+
Repository: local_rhel5
Number of Packages: 0
Last Sync: never
Currently syncing: 100% done (7184 of 7184 packages downloaded)
[root@preethi ~]# rpm -q pulp
pulp-0.0.202-1.fc14.noarch
[root@preethi ~]#
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 19% done (749 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 29% done (999 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 32% done (1092 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 35% done (1212 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 44% done (1512 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 59% done (1862 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 82% done (2509 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 86% done (2630 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 97% done (2837 of 2941 packages downloaded)
[root@preethi ~]# pulp-admin -u admin -p admin repo status --id=f15
+------------------------------------------+
Status for f15
+------------------------------------------+
Repository: f15
Number of Packages: 0
Last Sync: never
Currently syncing: 100% done (2941 of 2941 packages downloaded)
Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |
Description of problem: Percentage complete is incorrect for a sync when running pulp-admin repo status Version-Release number of selected component (if applicable): 0.0.177-1.el6 Steps to Reproduce: 1. Create a new repo with a new feed 2. Start syncing the repo 3. Check the status of the repo while the sync is in progress. Actual results: [root@pulp-dev debug]# pulp-admin repo status --id=RHEL-6.0-Client-x86_64 +------------------------------------------+ Status for RHEL-6.0-Client-x86_64 +------------------------------------------+ Repository: RHEL-6.0-Client-x86_64 Number of Packages: 0 Last Sync: never Currently syncing: 100% done (2775 of 2776 packages downloaded) Expected results: [root@pulp-dev debug]# pulp-admin repo status --id=RHEL-6.0-Client-x86_64 +------------------------------------------+ Status for RHEL-6.0-Client-x86_64 +------------------------------------------+ Repository: RHEL-6.0-Client-x86_64 Number of Packages: 0 Last Sync: never Currently syncing: 100% done (2776 of 2776 packages downloaded)