Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 960159

Summary: Node publish takes too long and fails at the end for large repos
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: nodesAssignee: Jeff Ortel <jortel>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1 BetaCC: jason.dobies, mmccune
Target Milestone: ---Keywords: Triaged
Target Release: 2.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-10 15:45:00 UTC Type: Bug
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: 950743    

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/