Created attachment 570484 [details] katello-debug-20120316044040.tar.gz Description of problem: In CloudForms, when exporting a RHEL5 system template, any image build attempts fail due to the RHEL5 installation directory layout created by pulp. The CloudForms image builds timeout due to referencing a URL that doesn't exist on the pulp server: > 03:22:18 INFO : package paths is {'base': ['http://flatline-katello.usersys.redhat.com/pulp/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os//Server']} > 03:22:18 ERROR : reading package metadata: Cannot retrieve repository metadata (repomd.xml) for repository: anaconda-base-201202021136.x86_64. Please verify its path and try again Note the 'base' installation URL above. This is a typical installation URL for RHEL5 installations. Unfortunately, pulp does not seem to have the 'Server/' directory available on disk (only the 'Packages/' directory). Version-Release number of selected component (if applicable): * candlepin-0.5.24-1.el6.src.rpm * katello-0.1.303-1.el6.src.rpm * katello-candlepin-cert-key-pair-1.0-1.src.rpm * katello-certs-tools-1.0.4-1.el6.src.rpm * katello-cli-0.1.102-1.el6.src.rpm * katello-configure-0.1.104-1.el6.src.rpm * katello-qpid-broker-key-pair-1.0-1.src.rpm * katello-qpid-client-key-pair-1.0-1.src.rpm * katello-selinux-0.1.8-1.el6.src.rpm * pulp-1.0.0-4.el6.src.rpm How reproducible: * Every RHEL5 install attempt Steps to Reproduce: 1. Import official Red Hat provider MANIFEST 2. Enable and sync RHEL 5Server 3. Generate system template using 5Server 4. Promote all content 5. Observe pulp installation directory contents Actual results: # ls -ltd /var/www/pub/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os/* drwxr-xr-x. 2 apache apache 4096 Mar 16 04:31 /var/www/pub/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os/repodata -rw-r--r--. 1 apache apache 9371717 Mar 14 13:28 /var/www/pub/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os/updateinfo.xml drwxr-xr-x. 3 apache apache 4096 Mar 14 12:42 /var/www/pub/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os/images lrwxrwxrwx. 1 apache apache 106 Mar 14 12:42 /var/www/pub/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os/treeinfo -> ../../../../../../../../../../../distributions/ks-Red Hat Enterprise Linux Server-None-5.8-x86_64/treeinfo drwxr-xr-x. 2 apache apache 4096 Mar 14 12:42 /var/www/pub/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os/drpms drwxr-xr-x. 2 apache apache 1241088 Mar 14 12:42 /var/www/pub/ks/redhat/Stage/content/dist/rhel/server/5/5Server/x86_64/os/Packages Expected results: $ ls -ltd /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/* | grep -v "\(RELEASE\|README\)" drwxr-xr-x. 3 root root 315392 Mar 3 10:27 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/Server/ drwxr-xr-x. 3 root root 8192 Mar 3 10:27 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/ClusterStorage/ drwxr-xr-x. 3 root root 8192 Mar 3 10:27 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/VT/ drwxr-xr-x. 3 root root 4096 Mar 3 10:25 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/Cluster/ drwxr-xr-x. 2 root root 4096 Feb 2 11:38 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/isolinux/ drwxr-xr-x. 4 root root 4096 Feb 2 11:38 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/images/ -rw-r--r--. 1 root root 8445 Jan 24 04:20 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/eula.en_US -rw-r--r--. 1 root root 1706 Jan 24 04:20 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/RPM-GPG-KEY-redhat-beta -rw-r--r--. 1 root root 1164 Jan 24 04:20 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/RPM-GPG-KEY-redhat-release -rw-r--r--. 1 root root 8445 Sep 2 2008 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/EULA -rw-r--r--. 1 root root 18416 Nov 30 2006 /mnt/redhat/released/RHEL-5-Server/U8/x86_64/os/GPL Additional info: * The CDN url for this content is http://cdn.rcm-qa.redhat.com/content/dist/rhel/server/5/5Server/x86_64/os/ It contains *both* Packages/ and Server/ directories.
Still failing to install RHEL5 images with using cdn.rcm-qa.redhat.com synced as of this morning.
This bug is intended to track changes to CDN. I'm cloning a new bug to track potential pulp code changes. Reassigning this bug to dgregor.
# COMMENT Well, on recent CFSE Beta5 using live CDS I was able to sync RHEL 5u8 content, prepare template and promoting to the Development environment, make an TDL export file from that. But CE team still fails to prepare an image from that and check the E2E cycle there.
re-ack'ing, not sure why the ack was cleared
Assigning to dgregor. This bug is tracking any RHEL5 CDN changes related to RHEL5 repodata/ structure. bug#805925 is tracking pulp changes to accommodate the RHEL5 CDN layout
Verified: * candlepin-0.5.26-1.el6.noarch * candlepin-tomcat6-0.5.26-1.el6.noarch * katello-0.1.309-1.el6.noarch * katello-all-0.1.309-1.el6.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.0.4-1.el6.noarch * katello-cli-0.1.107-1.el6.noarch * katello-cli-common-0.1.107-1.el6.noarch * katello-common-0.1.309-1.el6.noarch * katello-configure-0.1.107-1.el6.noarch * katello-glue-candlepin-0.1.309-1.el6.noarch * katello-glue-foreman-0.1.309-1.el6.noarch * katello-glue-pulp-0.1.309-1.el6.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-0.1.10-1.el6.noarch * pulp-1.0.4-1.el6.noarch * pulp-common-1.0.4-1.el6.noarch * pulp-selinux-server-1.0.4-1.el6.noarch
*** Bug 826398 has been marked as a duplicate of this bug. ***
getting rid of 6.0.0 version since that doesn't exist