Bug 960159 - Node publish takes too long and fails at the end for large repos
Summary: Node publish takes too long and fails at the end for large repos
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: nodes
Version: 2.1 Beta
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.2.0
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: 950743
TreeView+ depends on / blocked
 
Reported: 2013-05-06 15:18 UTC by Preethi Thomas
Modified: 2013-09-10 15:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-10 15:45:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2013-05-06 15:18:13 UTC
Description of problem:

Node repo publish takes too long and finally ends in error when publlishing large repos. % memory is also above 80%

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

[root@ivanova ~]# time pulp-admin node repo publish  --repo-id copy-rhelThis command may be exited via ctrl+c without affecting the request.

[|]
The web server reported an error trying to access the Pulp application. The
likely cause is that the pulp-manage-db script has not been run prior to
starting the server. More information can be found in Apache's error log file on
the server itself.


real	16m27.814s
user	0m24.966s
sys	0m1.583s
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeff Ortel 2013-05-21 19:42:58 UTC
https://github.com/pulp/pulp/pull/484

Comment 2 Jeff Ortel 2013-06-06 16:20:16 UTC
build: 2.2.0-0.2.beta.

Some of these were likely included in an earlier build but found them this time with a better BZ query.

Comment 3 Preethi Thomas 2013-06-13 16:50:32 UTC
verified

[root@hp-dl360g6-01 ~]# rpm -q pulp-server
pulp-server-2.2.0-0.3.beta.fc18.noarch
[root@hp-dl360g6-01 ~]# 

[root@hp-dl360g6-01 ~]# pulp-admin node repo enable --repo-id rhel6-2
Repository enabled.

Note: Repository [ rhel6-2 ] will not be available for node synchronization
until published.  See: the 'node repo publish' command.

Warning: enabling with auto-publish may degrade repository synchronization
performance.

[root@hp-dl360g6-01 ~]# pulp-admin node repo publish --repo-id rhel6-2
This command may be exited via ctrl+c without affecting the request.

[-]
Waiting to begin...

[\]
Running...

Publish succeeded.


[root@hp-dl360g6-01 ~]# pulp-admin node sync run --node-id node1
This command may be exited via ctrl+c without affecting the request.

[-]
Waiting to begin...



(1/1) Repository: rhel6-2
[==================================================] 100%




Synchronization succeeded

+----------------------------------------------------------------------+
                       Child Node Synchronization
+----------------------------------------------------------------------+

Repository: 
  Action: Removed
  Id:     f18
  Units:  
    Added:   0
    Removed: 0
    Updated: 0

Repository: 
  Action: Removed
  Id:     file-repo
  Units:  
    Added:   0
    Removed: 0
    Updated: 0

Repository: 
  Action: Added
  Id:     rhel6-2
  Units:  
    Added:   7493
    Removed: 0
    Updated: 0



[root@hp-dl360g6-01 ~]#

Comment 4 Preethi Thomas 2013-09-10 15:45:00 UTC
2.2 released
http://repos.fedorapeople.org/repos/pulp/pulp/stable/2.2/


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