Bug 670526 - Add more information to progress reporting of repo syncs: Remove Obsolete items and Metadata Update
Summary: Add more information to progress reporting of repo syncs: Remove Obsolete ite...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-18 15:33 UTC by John Matthews
Modified: 2011-08-16 12:21 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description John Matthews 2011-01-18 15:33:28 UTC
Description of problem:
We currently display information for the download portion of a repository synchronization.  After this step completes, pulp may perform other operations like metadata creation or removal of packages no longer in the repository.  We do not report progress report for these activities.  On small repos this time is not noticed, on certain larger repos this time is significant.

Example:
Begin test with an old sync of fedora testing.  A few days old should be sufficient.  Point is we want to have an existing sync with data that will be deleted.  

Re-sync and observe that status reports: 100% yet the sync hasn't returned.  It will probably be a few minutes of removing packages (tail /var/log/pulp/pulp.log to see what's happening).


Fix would be to add more information to progress report, after downloading of packages has completed.

Possible new states to show:
a) Downloading items
b) Removing obsolete items
c) Metadata update

Comment 1 John Matthews 2011-01-25 13:02:56 UTC
CLI has been updated to show:
1) Download metadata
2) Downloading items
3) Removing old packages
4) Updating metadata (if appropriate)

Each step is updated in real-time.  While a step is on-going we spin a symbol to show the CLI is still running.

Main commit for these changes is below:
http://git.fedorahosted.org/git/?p=pulp.git;a=commitdiff;h=c0754c729bdc6efe2dd4ad18abf5c70fb731b643

Comment 2 Jay Dobies 2011-01-26 21:27:20 UTC
Fixed in 0.132.

Comment 3 Preethi Thomas 2011-02-04 19:23:08 UTC
verified

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

[root@unused ~]# pulp-admin repo clone --id=rhel5-pulp --clone_id=clone-pulp-el5 --clone_name=clone-pulp-el5 --feed=origin -F
Repository [rhel5-pulp] is being cloned as [clone-pulp-el5]
Clone: Finished
Item Details: 
Rpms: 12/12

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

pulp-0.0.223-4.

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