Bug 701736 - currently syncing field shows 100% if you run repo status on a resync as soon as you run repo sync
Summary: currently syncing field shows 100% if you run repo status on a resync as soon...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: Sprint 24
Assignee: John Matthews
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-05-03 17:26 UTC by Preethi Thomas
Modified: 2011-08-16 12:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:06:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2011-05-03 17:26:58 UTC
Description of problem:
If run repo sync on an already synced repo and run repo status immediately 
Currently syncing shows  as follows

Currently syncing: 100% done (0 of 0 packages downloaded)

Version-Release number of selected component (if applicable):
[root@preethi ~]# rpm -q pulp
pulp-0.0.172-1.fc14.noarch


How reproducible:


Steps to Reproduce:
1. create and sync a repo
2. see the repo status to make sure that  the sync is completed and Last sync is shown
3.Now run repo sync again
4. run repo status soon after running repo sync
  
Actual results:


[root@preethi ~]# pulp-admin repo status --id=f14-original 
+------------------------------------------+
           Status for f14-original
+------------------------------------------+
Repository: f14-original
Number of Packages: 2766
Last Sync: 2011-05-03 17:31:12

[root@preethi ~]# 
[root@preethi ~]# 
[root@preethi ~]# pulp-admin repo sync --id=f14-original 
Sync for repository f14-original started
Use "repo status" to check on the progress
[root@preethi ~]# pulp-admin repo status --id=f14-original 
+------------------------------------------+
           Status for f14-original
+------------------------------------------+
Repository: f14-original
Number of Packages: 2766
Last Sync: 2011-05-03 17:31:12
Currently syncing: 100% done (0 of 0 packages downloaded)

Comment 1 John Matthews 2011-06-13 17:08:05 UTC
Fixed in this commit: 45e80840ad64ef8e4c63aeb166aa416ae0d04414

Comment 2 Jeff Ortel 2011-06-13 19:48:12 UTC
build: 0.190

Comment 3 Preethi Thomas 2011-07-07 18:42:18 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.202-1.fc14.noarch

[root@preethi ~]# pulp-admin repo sync --id=f14
Sync for repository f14 started
Use "repo status" to check on the progress
[root@preethi ~]# pulp-admin repo status --id=f14
+------------------------------------------+
               Status for f14
+------------------------------------------+
Repository: f14
Number of Packages: 2766
Last Sync: 2011-07-07 14:49:39-04:00
Currently syncing: 0% done (0 of 0 packages downloaded)

[root@preethi ~]# pulp-admin repo status --id=f14
+------------------------------------------+
               Status for f14
+------------------------------------------+
Repository: f14
Number of Packages: 2766
Last Sync: 2011-07-07 14:49:39-04:00
Currently syncing: 28% done (669 of 2773 packages downloaded)

Comment 4 Preethi Thomas 2011-08-16 12:06:31 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:20:37 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.