Bug 643011 - sync status not reporting the actual percentage for "Currently syncing" field
Summary: sync status not reporting the actual percentage for "Currently syncing" field
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Jason Connor
QA Contact: Preethi Thomas
URL:
Whiteboard:
: 644968 (view as bug list)
Depends On:
Blocks: pulp-verified
TreeView+ depends on / blocked
 
Reported: 2010-10-14 13:08 UTC by Preethi Thomas
Modified: 2014-03-31 01:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 14:03:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2010-10-14 13:08:39 UTC
Description of problem:


Currently syncing shows 0% done during sync. It needs to report the actual percentage

[root@preethi ~]# pulp-admin repo status --id=f12_x86_64_update
+------------------------------------------+
        Status for f12_x86_64_update
+------------------------------------------+
Repository: f12_x86_64_update
Number of Packages: 0
Last Sync: never
Currently syncing: 0% done (6227 of 11205 packages downloaded)

Comment 1 Preethi Thomas 2010-10-14 13:36:02 UTC
[root@preethi ~]# pulp-admin repo status --id=f12_x86_64_update
+------------------------------------------+
        Status for f12_x86_64_update
+------------------------------------------+
Repository: f12_x86_64_update
Number of Packages: 0
Last Sync: never
Currently syncing: 1% done (11205 of 11205 packages downloaded)

Comment 2 Jason Connor 2010-10-27 19:34:38 UTC
*** Bug 644968 has been marked as a duplicate of this bug. ***

Comment 3 Jay Dobies 2010-10-29 16:58:35 UTC
Fixed in 0.77.

Comment 4 Jay Dobies 2010-11-03 19:35:37 UTC
Fixed in build 0.78.

Comment 5 Preethi Thomas 2010-11-08 14:55:48 UTC
fails_qa


[root@preethi ~]#  pulp-admin repo status --id=f13
+------------------------------------------+
               Status for f13
+------------------------------------------+
Repository: f13
Number of Packages: 0
Last Sync: never
Currently syncing: 0% done (1637 of 3111 packages downloaded)

[root@preethi ~]#  pulp-admin repo status --id=f13
+------------------------------------------+
               Status for f13
+------------------------------------------+
Repository: f13
Number of Packages: 0
Last Sync: never
Currently syncing: 0% done (2330 of 3111 packages downloaded)

[root@preethi ~]#  pulp-admin repo status --id=f13
+------------------------------------------+
               Status for f13
+------------------------------------------+
Repository: f13
Number of Packages: 0
Last Sync: never
Currently syncing: 0% done (2904 of 3111 packages downloaded)

[root@preethi ~]#  pulp-admin repo status --id=f13
+------------------------------------------+
               Status for f13
+------------------------------------------+
Repository: f13
Number of Packages: 0
Last Sync: never
Currently syncing: 1% done (3109 of 3111 packages downloaded)

[root@preethi ~]#  pulp-admin repo status --id=f13
+------------------------------------------+
               Status for f13
+------------------------------------------+
Repository: f13
Number of Packages: 0
Last Sync: never
Currently syncing: 1% done (3110 of 3111 packages downloaded)

[root@preethi ~]#  pulp-admin repo status --id=f13
+------------------------------------------+
               Status for f13
+------------------------------------------+
Repository: f13
Number of Packages: 0
Last Sync: never
Currently syncing: 1% done (3111 of 3111 packages downloaded)

[root@preethi ~]#  pulp-admin repo status --id=f13
+------------------------------------------+
               Status for f13
+------------------------------------------+
Repository: f13
Number of Packages: 3102
Last Sync: never

Comment 6 Pradeep Kilambi 2011-01-04 18:06:43 UTC
seems to be working.. can you retest this?

$ sudo pulp-admin repo sync --id=rhel-server-5Server-i386 -F
Sync for repository rhel-server-5Server-i386 already in progress
You can safely CTRL+C this current command and it will continue
[=================================                 ] 66% (5549 of 7861 pkgs)



$ sudo pulp-admin repo sync --id=rhel-server-5Server-i386 -F
Sync for repository rhel-server-5Server-i386 already in progress
You can safely CTRL+C this current command and it will continue
[========================================          ] 80% (6634 of 7861 pkgs)

Comment 7 Preethi Thomas 2011-01-04 18:59:12 UTC
This seems to be working now. 

[root@preethi ~]# rpm -q pulp
pulp-0.0.119-1.fc14.noarch


[root@preethi ~]# pulp-admin repo sync --id=f13-updates -F
Sync for repository f13-updates started
You can safely CTRL+C this current command and it will continue
[================================================  ] 97% (13362 of 13363 pkgs)

Comment 8 Preethi Thomas 2011-08-16 14:03:04 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.