Hide Forgot
Description of problem: When i clone a repo, all the packages in /var/lib/pulp/packages are duplicated, resulting in 2x the amount of disk space used. Version-Release number of selected component (if applicable): pulp-0.0.248-3.el6.noarch How reproducible: always Steps to Reproduce: 1. Create repo A and sync some content 2. Note the packages in /var/lib/pulp/packages 3. Clone the repo to repo B 4. Note that all packages are now duplicated in /var/lib/pulp/packages For example: ./jpam/0.4/20.el6/x86_64/862/jpam-0.4-20.el6.x86_64.rpm ./jpam/0.4/20.el6/x86_64/dfa/jpam-0.4-20.el6.x86_64.rpm dfa010295c1024cc0dd8753d57431555f407642e43e45210799096ffa6c4cf4c ./jpam/0.4/20.el6/x86_64/862/jpam-0.4-20.el6.x86_64.rpm dfa010295c1024cc0dd8753d57431555f407642e43e45210799096ffa6c4cf4c ./jpam/0.4/20.el6/x86_64/dfa/jpam-0.4-20.el6.x86_64.rpm For some reason pulp thinks that the package has a different checksum the second time.
Note, i first encountered this with a RHEL 6 repo that when cloning filled up the file system and did not complete. I then reproduced it on a fresh install with a very small repo that completed successfully. In both cases, packages were duplicated. The repositories also pointed to the different copies: [root@dhcp77-170 packages]# ls -l ../repos/ACME_Corporation/Locker/Spacewalk/Spacewalk/jpam-0.4-20.el6.x86_64.rpm ../repos/ACME_Corporation/Devel/Spacewalk/Spacewalk/jpam-0.4-20.el6.x86_64.rpm lrwxrwxrwx. 1 apache apache 77 Nov 17 13:58 ../repos/ACME_Corporation/Devel/Spacewalk/Spacewalk/jpam-0.4-20.el6.x86_64.rpm -> ../../../../../packages/jpam/0.4/20.el6/x86_64/dfa/jpam-0.4-20.el6.x86_64.rpm lrwxrwxrwx. 1 apache apache 77 Nov 17 13:47 ../repos/ACME_Corporation/Locker/Spacewalk/Spacewalk/jpam-0.4-20.el6.x86_64.rpm -> ../../../../../packages/jpam/0.4/20.el6/x86_64/862/jpam-0.4-20.el6.x86_64.rpm
commit 83161acc7207964f1626fdd1b24bf5e791eec836
build: 0.254.
verified [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id content Name content Repo URL https://preethi.usersys.redhat.com/pulp/repos/content/ Feed URL None Feed Type None Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 1 Files 1 Distributions None Publish True Clones [] Groups None Filters [] Notes {} Preserve Metadata False Checksum Type sha256 [root@preethi ~]# ls /var/lib/pulp/packages/ gofer [root@preethi ~]# ls /var/lib/pulp/packages/gofer/0.32/1.fc14/noarch/af0/ gofer-0.32-1.fc14.noarch.rpm [root@preethi ~]# pulp-admin repo clone --id=content --clone_id=content-clone --feed=origin -F Repository [content] is being cloned as [content-clone] Clone: Finished Item Details: RPMs: 1/1 [root@preethi ~]# ls /var/lib/pulp/packages/ gofer [root@preethi ~]# ls /var/lib/pulp/packages/gofer/0.32/1.fc14/noarch/af0/ gofer-0.32-1.fc14.noarch.rpm [root@preethi ~]# root@preethi ~]# ls -l /var/lib/pulp/packages/ total 4 drwxr-sr-x. 3 apache apache 4096 Dec 14 16:52 gofe
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.