Red Hat Bugzilla – Bug 1017924
Syncing content to a child node is taking a very long time
Last modified: 2014-09-11 08:20:38 EDT
Description of problem:
Unfortunately, until more details are uncovered this bugzilla will be a bit vague. That said, it has been observed that syncing a large repo from a pulp master (Satellite 6) to a node (Satellite 6 node) is taking a very long time. For example, syncing a 6Server repo (consisting of ~11K pkgs and ~16G of content) has been observed to take more than ~16hours.
Version-Release number of selected component (if applicable):
Always (so far)
Steps to Reproduce:
1. Install/configure Satellite 6 (katello-configure)
2. Import a manifest, enable & sync RHEL 6Server
3. Create a content view definition, adding the repo from 3
4. Publish a content view from the definition
5. Install/configure Satellite 6 node (node-installer)
6. Using the CLI on the Satellite 6, add Library to the node. E.g,
node add_environment --org Katello_Infrastructure --environment Library --id 1
7. Sync the Library to the node
node sync --org Katello_Infrastructure --environment Library --id 1
content synced for ~16 hrs...
Based on discussions, it should have completed much quicker (e.g. 20min to 1hr)
Attempted another sync from a separate Satellite 6 master to a node. The content synced was the 6Server repo (~16G content) and it took over 16 hours to complete.
build: pulp 2.3.0-0.19.beta
Using the latest builds for Satellite 6 MDP2, installed and configured a sat6 server and node. Then updated the following packages on the child node:
-imported a manifest
-enabled the RHEL 6.4 kickstart repo and server rpms repo
-synced the above repos (~14,600 rpms)
-added them to a content view definition
-published a view
-promoted the view to dev env
-added the dev env to the child node
-synced the dev env to the child node
While this is not an exact duplication of the original test case (i.e.dev vs library, 6.4 vs 6Server), the sync did include ~14K+ rpms across 2 repos.
The sync appears to have completed successfully in ~35 minutes vs hours.
This seems to be better in Satellite-6.0.4-RHEL-6-20140823.0. Things sync a lot faster now.
This was delivered with Satellite 6.0 which was released on 10 September 2014.