Bug 803944 - RHEL5 synced pulp content uninstallable
Summary: RHEL5 synced pulp content uninstallable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Infrastructure
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Dennis Gregorovic
QA Contact: Og Maciel
URL:
Whiteboard:
: 826398 (view as bug list)
Depends On:
Blocks: 805925
TreeView+ depends on / blocked
 
Reported: 2012-03-16 03:54 UTC by James Laska
Modified: 2019-09-26 15:54 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 805925 (view as bug list)
Environment:
Last Closed: 2012-08-22 18:31:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
katello-debug-20120316044040.tar.gz (1.42 MB, application/x-gzip)
2012-03-16 03:54 UTC, James Laska
no flags Details

Description James Laska 2012-03-16 03:54:58 UTC
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.

Comment 7 James Laska 2012-03-20 17:42:56 UTC
Still failing to install RHEL5 images with using cdn.rcm-qa.redhat.com synced as of this morning.

Comment 11 James Laska 2012-03-22 13:14:16 UTC
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 13 Garik Khachikyan 2012-03-22 13:35:31 UTC
# 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.

Comment 14 James Laska 2012-03-22 14:25:08 UTC
re-ack'ing, not sure why the ack was cleared

Comment 15 James Laska 2012-03-23 11:31:09 UTC
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

Comment 16 Og Maciel 2012-04-18 18:18:13 UTC
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

Comment 18 Adam Jackson 2013-01-22 20:17:53 UTC
*** Bug 826398 has been marked as a duplicate of this bug. ***

Comment 19 Mike McCune 2013-08-16 17:57:14 UTC
getting rid of 6.0.0 version since that doesn't exist


Note You need to log in before you can comment on or make changes to this bug.