Hide Forgot
I exported a synced repo of the candlepin repo: $ pulp-admin repo export --id candlepin-x86_64 -t /tmp/candlepin --overwrite --generate-isos I specified --generate-isos, but it did not generate any isos. [slagle@veeone ~]$ find /tmp/candlepin/ /tmp/candlepin/ /tmp/candlepin/candlepin-0.5.17-1.el6.noarch.rpm /tmp/candlepin/candlepin-tomcat6-0.5.17-1.el6.noarch.rpm /tmp/candlepin/candlepin-jboss-0.5.17-1.el6.noarch.rpm /tmp/candlepin/isos /tmp/candlepin/candlepin-deps-0.0.21-1.el6.noarch.rpm /tmp/candlepin/repodata /tmp/candlepin/repodata/repomd.xml /tmp/candlepin/repodata/primary.sqlite.bz2 /tmp/candlepin/repodata/other.xml.gz /tmp/candlepin/repodata/filelists.sqlite.bz2 /tmp/candlepin/repodata/primary.xml.gz /tmp/candlepin/repodata/filelists.xml.gz /tmp/candlepin/repodata/other.sqlite.bz2 /tmp/candlepin/candlepin-tomcat6-0.5.8-1.el6.noarch.rpm /tmp/candlepin/candlepin-selinux-0.5.17-1.el6.noarch.rpm /tmp/candlepin/candlepin-devel-0.5.8-1.el6.noarch.rpm /tmp/candlepin/candlepin-devel-0.5.17-1.el6.noarch.rpm /tmp/candlepin/candlepin-jboss-0.5.8-1.el6.noarch.rpm /tmp/candlepin/candlepin-0.5.8-1.el6.noarch.rpm Does it only generate isos if the repo has isos? The help text makes it sound like it will always generate isos: [slagle@veeone ~]$ pulp-admin repo export -h Usage: pulp-admin <options> repo export <options> Options: -h, --help show this help message and exit --id=ID repository id -g GROUPID, --groupid=GROUPID repository group id to export a group of repos -t TARGET, --target_dir=TARGET target location on server to write the exported content --generate-isos wrap exported content into iso images (optional) --overwrite overwrite existing content in target location (optional) -F, --foreground export repository in the foreground --status exporter status for given repository (optional)
are you sure you have mkisofs installed? I just did this from master and i see the isos generated [pkilambi@localhost ~]$ pulp-admin repo export --id=testrepo2 -t /tmp/testrepo --overwrite --generate-isos Export on repository testrepo2 started Use "repo export --status" to check on the progress [pkilambi@localhost ~]$ pulp-admin repo export --id=testrepo2 -t /tmp/testrepo --overwrite --generate-isos --status +------------------------------------------+ Status for testrepo2 +------------------------------------------+ Step: Finished (/) RPMs: 7/7 Errata: 1/1 [pkilambi@localhost ~]$ ls -l /tmp/testrepo/ total 3128 -rw-r--r-- 1 apache apache 4361 Feb 14 09:02 animaniacs-0.1-1.noarch.rpm -rw-r--r-- 1 apache apache 4375 Feb 14 09:02 emoticons-0.1-2.noarch.rpm -rw-r--r-- 1 apache apache 1050973 Feb 14 09:02 feedless-1.0-1.noarch.rpm drwxr-xr-x 2 apache apache 4096 Feb 14 09:02 isos -rw-r--r-- 1 apache apache 1050959 Feb 14 09:02 origin-1.0-1.noarch.rpm -rw-r--r-- 1 apache apache 1050959 Feb 14 09:02 parent-1.0-1.noarch.rpm -rw-r--r-- 1 apache apache 4863 Feb 14 09:02 patb-0.1-2.noarch.rpm drwxr-xr-x 2 apache apache 4096 Feb 14 09:02 repodata -rw-r--r-- 1 apache apache 768 Feb 14 09:02 updateinfo.xml -rw-r--r-- 1 apache apache 4347 Feb 14 09:02 warnerbros-0.1-1.noarch.rpm [pkilambi@localhost ~]$ ls -l /tmp/testrepo/isos/ total 3500 -rw-r--r-- 1 apache apache 3581952 Feb 14 09:02 pulp-testrepo2-20120214-01.iso
I don't have it installed. We don't tell you to install it. Should probably add this requirement to the user guide and help text.
It was in our pulp.spec file, I guess it got dropped at some point when we were cleaning up the spec file assuming it wasnt used. We just need to add genisoimage dependency to our spec file and we should be ok.
commit 6b6f735c0f826f775d571cacec21df16328d74e9 Added a dependency to pull in mkisofs/genisoimage on EL6: $ rpm -qRp /tmp/tito/noarch/pulp-0.0.266-1.git.19.79e5ba4.el6.noarch.rpm |grep genisoimage genisoimage on EL5: $ rpm -qRp /usr/src/redhat/RPMS/noarch/pulp-0.0.266-1.git.19.eaa7fc9.noarch.rpm | grep mkisofs mkisofs on F16: $ rpm -qRp /tmp/tito/noarch/pulp-0.0.266-1.git.19.6b6f735.fc16.noarch.rpm |grep genisoimage genisoimage
build: 0.267
verified [root@preethi-el6-pulp ~]# pulp-admin repo export --id pulp -t /tmp/pulp --overwrite --generate-isos Export on repository pulp started Use "repo export --status" to check on the progress [root@preethi-el6-pulp ~]# pulp-admin repo export --status error: Error: repo id is required to check status of export [root@preethi-el6-pulp ~]# [root@preethi-el6-pulp ~]# pulp-admin repo export --status --id=pulp +------------------------------------------+ Status for pulp +------------------------------------------+ Step: Finished (/) RPMs: 20/20 [root@preethi-el6-pulp ~]# ls /tmp/pulp/ gofer-0.65-1.el6.noarch.rpm gofer-package-0.65-1.el6.noarch.rpm grinder-0.0.136-1.el6.noarch.rpm isos m2crypto-0.21.1.pulp-7.el6.x86_64.rpm m2crypto-debuginfo-0.21.1.pulp-7.el6.x86_64.rpm mod_wsgi-3.3-3.pulp.el6.x86_64.rpm mod_wsgi-debuginfo-3.3-3.pulp.el6.x86_64.rpm pulp-0.0.267-1.el6.noarch.rpm pulp-admin-0.0.267-1.el6.noarch.rpm pulp-cds-0.0.267-1.el6.noarch.rpm pulp-client-lib-0.0.267-1.el6.noarch.rpm pulp-common-0.0.267-1.el6.noarch.rpm pulp-consumer-0.0.267-1.el6.noarch.rpm pulp-selinux-server-0.0.267-1.el6.noarch.rpm python-gofer-0.65-1.el6.noarch.rpm python-isodate-0.4.4-4.pulp.el6.noarch.rpm python-oauth2-1.5.170-2.pulp.el6.noarch.rpm python-qpid-0.7.946106-1.el6.noarch.rpm python-rhsm-0.96.4-1.el6.noarch.rpm python-webpy-0.32-8.el6.noarch.rpm repodata [root@preethi-el6-pulp ~]# ls /tmp/pulp/isos/ pulp-pulp-20120221-01.iso [root@preethi-el6-pulp ~]#
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.