[Pulp-list] repo sync fails using rhel5.7 iso

Pradeep Kilambi pkilambi at redhat.com
Fri Mar 2 18:20:48 UTC 2012


Is that package available in the repo? Did you do the step Dennis mentioned and link the packages? 

~ Prad 

----- Original Message -----

From: "Joel Golden" <Joel.Golden at twtelecom.com> 
To: "Pradeep Kilambi" <pkilambi at redhat.com> 
Cc: pulp-list at redhat.com 
Sent: Friday, March 2, 2012 11:03:08 AM 
Subject: RE: [Pulp-list] repo sync fails using rhel5.7 iso 


Thanks for the info but I'm still having the Cannot retrieve repository metadata (repomd.xml) for repository: anaconda-base-201107111223.x86_64 during a kickstart. 

Id ks-Red Hat Enterprise Linux Server-None-5.7-x86_64 
Description ks-Red Hat Enterprise Linux Server-None-5.7-x86_64 
Family Red Hat Enterprise Linux Server 
Variant None 
Version 5.7 
Arch x86_64 
URL http://uxspulpplv1/pulp/ks/rh5u7-base/ 
Timestamp 2011-07-11T10:23:08 

Id ks-Red Hat Enterprise Linux Server-None-5.7-x86_64 
Description ks-Red Hat Enterprise Linux Server-None-5.7-x86_64 
URL http://uxspulpplv1/pulp/ks/rh5u7-base/ 
Family Red Hat Enterprise Linux Server 
Variant None 
Version 5.7 
Arch x86_64 
Files /var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/TRANS.TBL 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/README 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/minstg2.img 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/diskboot.img 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/boot.iso 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/.treeinfo 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/stage2.img 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/pxeboot/TRANS.TBL 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/pxeboot/vmlinuz 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/pxeboot/README 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/pxeboot/initrd.img 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/xen/TRANS.TBL 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/xen/vmlinuz 
/var/lib/pulp/distributions/ks-Red Hat Enterprise Linux Server-None-5.7-x86_64/xen/initrd.img 
Timestamp 2011-07-11T10:23:08 


From: Pradeep Kilambi [mailto:pkilambi at redhat.com] 
Sent: Thursday, March 01, 2012 12:53 PM 
To: Golden, Joel 
Cc: pulp-list at redhat.com 
Subject: Re: [Pulp-list] repo sync fails using rhel5.7 iso 


Yea this turned out to be a known issue with RHEL 5 isos. This will be resolved in the upcoming U releases. I documented a workaround here, 

https://fedorahosted.org/pulp/wiki/UGFAQ#SyncingcontentonpulpfromamountedRHEL5isofailstolookuptreeinfo 

Lemme know if you have any issues, 

~ Prad 

On 02/29/2012 05:09 PM, Golden, Joel wrote: 


The .treeinfo only resides in the root directory of the .iso and there is no repodata dir in the root dir. Conundrum... 


From: Pradeep Kilambi [ mailto:pkilambi at redhat.com ] 
Sent: Wednesday, February 29, 2012 12:24 PM 
To: Golden, Joel 
Cc: pulp-list at redhat.com 
Subject: Re: [Pulp-list] repo sync fails using rhel5.7 iso 

There needs to be a .treeinfo file in the directory for us to be able to create a distribution. Usually it should be at the same level as where the repodata is. 

~ Prad 

On 02/29/2012 01:39 PM, Golden, Joel wrote: 
<blockquote>

If I point it to the Server directory that contains the repodata directory (rhel-server-5.7-x86_64-dvd.iso/Server/), then it does not create any trees and I do not get a distribution list that I can kickstart from. What am I missing? 

Joel 


From: pulp-list-bounces at redhat.com [ mailto:pulp-list-bounces at redhat.com ] On Behalf Of Pradeep Kilambi 
Sent: Wednesday, February 29, 2012 11:34 AM 
To: pulp-list at redhat.com 
Subject: Re: [Pulp-list] repo sync fails using rhel5.7 iso 

Make sure your file path is pointing to the dir where repodata is found. Error indicates that there is no repodata dir under /var/tmp/rh5u7-base/ . 

~ Prad 

On 02/29/2012 12:31 PM, Golden, Joel wrote: 
<blockquote>

I've banged my head on this for a few days now and have thrown in the towel. From a rhel6 box running pulp 254-8 I'm getting the following error when attempting to sync a repo using the rhel5.7 iso or a folder that is a copy of the iso. I can sync it from the copy if I run a create repo from the base directory but run into a "Cannot retrieve metadata (repomd.xml)" error during the ks build. 

pulp-admin repo create --id rh5u7-base --feed file:///var/tmp/rh5u7-base/ --arch x86_64 

Error when attempting to sync: 
error: RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: /tmp/temp_pulp_repoH3jzwl. Please verify its path and try again 

Best Regards, 
Joel Golden, RHCE 

------------- 
The content contained in this electronic message is not intended to constitute formation of a contract binding tw telecom . tw telecom will be contractually bound only upon execution, by an authorized officer, of a contract including agreed terms and conditions or by express application of its tariffs. This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail or by telephone. 



_______________________________________________
Pulp-list mailing list Pulp-list at redhat.com https://www.redhat.com/mailman/listinfo/pulp-list 




</blockquote>



</blockquote>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20120302/af8bee4b/attachment.htm>


More information about the Pulp-list mailing list