[katello-devel] How can I sync non-RPM a Fedora17 repository?

Lukas Zapletal lzap at redhat.com
Thu Sep 13 09:13:16 UTC 2012


Ok I reproduced the bug and filled a report. We need a fix in the pulp.

https://bugzilla.redhat.com/show_bug.cgi?id=856970

Thanks for the report.

LZ

On Wed, Sep 12, 2012 at 02:10:04PM -0300, Marcelo Moreira de Mello wrote:
> On 09/12/2012 04:10 AM, Lukas Zapletal wrote:
> > Katello (and Pulp) does sync those files. According to your treeinfo
> > file:
> >
> > http://fedora.c3sl.ufpr.br/linux/releases/17/Fedora/x86_64/os/.treeinfo
> >
> > those files should be synced. Are you sure repository was already synced
> > when you started provisioning?
> >
> > Check /var/log/pulp/grinder.log and look for errors. Also try to find
> > "vmlinuz" there. Was it synced? What time?
> > To check if your distribution is there please do this:
> >
> > # pulp-admin auth login --username admin --password \
> >   $(grep '^default_password' /etc/pulp/pulp.conf | awk '{print $2}')
> > # pulp-admin distribution list
> 
>   Hello Lukas,
>  
>     Thank your for your message.
>    
>     Yes, the repository is synced. Looking the /var/log/pulp/grinder.log
> we can see that repo were synced but did not downloaded the content from
> LiveOS directory.
> 
> 
> 2012-09-12 13:57:41,924 1057:140117452773120: grinder.DistroInfo:INFO:
> DistroInfo:128 creating symlink from
> [/var/lib/pulp/distributions/ks-Fedora-Fedora-17-x86_64/.treeinfo] to
> [/var/lib/pulp//repos/myORG/Library/custom/Fedora17-x86_64/fedora17_ufpr/.treeinfo]
> 2012-09-12 13:57:41,993 1057:140117452773120:
> grinder.ParallelFetch:INFO: ParallelFetch:192 3355 items are marked to
> be fetched
> 
>  [ ... SNIP ... ]
> 
> 012-09-12 14:01:01,165 1057:140117452773120: grinder.ParallelFetch:INFO:
> ParallelFetch:234 All threads have finished.
> 2012-09-12 14:01:01,187 1057:140117452773120:
> grinder.ParallelFetch:INFO: ParallelFetch:253 ParallelFetch: 3355 items
> successfully processed, 0 downloaded, 0 items had errors
> 2012-09-12 14:01:01,188 1057:140117452773120:
> grinder.ParallelFetch:INFO: ParallelFetch:258 Transferred [0] bytes of
> [tree_file]
> 2012-09-12 14:01:01,188 1057:140117452773120:
> grinder.ParallelFetch:INFO: ParallelFetch:258 Transferred [3645189352]
> bytes of [rpm]
> 2012-09-12 14:01:01,188 1057:140117452773120:
> grinder.ParallelFetch:INFO: ParallelFetch:259 Transferred [3645189352]
> total bytes in 217.544039965 seconds
> 2012-09-12 14:01:01,189 1057:140117452773120: grinder.RepoFetch:INFO:
> RepoFetch:246 Finalizing metadata, moving
> /var/lib/pulp//repos/myORG/Library/custom/Fedora17-x86_64/fedora17_ufpr//repodata.new
> to
> /var/lib/pulp//repos/myORG/Library/custom/Fedora17-x86_64/fedora17_ufpr//repodata
> 2012-09-12 14:01:01,335 1057:140117452773120: grinder.RepoFetch:INFO:
> RepoFetch:182 Cleaning any orphaned packages..
> 
>      Looking the files, the squash.img were not downloaded.
> 
> [root at katello distributions]# tree -ug
> /var/lib/pulp/distributions/ks-Fedora-Fedora-17-x86_64/
> /var/lib/pulp/distributions/ks-Fedora-Fedora-17-x86_64/
> |-- [apache   apache  ]  boot.iso
> |-- [apache   apache  ]  efiboot.img
> |-- [apache   apache  ]  initrd.img
> |-- [apache   apache  ]  macboot.img
> |-- [apache   apache  ]  pxeboot
> |   |-- [apache   apache  ]  initrd.img
> |   `-- [apache   apache  ]  vmlinuz
> |-- [apache   apache  ]  repomd.xml
> `-- [apache   apache  ]  vmlinuz
> 
> 1 directory, 8 files
> 
> [root at katello ~]# pulp-admin distribution list
> +------------------------------------------+
>        List of Available Distributions
> +------------------------------------------+
> 
> Id                        ks-Fedora-Fedora-17-x86_64
> Description               ks-Fedora-Fedora-17-x86_64
> Family                    Fedora                  
> Variant                   Fedora                  
> Version                   17                      
> Arch                      x86_64                  
> URL                      
> http://katello.mmello.home/pulp/ks/myORG/Library/custom/Fedora17-x86_64/fedora17_ufpr/
>                         
> http://katello.mmello.home/pulp/ks/myORG/DEVEL/custom/Fedora17-x86_64/fedora17_ufpr/
>                         
> http://katello.mmello.home/pulp/ks/myORG/QA/custom/Fedora17-x86_64/fedora17_ufpr/
> Timestamp                 2012-05-22T17:55:30     
> 
> 
> Id                        ks-Fedora-Fedora-16-x86_64
> Description               ks-Fedora-Fedora-16-x86_64
> Family                    Fedora                  
> Variant                   Fedora                  
> Version                   16                      
> Arch                      x86_64                  
> URL                      
> http://katello.mmello.home/pulp/ks/myORG/Library/custom/Fedora16-x86_64/f16-golden-x86_64/
>                         
> http://katello.mmello.home/pulp/ks/myORG/DEVEL/custom/Fedora16-x86_64/f16-golden-x86_64/
> Timestamp                 2011-11-03T01:10:12 
> 
> 
>    Am I missing something?
>   
>  Thank you.
>  
> Best,
> mmello
> 
> -- 
> Marcelo Moreira de Mello
> RHCA RHCSS RHCVA 
> Senior Software Maintenance Engineer/SEG           
> 
> gpg id: 2048R/FDB110E5
> gpg fingerprint: 3BE7 EF71 4DD7 6812 D309  8F18 BD42 D095 FDB1 10E5
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel

-- 
Later,

 Lukas "lzap" Zapletal
 #katello #systemengine




More information about the katello-devel mailing list