Bug 868406

Summary: Unable to sync CloudForms Tools repos from cdn.redhat.com
Product: Red Hat Satellite Reporter: James Laska <jlaska>
Component: Content ManagementAssignee: Ivan Necas <inecas>
Status: CLOSED NOTABUG QA Contact: Og Maciel <omaciel>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: dgregor, inecas, jturner, mmccune, omaciel, pgambard
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-23 13:27:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
katello-debug-20121019140948.tar.gz none

Description James Laska 2012-10-19 18:20:56 UTC
Created attachment 630203 [details]
katello-debug-20121019140948.tar.gz

Description of problem:

Using a recently generated access.redhat.com manifest (Oct 8) [1], I am unable to sync CloudForms Tools repositories.

The manifest appears to includes the following cf-tools URLs:
> /content/dist/rhel/server/6/$releasever/$basearch/cf-tools/1/source/SRPMS
> /content/dist/rhel/server/5/$releasever/$basearch/cf-tools/1/os
> /content/dist/rhel/server/6/$releasever/$basearch/cf-tools/1/os
> /content/dist/rhel/server/6/$releasever/$basearch/cf-tools/1/debug
> /content/beta/rhel/server/6/$releasever/$basearch/cf-tools/1/os
> /content/beta/rhel/server/6/$releasever/$basearch/cf-tools/1/debug
> /content/dist/rhel/server/5/$releasever/$basearch/cf-tools/1/source/SRPMS
> /content/beta/rhel/server/5/$releasever/$basearch/cf-tools/1/source/SRPMS
> /content/beta/rhel/server/5/$releasever/$basearch/cf-tools/1/os
> /content/beta/rhel/server/6/$releasever/$basearch/cf-tools/1/source/SRPMS

However, after importing the manifest, and enabling cf-tools repos, katello reports a different URL:

> # for ID in 430 426 388 383 54 51 293 290 ; do katello -u Administrator -p 'Redhat@1234' repo info --id $ID --environment Library | grep cdn\.redhat ; done
> Url:           https://cdn.redhat.com/content/beta/rhel/server/5/5Server/i386/cf-tools/1.0/os
> Url:           https://cdn.redhat.com/content/beta/rhel/server/5/5Server/x86_64/cf-tools/1.0/os
> Url:           https://cdn.redhat.com/content/dist/rhel/server/5/5Server/i386/cf-tools/1.0/os
> Url:           https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/cf-tools/1.0/os
> Url:           https://cdn.redhat.com/content/beta/rhel/server/6/6Server/i386/cf-tools/1.0/os
> Url:           https://cdn.redhat.com/content/beta/rhel/server/6/6Server/x86_64/cf-tools/1.0/os
> Url:           https://cdn.redhat.com/content/dist/rhel/server/6/6Server/i386/cf-tools/1.0/os
> Url:           https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/cf-tools/1.0/os

And those repos fail to sync

> 2012-10-19 13:02:57,829 28551:140631760422656: grinder.YumInfo:ERROR: activeobject:162 Caught exception when trying to fetch repomd.xml from [https://cdn.redhat.com/content/beta/rhel/server/5/5Server/x86_64/cf-tools/1.0/os]: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again
> 2012-10-19 13:03:03,211 28551:140631739442944: grinder.YumInfo:ERROR: activeobject:162 Caught exception when trying to fetch repomd.xml from [https://cdn.redhat.com/content/dist/rhel/server/5/5Server/x86_64/cf-tools/1.0/os]: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again
> 2012-10-19 13:03:03,587 28551:140631749932800: grinder.YumInfo:ERROR: activeobject:162 Caught exception when trying to fetch repomd.xml from [https://cdn.redhat.com/content/beta/rhel/server/6/6Server/i386/cf-tools/1.0/os]: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again
> 2012-10-19 13:03:08,031 28551:140631760422656: grinder.YumInfo:ERROR: activeobject:162 Caught exception when trying to fetch repomd.xml from [https://cdn.redhat.com/content/dist/rhel/server/6/6Server/i386/cf-tools/1.0/os]: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again
> 2012-10-19 13:04:28,052 28551:140631739442944: grinder.YumInfo:ERROR: activeobject:162 Caught exception when trying to fetch repomd.xml from [https://cdn.redhat.com/content/beta/rhel/server/6/6Server/x86_64/cf-tools/1.0/os]: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again
> 2012-10-19 13:04:33,165 28551:140631749932800: grinder.YumInfo:ERROR: activeobject:162 Caught exception when trying to fetch repomd.xml from [https://cdn.redhat.com/content/dist/rhel/server/6/6Server/x86_64/cf-tools/1.0/os]: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again
> 

Version-Release number of selected component (if applicable):
 * candlepin-0.7.8.1-1.el6cf.src.rpm
 * katello-1.1.12-16.el6cf.src.rpm
 * katello-candlepin-cert-key-pair-1.0-1.src.rpm
 * katello-certs-tools-1.1.8-1.el6cf.src.rpm
 * katello-cli-1.1.8-7.el6cf.src.rpm
 * katello-configure-1.1.9-7.el6cf.src.rpm
 * katello-qpid-broker-key-pair-1.0-1.src.rpm
 * katello-qpid-client-key-pair-1.0-1.src.rpm
 * katello-selinux-1.1.1-1.el6cf.src.rpm
 * pulp-1.1.13-1.el6cf.src.rpm


How reproducible:


Steps to Reproduce:
1. Install CFSE
2. katello-configure
3. Import manifest http://file.rdu.redhat.com/~jlaska/manifests_access.zip
4. Enable cf-tools repos for 5Server and 6Server (i386 and x86_64)
5. Attempt to sync
  
Actual results:

> Sync fails

Expected results:

> Sync shouldn't fail

Additional info:

 * See attached tarball - katello-debug-20121019140948.tar.gz
 * I'm requesting blocker status as this issue appears to prevent consuming cf-tools repo content using production systems and data.  I'm not clear what the problem is, but I wanted to get the process started.

Comment 6 James Laska 2012-10-23 13:27:24 UTC
I'm not able to reproduce this issue using a newly generated manifest.  Everything seems fine now.  Thanks for the tip dgregor.

I'm closing this issue as: CLOSED NOTABUG

Comment 7 Mike McCune 2013-08-16 17:53:28 UTC
getting rid of 6.0.0 version since that doesn't exist