Issue #1695
Updated by pthomas@redhat.com about 8 years ago
Repo export seems seems to be just copying the files over.It is not making the repository into an iso <pre> 1. Create a repo with or without a --export-dir option 2. export the repo When I ran export without the --export-dir no export directory was created root@cloud-qe-14 ~]# pulp-admin rpm repo export run --repo-id rhel6-ks --export-dir /tmp/ +----------------------------------------------------------------------+ Publishing Repository [rhel6-ks] +----------------------------------------------------------------------+ The following publish configuration options will be used: Export Dir: /tmp/ This command may be exited via ctrl+c without affecting the request. Initializing repo metadata [-] ... completed Publishing Distribution files [|] ... completed Publishing RPMs [==================================================] 100% 3819 of 3819 items ... completed Publishing Delta RPMs ... skipped Publishing Errata [-] ... completed Publishing Comps file [==================================================] 100% 212 of 212 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Copying files [\] ... completed Writing Listings File [-] ... completed Task Succeeded [root@cloud-qe-14 ~]# pulp-admin rpm repo export run --repo-id zoo --export-dir /tmp +----------------------------------------------------------------------+ Publishing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Initializing repo metadata [-] ... completed Publishing Distribution files [-] ... completed Publishing RPMs [==================================================] 100% 32 of 32 items ... completed Publishing Delta RPMs ... skipped Publishing Errata [==================================================] 100% 4 of 4 items ... completed Publishing Comps file [==================================================] 100% 3 of 3 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Copying files [-] ... completed Writing Listings File [-] ... completed Exporting ISO [-] ... completed Moving ISO to final location [-] ... completed Task Succeeded [root@cloud-qe-14 ~]# ls -l /tmp/ drwxr-xr-x. 3 apache apache 31 Feb 18 13:54 cds drwxr-xr-x. 3 apache apache 31 Feb 18 13:50 repos -rw-r--r--. 1 apache apache 171 Feb 18 13:54 listing [root@cloud-qe-14 ~]# [root@cloud-qe-14 ~]# pulp-admin rpm repo export run --repo-id zoo +----------------------------------------------------------------------+ Publishing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Initializing repo metadata [-] ... completed Publishing Distribution files [-] ... completed Publishing RPMs [==================================================] 100% 32 of 32 items ... completed Publishing Delta RPMs ... skipped Publishing Errata [==================================================] 100% 4 of 4 items ... completed Publishing Comps file [==================================================] 100% 3 of 3 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Copying files [-] ... completed Writing Listings File [-] ... completed Exporting ISO [-] ... completed Moving ISO to final location [-] ... completed Task Succeeded [root@cloud-qe-14 ~]# ls -l /var/lib/pulp/ content/ published/ sn.dat static/ uploads/ [root@cloud-qe-14 ~]# ls -l /var/lib/pulp/published/ total 0 drwxr-xr-x. 3 apache apache 15 Feb 17 13:31 docker drwxr-xr-x. 4 apache apache 29 Feb 17 11:26 puppet drwxr-xr-x. 5 apache apache 42 Feb 17 13:56 yum </pre>